IEBGENER Examples
The examples that follow illustrate some of the uses of IEBGENER.
You can use Table 1 as a quick-reference guide to IEBGENER
examples. The numbers in the
Examplecolumn refer to the examples that follow.
| Operation | Data Set Organization | Device | Comments | Example |
|---|---|---|---|---|
| Sequential | Disk and Printer | Data set is listed on a printer. | Example 1: Print a Sequential Data Set | |
| CONVERT | Sequential to Partitioned | Tape and Disk | Blocked output. Three members are to be created. | Example 2: Create a Partitioned Data Set from Sequential Input |
| MERGE | Sequential into Partitioned | Disk | Blocked output. Two members are to be merged into existing data set. | Example 3: Convert Sequential Input into Partitioned Members |
| COPY | Sequential | In-stream and Tape | Blocked output. | Example 4: In-stream Input, Sequential Data Set to Tape Volume |
| Copy and reblock | Sequential | Disk and Tape | Makes blocked tape copy from disk; explicit buffer request. | Example 5: Produce Blocked Copy on Tape from Unblocked Disk File |
| COPY–with editing | Sequential | Tape | Blocked output. Data set edited as one record group. | Example 6: Edit and Copy a Sequential Input Data Set with Labels |
| COPY–with editing | Sequential | z/OS UNIX file to Disk | Blocked output. New record length specified for output data set. Two record groups specified. | Example 7: Edit and Copy a Sequential z/OS UNIX File to a Sequential Data Set |
| COPY–with DBCS validation | Sequential | Disk | DBCS data is validated and edited before copying. | Example 8: Edit Double-Byte Character Set Data |
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.