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
Explain the function of //jcllib statement?
What are some jcl statements that are not allowed in procedures?
what is use of space parameter in dd statement?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
what is the JCL statement consists of?
what are JCLLIB and STEPLIB in JCL?
What is the purpose of dd?
Is it possible to code instream data in a PROC?
What is the function of a dd statement?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
How to pass data to a program that is coded in an exec statement?
how do you code a null statement?
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 happens in execution stage in job processing?
is there any way to execute more than one proc in the same exec statement at the same time..?