

Commands (YPOPWSIPDD - Y2CALL) › YSBMMDLCRT (Submit Create Requests from Model) Command › Notes › Compilation of Source Into an Object
Compilation of Source Into an Object
Source members will be processed in the correct order for compilation:
- Field reference physical file
- Physical files
- Logical files
- Display files
- Programs
Each compilation will be submitted as a separate job. The compilations can be submitted in two ways:
- SBMCRTOPT(*GENOK)—The job which generates the source will submit the jobs to compile the generated objects, provided the generation is successful. The submitting of the compilations is thus a batch process.
- SBMCRTOPT(*IMMED)—The job which submits the source generation will also submit the compilations. Thus, the submitting of compilations will usually be interactive. Compilations for objects requiring source generation will be submitted as held jobs. If an error occurs when generating a source member, the corresponding compilation job will be canceled by the source generation job. If a compilation is canceled, this is recorded as an error on the job list.
Completion messages are returned to the message queue specified by the MSGQ parameter.
All the elements of a function or an access path (QRY access paths only) must be generated successfully before compilation is attempted. Thus, if any part fails to generate, no part will be submitted for compilation if SBMCRTOPT (*GENOK), or the compilations for all parts will be canceled if SBMCRTOPT(*IMMED).
If CRTJOBD(*NONE) is specified, no objects will be deleted, and no compilations will be submitted.
Copyright © 2014 CA.
All rights reserved.
 
|
|