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 is the resolution for sb37 error
In job processing, what happens in execution stage?
what is a jcl?
What is the function of dd name parameter with a 2 part structure; audit.report?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
how can you check if a file is empty using jcl?
Is automatic restart possible in jcl?
Where can program checkpoints be stored for use in a restart?
how do you access an uncataloged dataset in a jcl?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
What is multithreading in jcl?
How does jcl act on code(if you take a cobol program)?
Is it possible to left uncode disp? If yes, how?