Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Determining the source JCL for the started task z/OS MVS JCL Reference SA23-1385-00 |
|
If you decide to use a started task, you must then determine what the source JCL will be and where the JCL will be located. The source JCL can be a JOB (located in a member of a data set defined in the IEFJOBS or IEFPDSI concatenation of master JCL) or a procedure (located in a subsystem procedure library, for example, SYS1.PROCLIB). In the latter case, the system will process only the JCL associated with the first JOB statement in the procedure; it will bypass the second and subsequent jobs. For information about master JCL considerations to support started tasks, see z/OS MVS Initialization and Tuning Referencez/OS MVS Initialization and Tuning Reference. Before determining whether you will use a job or a procedure as source JCL for a given started task, you need to understand the advantages of each. After you have identified whether the source JCL will be a job or a procedure, then determine the system services that the started task will require. (See Determining system services for a started task.) In most cases, you will use a procedure unless you need greater control of your started task. For example, EREP formats the logrec data set information; you may not need to change the way this currently works. The best candidates for procedures are started tasks that require minimal maintenance. The major advantage of using a job as the source JCL for a started
task is the control provided over certain aspects of the started task,
such as:
Started tasks are initiated by the START command which identifies the member that contains the source JCL for the task. (See z/OS MVS System Commands for information on the START command.) START command processing when the member is a procedure and START command processing when the member is a job describe how the system processes the START command (depending on whether the source JCL is a job or a procedure) and the JCL that results. Note the following restriction: If you are running a started task
you cannot override the PARM= parameter on the START command. However,
you can circumvent this restriction as follows:
|
Copyright IBM Corporation 1990, 2014
|