IEBPTPCH Examples
These examples illustrate some of the uses of IEBPTPCH. You can
use Table 1 as a quick-reference guide to
IEBPTPCH examples.
| Operation | Data Set Organization | Devices | Comments | Example |
|---|---|---|---|---|
| Partitioned | Disk and System Printer | Default format. Conversion to hexadecimal. Ten records from each member are printed. | Example 8: Print Directory of a Partitioned Data Set | |
| Partitioned | Disk and System Printer | Default format. Conversion to hexadecimal. Two members are printed. | Example 9: Print Selected Records of a Partitioned Data Set | |
| Partitioned | Disk and System Printer | Default format. DBCS data is checked and printed. | Example 10: Convert to Hexadecimal and Print Partitioned Data | |
| Sequential | System Printer | Conversion to hexadecimal. | Example 3: Duplicate a Card Deck | |
| Sequential | Tape and System Printer | Default format. | Example 4: Print Sequential Data Set According to Default Format | |
| Sequential | Disk and System Printer | User-specified format. User routines are provided. Processing ends after the third record group is printed or STOPAFT is satisfied. | Example 5: Print Sequential Data Set According to User Specifications | |
| Sequential | System Printer | Print with user exit routine. | Example 6: Print Three Record Groups | |
| Sequential, Partitioned | Disk and System Printer | SYSOUT format. Conversion to hexadecimal. | Example 7: Print a Pre-Formatted Data Set | |
| PUNCH | Sequential | Disk and Card Punch | User-specified format. Sequence numbers are assigned and punched. | Example 1: Print Partitioned Data Set |
| PUNCH | Sequential | Card Reader and Card Punch | User-specified format. A copy of a set of cards is made. | Example 2: Punch Sequential Data Sets |
Examples that use disk or tape in place of actual device numbers must be changed before use. The actual device numbers depend on how your installation has defined the devices to your system.