The next example illustrates the use of the INCLUDE statement. Assume that the data dictionary includes the modules SYSDPT01 version 2 and TSKDPT01 version 1, which contain the following system generation statements:
SYSDPT01 version 2:
DEFAULT TEMPORARY PROGRAM
LANGUAGE IS ASSEMBLER
NOSAVEAREA.
PROGRAM TEST6.
PROGRAM TEST7.
TSKDPT01 version 1:
TASK TTASK6 INVOKES PROGRAM TEST6 INPUT.
TASK TTASK7 INVOKES PROGRAM TEST7 NOINPUT.
When the following statements are submitted to the system generation compiler, system 5 is modified to include the programs defined in module SYSDPT01 version 2, the tasks defined in module TSKDPT01 version 1, and the queue TESTQ as defined in the QUEUE statement:
MODIFY SYSTEM 5. INCLUDE MODULE SYSDPT01 VERSION 2. INCLUDE TSKDPT01. QUEUE TESTQ INVOKES TASK TTASK7 THRESHOLD 5.
|
Copyright © 2014 CA.
All rights reserved.
|
|