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 / arul anand.a
SORT FIELD=COPY,
SKIPREC=0 ( skip 0 records)
STOPAFT=100 (stop after 100 records).
so it will copy only first 100 records.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is rmode(any) ?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Explain what you understand by passing by value.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
how to access the file from prodution from changeman tool and to submit a file to production
What are the various section in data division and briefly explain them.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between perform … with test after and perform … with test before?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is the difference between comp and comp-3?
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.
Write the code to count the sum of n natural numbers.
What is the use of intialize verb?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are the cobol coding sheets?