I have a sequential file in which there are 50 records. Now
I want to copy all the 50 records in the reverse order into
a new file? The last record in the original file should be
the first record in the new file. How can I do it?
Answer Posted / shammi
But COPYBACK option can be used using File aid only...
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the use of disp parameter?
When output dataset space is required, what quantity categories are used?
How to submit a jcl from cics?
How dummy is used in jcl?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
How gdg are concatenated?
What do you understand by jcl?
What are the 4 fields in dd statement?
how you can access an uncataloged dataset in a JCL?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What is the function of the dd avgrec keyword in sms datasets?
what is use of dcb parameter in dd statement?
How can the attributes of one sms dataset be copied to another dataset?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?