How I sort the records in a file and copy the first 10
records to another file
Answer Posted / balasukumar
//SORTIN DD DSN=INF1
//SORTOT DD DSN=OTF
//SYSIN DD *
SORT FIELDS = COPY
SKIP=0
STOPAFT=10
/*
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
how JCL works?
I need exexution process for JCL programs
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
what is the use of JCL?
What is NOTCAT ?
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?
What is the difference between run mode and addressing mode?
Is it possible to left uncode disp?
What is condition checking in jcl? Is this possible?
What is the function of the steplib dd statement?
Explain how can values be passed from the job stream to an executable program?
Matching Logic in Jcl not in cobol.Could any one please answer this question
In sms datasets, what is the function of the dd mgmtclas keyword?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Where & How Do You Code Identifier In Jcl?