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
What is jcl in mainframe, and how many types of jcl statements are there for a job?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
How to pass the parameter in parm using linkage section ? (syntax)?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
In job processing, what happens in conversion stage?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
what is the compile process of cobol program expalin with code
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
what is the JCL statement consists of?
what is “Cond= even” and “Cond=only”?
What is jcl in mainframe?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
how to do automated restart when a job abends?
What is the function of the steplib dd statement?