11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.6 IEBGENER utility<br />

//COPY JOB ...<br />

//STEP1 EXEC PGM=IEBGENER<br />

//SYSPRINT DD SYSOUT=A<br />

//SYSUT1 DD DSNAME=INSET,DISP=SHR<br />

//SYSUT2 DD DSNAME=OUTPUT,DISP=(,CATLG),<br />

// SPACE=(CYL,(1,1)),DCB=*.SYSUT1<br />

//SYSIN DD DUMMY<br />

Figure 4-8 IEBGENER utility<br />

Using IEBGENER<br />

IEBGENER copies records from a sequential data set or converts sequential data sets into<br />

members <strong>of</strong> PDSs or PDSEs. You can use IEBGENER to:<br />

► Create a backup copy <strong>of</strong> a sequential data set, a member <strong>of</strong> a partitioned data set or<br />

PDSE, or a UNIX <strong>System</strong> Services file such as an HFS file.<br />

► Produce a partitioned data set or PDSE, or a member <strong>of</strong> a partitioned data set or PDSE,<br />

from a sequential data set or a UNIX <strong>System</strong> Services file.<br />

► Expand an existing partitioned data set or PDSE by creating partitioned members and<br />

merging them into the existing data set.<br />

► Produce an edited sequential or partitioned data set or PDSE.<br />

► Manipulate data sets containing double-byte character set data.<br />

► Print sequential data sets or members <strong>of</strong> partitioned data sets or PDSEs or UNIX <strong>System</strong><br />

Services files.<br />

► Re-block or change the logical record length <strong>of</strong> a data set.<br />

► Copy user labels on sequential output data sets.<br />

► Supply editing facilities and exits.<br />

Jobs that call IEBGENER have a system-determined block size used for the output data set if<br />

RECFM and LRECL are specified, but BLKSIZE is not specified. The data set is also<br />

considered to be system-reblockable.<br />

Chapter 4. Storage management s<strong>of</strong>tware 117

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!