DBA > Job Interview Questions > JOB CONTROLL LANGUAGE (JCL) Interview Questions

How are datasets concatenated?

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

How are datasets concatenated?

Datasets are concatenated by writing a normal DD statement for the first dataset and then adding a DD statement without a DDNAME for ceach 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

(Continued on next question...)

Other Job Interview Questions