What u mean by include statement in JCL ?
Answers were Sorted based on User's Feedback
Answer / guest
An include statement identifies a member of a pds or pdse
that contains. This set of JCL statements is called an
include group. The system replaces the include statement
with the statements in the include group.
| Is This Answer Correct ? | 32 Yes | 4 No |
Answer / arnab gupta
INCLUDE Statement
A set of JCL statements coded within a member of a PDS can be included to a JCL using an INCLUDE statement. When the JES interprets the JCL, the set of JCL statements within the INCLUDE member replaces the INCLUDE statement.
Syntax
Following is the basic syntax of a JCL INCLUDE statement:
//name INCLUDE MEMBER=member-name
The main purpose of INCLUDE statement is reusability. For example, common files to be used across many JCLs can be coded as DD statements within INCLUDE member and used in a JCL.
Dummy DD statements, data card specifications, PROCs, JOB, PROC statements cannot be coded within an INCLUDE member. An INLCUDE statement can be coded within an INCLUDE member and further nesting can be done up to 15 levels.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sathya
include is use to extract the selected fields from input
dataset and copy to ouput dataset using sort utility.
//SORTTA EXEC
PGM=SORT
//SYSIN DD
*
SORT FIELDS=COPY
INCLUDE COND=
(52,9,CH,EQ,Cā123456789ā)
/*
//SORTIN DD DSN=ā¦,DISP=SHR
//SORTOUT DD DSN=ā¦
//SYSOUT DD
SYSOUT=*
//
The INCLUDE control statement is used to establish
Selection criteria for the records to be included in the
Output dataset.
| Is This Answer Correct ? | 19 Yes | 19 No |
I have a JCL with 100 steps. I want run the Alternate steps in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this scenario? If It is by Cond Parameter can you provide the Condition code for that?
5 Answers Polaris, Tech Mahindra, UST, Wipro,
What is the differentiation between TRK,cyl, and Bytes... how they can be connected??
Can a temporary dataset be converted to permanent dataset and vice-versa in the middle of a job ?
wht do u mean by inrec and outrec ?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?
how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.
What are the valid DSORG values ?
Explain the purpose of dd * statement in jcl?
What are the utility programs in jcl?
Explain dfsort utility?
can anyone explain me about sort in jcl with inrec and outrec ?