i want to use only first 100 records from a file.plz tell
me how to write JCL for this(for read,copy,write
operations).plz give me details of all posible JCL
utilities?
Answer Posted / khbnaidu
Using SORT you can do this...
SORT FIELD=COPY, SKIPREC=200 (OR SOME MORE RECORDS),
STOPAFT=100
| Is This Answer Correct ? | 15 Yes | 10 No |
Post New Answer View All Answers
What are literals?
Which Search verb is equivalent to PERFORM…VARYING?
Name some of the examples of COBOl 11?
What guidelines should be followed to write a structured cobol prgm?
What is a scope terminator give example?
Why would you use find and get rather than to obtain?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
how do you reference the printer file formats from cobol programs
HOw can I get the negative sign while deduct high value from low value
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
what is search and searchall?what is the diffrence between them?give an best example?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is an in line perform? When would you use it? Anything else you wish to say about it.