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 |
can a job be submitted through jcl only? is there another way to submit a job?
Hi Guyz, My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility. If any other way, plz answer. Thanks.
9 Answers iGate, Lehman Brothers,
how to compress the data set
When we give TYPERUN = SCAN , what are the syntax errors we get?
What is the use of symbol // in jcl?
lines(1,cancel)??What is meant by that??Plz explain it....
What do you understand by the term notcat 2 – gs?
What is the difference between primary and secondary allocations for a dataset?
Explain about LMOPEN -
do we need to mention the location of catalogued procedure for each it's call in a single job?
write a jcl to execute a job by 7:00 am on jan 20,1986?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one