sequential or partitioned dataset. Some of the tasks that IEBPTPCH can perform include the following: Printing or punching an entire data set, sequential or partitioned (PDS). Printing or punching selected PDS members. Printing or punching selected records from a sequential or partitioned data set. Printing or punching a PDS directory. Printing or punching an edited version of a sequential data set or PDS. Check for empty dataset //IEBPTPCH JOB // EXEC PGM=IEBPTPCH //SYSIN DD * PRINT MAXFLDS=2 TITLE ITEM=('Name',22), ITEM=('GPA',50) TITLE ITEM=(' ',1) RECORD FIELD=(25,1,,22), FIELD=(4,51,,50) /* //SYSPRINT DD SYSOUT=* //SYSUT1 DD * Person 1 307 C Meshel Hall 3.89 Second person 123 Williamson Hall 2.48 3rd person 321 Maag Library 1.52 /* //SYSUT2 DD SYSOUT=* // Empty dataset check: If dataset to be checked is empty then RC=4 else 0. //IEBPTPCH JOB // EXEC PGM=IEBPTPCH //SYSUT1 DD DSN=<filename>,DISP=SHR //SYSUT2 DD DUMMY, // DCB=(BLKSIZE=<block size>,RECFM=FA) //SYSIN DD * PRINT TYPORG=PS /* //SYSPRINT DD SYSOUT=* // IEBTCRIN Read records from a 2495 Tape Cartridge Reader. IEBUPDAT Changes records in a sequential dataset or in a member of a partitioned dataset, replaced by, but not compatible with, IEBUPDTE. IEBUPDTE IEBUPDTE ("UPDaTE") incorporates changes to sequential or partitioned datasets. The UNIX patch utility is a similar program, but uses different input format markers (e..g, "./ INSERT ..." in MVS becomes "@@..." in Unix Patch). Some programmers pronounce it "I.E.B. up-ditty". The IEBUPDTE utility is used to maintain source libraries. Some of the functions that IEBUPDTE can perform include the following: Creating and updating libraries Modifying sequential data sets or PDS members Changing the organization of a data set from sequential to partitioned or from partitioned to sequential. IEBUPDTE is commonly used to distribute source libraries from tape to DASD. IEBUPDTE uses the same job control statements required by most IEB-type utilities. The only exceptions are as follow: IEBUPDTE accepts a PARM parameter coded on the EXEC statement, NEW or MOD. NEW indicates that the utility control statements and the input data are contained in the SYSIN DD statement, so no SYSUT1 DD statement is needed. MOD indicates that the SYSIN DD statement contains only utility control statements, without input data. Therefore, the SYSUT1 DD statement is required to define the input data set. IEBUPDTE reads the input data set from either the SYSUT1 DD statement or from the SYSIN DD statement. The job control used by IEUPDTE are as follows: //stepname EXEC PGM=IEUPDTE,PARM=NEW