Answer Posted / 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 View All Answers
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
what is the JCL statement consists of?
how you can access an uncataloged dataset in a JCL?
Define concatenating?
Is automatic restart possible in jcl? If yes, how?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is the use of disp parameter?
How to pass data to a program that is coded in an exec statement?
Can I share my data with other jobs? How?
Explain the function of //jcllib statement?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Explain the function of the steplib dd statement?
What is the syntax of JCL statement?
Explain about LMQUERY�give a dialog information about a data set