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
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Is it possible to code instream data in a PROC?
What is the purpose of dd * statement in jcl?
What are the parameters that are used in creating a gdg?
Explain the purpose of the dd keylen parameter?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
How can the attributes of one sms dataset be copied to another dataset?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What parameter directs the output of the job log dataset?
what is SOC4 error?
How can the submitting users racf authority be overridden in a job stream?
Explain the purpose of dd * statement in jcl?
How can values be passed from the job stream to an executable program?
How can unused space allocation be returned to the system when a dataset is closed?