|
xpre – XCICS translator |
|
|
XCICS supports a large part of the original IBM’s CICS Command Level services. Interfaces of user programs remain unchanged and programs using CICS, when migrated to UNIX/Linux or Windows, need only to be recompiled in the new environment. Program compiling is performed through the following steps:
The XCICS precompiler processes programs originally written in COBOL, PL/1 or C-language translates the EXEC CICS instructions coded in user programs into a language code that is compatible with the compiler and provides initialization for service functions. The output of the precompilaton step consists of an intermediate source program that will be compiled with appropriate compiler, producing the final object module. Syntax xpre [options] <source> Options
Variables to be set are : XPREHOME=$XFRAMEHOME/xpre PATH=$PATH:$XPREHOME xpre returns 0 upon a successful work, even if warning have been found. A negative value is returned if one or more errors have been found. Messages are logged both on standard error and output file. No listing file is generated as the produced COBOL output contains remarked:
Precompiler Messages PROCEDURE DIVISION USING found PROCEDURE DIVISION USING has been found. This is not normal for an XCICS program: a warning is issued. no linkage section found: forcing source code does not contains LINKAGE section. Xprecob forces it. unsupported/wrong command xprecob does not support/recognize the specified EXEC CICS command. unsupported/wrong option(s) xprecob does not support/recognize the specified EXEC CICS option. command ignored xprecob is ignoring the specified command: no code is generated for the specified EXEC CICS. parameter ignored specified parameter has no meaning for xprecob. option required specified option is required for the command syntax error xprecob does not recognize the format of specified EXEC CICS command. Requires specified command require specified options no host defined A literal is supplied as parameter in EXEC CICS while a working storage field is required. requires user data specified options requires user data |