What u mean by include statement in JCL ?

Answers were Sorted based on User's Feedback



What u mean by include statement in JCL ?..

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

What u mean by include statement in JCL ?..

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

What u mean by include statement in JCL ?..

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

Post New Answer

More JCL Interview Questions

can a job be submitted through jcl only? is there another way to submit a job?

2 Answers   CSC,


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

8 Answers   Keane India Ltd,


When we give TYPERUN = SCAN , what are the syntax errors we get?

5 Answers   Kanbay,


What is the use of symbol // in jcl?

0 Answers  






lines(1,cancel)??What is meant by that??Plz explain it....

1 Answers   IBM,


What do you understand by the term notcat 2 – gs?

0 Answers  


What is the difference between primary and secondary allocations for a dataset?

8 Answers  


Explain about LMOPEN -

1 Answers  


do we need to mention the location of catalogued procedure for each it's call in a single job?

1 Answers  


write a jcl to execute a job by 7:00 am on jan 20,1986?

0 Answers   IBM,


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

0 Answers  


Categories