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

A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

4 Answers   IBM,


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

0 Answers   IBM,


if in a job, region is mentioned in both jobcard and in step then which is cosidered at the step level? A job has region 4k in jobcard and step1 with region 0k and step2 with 16k, then what is the region allocated for the entire job? what is the region step1 takes? what is the region step2 takes?

4 Answers  


When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 Answers  


how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file?

6 Answers   CSC,






What are the default system and catalog libraries in JCL?

2 Answers   Infosys,


What u mean by include statement in JCL ?

3 Answers  


How much is memory space involved, when we code BLOCKSIZE,TRK & CYL ?

1 Answers  


what happens if job falls in loop ? how to resolve it ?

3 Answers   Patni,


How many types we can give input to JCL

5 Answers   UHG,


what is the JCL statement consists of?

0 Answers  


i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?

4 Answers   IBM,


Categories