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
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
How can values be passed from the job stream to an executable program?
How can the disposition of sysout datasets be set for an entire jobstream?
In sms datasets, what is the function of the dd mgmtclas keyword?
Can an individual step be restricted from using all the jobs allowed cpu time?
In job processing, what happens in execution stage?
Matching Logic in Jcl not in cobol.Could any one please answer this question
List the different components of jcl statement?
what are JCLLIB and STEPLIB in JCL?
Explain dfsort utility?
What are steplib and joblib? What for they are used?
State the uses of syspring, sysin, sort fields, sum fields and dummy.
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What is the significance of addrspc parameter in exec statement?
What do you know about jcl?