Answer Posted / kalpana
Using the sort card we can split the file.
//SYSIN DD *
SORT FIELDS=COPY,SKIPREC=56910,STOPAFT=25
/*
SKIPREC means how many records we need to skip and STOPAFT
means how many records we need to put in the
file.
| Is This Answer Correct ? | 5 Yes | 10 No |
Post New Answer View All Answers
What is concatenating?
Explain the purpose of dd dummy statement?
What is the difference between the positional and keyword parameters? Give examples.
What is jcl in mainframe, and how many types of jcl statements are there for a job?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
i want to store 20 digits . how will u do it in cobol ?
which parameter is use to declare the name of dataset in dd statement?
what are the statements that are not valid to be included in an include statement?
How do you create a temporary dataset?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
What are the 2 types of parameters in dd statement?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
What is the purpose of disp parameter?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
What is the function of the steplib dd statement?