i have 10,000 records in one input file.i want to sort 1 to
5000 records in one outputfile and remaining records sort in
another output file write the syntax for this?
Answer Posted / albert
SORT FIELDS=COPY
OUTFIL FILES=1,STOPAFT=5000
OUTFIL FILES=2,SKIPREC=5000
| Is This Answer Correct ? | 28 Yes | 8 No |
Post New Answer View All Answers
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 dd statement in jcl?
Where & How Do You Code Identifier In Jcl?
How does jcl act on code(if you take a cobol program)?
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
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Explain the job statement in jcl?
Brief description of inline procedure of jcl.
Explain how can return codes be tested before execution of a job step?
List in order the hierarchical levels of jcl?
What are the rules employed while naming the steps in a job?
When output dataset space is required, what quantity categories are used?
In job processing, what happens in execution stage?
How jcl work to handle various input output file operations?
How is the record format of an output dataset specified?