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
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
How are the next sentence and continue different from each other?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
In COBOL, what is the different between index and subscript?
State the various causes of s0c1, s0c5 and s0c7.
In COBOL programming, what is PERFORM? What is VARYING?
What is the local-storage section?
What is inspect in cobol ?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Whats the difference between search & search ALL?