Module 4: JCL DD Statement
DD DSN parameter
DSN stands for data set name. The DSN parameter is used to specify name of newly created or existing dataset name
Syntax:- DSN=data-set-name
Where,
data-set-name, can be made up of sub-names and each of them can be 1 to 8 characters long. Each of sub-names are separated by comma. The maximum length of a data set name including periods, is 44 characters.
Examples:-
//INFILE1 DD DSN=FILE1
//INFILE2 DD DSN=DEPT1.EMP1.DATA
//INFILE3 DD DSN=DEPT1.EMP2.DATA(TEST1)
//INFILE4 DD DSN=&&TEMPDATA [&& used to define temporary dataset which is explained later]