A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ?

//InputF  DD DSN=ID.File1
             DSN=ID.File2
             DSN=ID.File3



A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to..

Answer / vipul chougule

Concartinate input data sets

SYSIN DD DSN = file1
DSN = file2
DSN = file3

Is This Answer Correct ?    15 Yes 1 No

Post New Answer

More JCL Interview Questions

i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?

2 Answers  


How do you access a file that had a disposition of KEEP?

3 Answers  


What happens if both JOBLIB and STEPLIB is specified ?

8 Answers  


What are the rules employed while naming the steps in a job?

0 Answers  


how GDGs are concatinated?

4 Answers   HSBC,


when GDG version number get changed ? bcz always Generations only increasing.

1 Answers   Cap Gemini,


How are GDGs concatenated?

1 Answers  


i want to avoid the positional parameter how to code it ?

3 Answers   TCS,


How can the disposition of sysout datasets be set for an entire jobstream?

0 Answers  


I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?

4 Answers  


IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?

7 Answers   Cognizant, IBM, IGT,


please could u tell me the difference between SORT, SYNCSORT,CA-SORT, DFSORT,

1 Answers   IBM,


Categories