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 are the utility programs in jcl?
What are the 2 types of parameters in dd statement?
what is JCL?
Explain dd statement in jcl?
Give the syntax of job specifying jcl statement.
what is DSN parameter and DISP parameter is used for?
What are steplib and joblib?
what are the various stages of job processing?
how you can direct the data to spool using SYSOUT option?
What do you understand by the term job time – out and how can you overcome that?
How can return codes be tested before execution of a job step?
What is the purpose of dd dummy statement?
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 JCL Procedures?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?