Preprocessing
Preprocessing performs the following steps:
- Sets compiler options as necessary.
- Invokes the compiler and compiles your program to produce a compiler listing.
- Invokes the postprocessor, discussed in the following section.
We recommend running the preprocessor rather than exclusively running the postprocessor. The preprocessor sets compiler options before invoking the compiler. This ensures that the compiler listing (and the resulting source listing report) contains all required information. Exclusively running the postprocessor forces CSS to use an existing compiler listing that may not contain all required information.
You can run the preprocessor in either of two ways:
- using sample JCL provided with BMC AMI Common Shared Services
- using CSS Utilities
Running the Preprocessor Using Sample JCL
To run the preprocessor using sample JCL provided with CSS, see the Language Processor section appropriate for your language:
Running the Preprocessor Using CSS Utilities
To use CSS Utilities to run the preprocessor, complete the following steps:
Select CREATEJCL from the CSS Utilities - Primary Menu. The following CSS Utilities - CREATEJCL Menu is displayed. CSS Utilities - CREATEJCL Menu
----------- BMC AMI CSS UTILITIES ---- Create JCL Menu ----- V17.02
OPTION ===>
Preprocessor
1 Convert existing compile JCL to use LP
2 Create compile JCL to use LP
Postprocessor
3 Create JCL to use LP
LP Learn about language Processor
SE General Settings
DD Learn about DDIO files
SD Learn about BMC AMI Common Shared Directory and Database files
Enter END command to terminate- If you would like to convert your existing compile JCL to compile with the Language Processor, then select option 1.
- If you would like to create JCL to compile with the Language Processor, then select Option2-create-compile-JCL-to-use-LP.