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
how can you check if a file is empty using jcl?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
Explain the function of dd name parameter with a 2 part structure; audit.report?
How can the attributes of one sms dataset be copied to another dataset?
What is the significance of addrspc parameter in exec 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
Explain how can the disposition of sysout datasets be set for an entire jobstream?
what is use of dsn parameter in dd statement?
What is the function of //jcllib statement?
When space is allocated for an output dataset, what units can be used?
What do you understand by the terms: joblib and steplib?
what is use of dcb parameter in dd statement?
Explain the function of //jcllib statement?
How is the record format of an output dataset specified?
a dd statement has 2 types of parameters. Name them?