In one of intervie, my interviwer asked, I have a file
which contains 4 records I would like to split the 4
different outputs for each record how to do?
Answer Posted / rajesh
The following will also work ..
//SYSIN DD *
SORT FIELDS=COPY,
OUTFILE FNAMES=(OUTFILE1,OUTFILE2,OUTFILE3,OUTFILE4),SPLIT
/*
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
What is the function of the steplib dd statement?
Differentiate between addressing mode and run mode.
Can I share my data with other jobs? How?
What are hierarchy levels in jcl?
What is the function of dd name parameter with a 2 part structure; audit.report?
What does a disposition of (MOD,DELETE,DELETE) mean ?
Where & How Do You Code Identifier In Jcl?
Suppose I have five jobs to do. But I want to hold one?
write a jcl to execute a job by 7:00 am on jan 20,1986?
is there any way to execute more than one proc in the same exec statement at the same time..?
Are there any set of rules for the names of the steps used in a job? What are they?
How to submit jcl through a cobol program?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
Explain about LMFREE�free data set from its association with data ID