Rocket® Enterprise Developer (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
Allocating Data Sets
MVS provides a direct connection between the filename used in the program and the corresponding data set name used in the JCL. For example, for SYSUT1 in a COBOL program:
SELECT INFILE ASSIGN TO UT-S-SYSUT1
connects to
//SYSUT1 DD DSN=DSNAME1,DISP=OLD
and allocates to the program the PC file representing the data set named DSNAME1.
And, for SYSUT2:
SELECT OUTFILE ASSIGN TO UT-S-SYSUT2
connects to
//SYSUT2 DD DSN=DSNAME2,DISP=(NEW,CATLG),...
and allocates to the program a PC file representing the data set named DSNAME2. The file is created and cataloged automatically when the jobstream is run.