How are datasets concatenated?

Answer Posted / guest

Datasets are concatenated by writing a normal DD statement
for the first dataset and then adding a DD statement without
a DDNAME for each dataset to be concatenated in the order
they are to be read. The following is an example of three
datasets concatenated:

//YEARDAT DD DSN=JAN.DATA,DISP=SHR

// DD DSN=FEB.DATA,DISP=SHR

// DD DSN=MAR.DATA,DISP=SHR

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where can program checkpoints be stored for use in a restart?

842


what is the difference between JES3 and JES2?

676


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

705


Which statement is used to identify the private libraries in job?

674


What is the difference between run mode and addressing mode?

631






how to compare two datasets without using superce because output is limited to 133 bytes

1476


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

634


Explain how can the attributes of one sms dataset be copied to another dataset?

703


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

779


what is the resolution for sb37 error

7696


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3528


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

854


I need exexution process for JCL programs

1847


How can a stopped job be started again?

707


Can we call instream to catalog and catalog to instream?

681