ALLOCATE command examples
- Example 1: Allocate your terminal as a temporary input data set
- Example 2: Allocate an existing cataloged data set
- Example 3: Allocate an existing data set that is not cataloged
- Example 4: Allocate a new data set with the attributes of an existing model data set
- Example 5: Allocate a new data set that differs from an existing model data set only in its space allocation
- Example 6: Allocate a new sequential data set with space allocated in tracks
- Example 7: Allocate a new partitioned data set with space allocated in blocks
- Example 8: Allocate a new sequential data set with default space quantities
- Example 9: Allocate a new sequential data set using an attribute list
- Example 10: Allocate a new sequential data set with space allocated in blocks and using an attribute list
- Example 11: Allocate a new sequential data set with default space quantities and using an attribute list
- Example 12: Allocate a new data set to contain the output from a program
- Example 13: Allocate an existing multi-volume data set to SYSDA, with one device mounted for each volume
- Example 14: Allocate an existing data set as the second file of a standard-label tape
- Example 15: Allocate an output data set using the FCB and COPIES operands to request formatted copies of an output data set
- Example 16: Allocate a new tape data set using the PROTECT operand to request RACF protection
- Example 17: Allocate a new DASD data set using the PROTECT operand to request RACF protection
- Example 18: Concatenate some data sets
- Example 19: Allocate a data set defined by a DD statement as a SYSOUT to a specific print form
- Example 20: Allocate a SYSOUT data set specifying the member name of an installation program that writes the data set
- Example 21: Allocate a SYSOUT data set to be printed in a specific character set or print font
- Example 22: Allocate a SYSOUT data set to make it available for printing immediately after deallocation
- Example 23: Allocate a SYSOUT data set specifying the number of pages to print
- Example 24: Allocate a SYSOUT data set to be routed to a user at a remote destination
- Example 25: Allocate an OBJECT PDS with a data class of OBJ
- Example 26: Override the data class, storage class, management class operands by specifying them on the ALLOCATE command
- Example 27: Allocate three data sets using the REUSE operand
- Example 28: Allocate a new DASD data set using a system set block size and request space in a quantity of logical records
- Example 29: Allocate an output file, creating it if it does not exist
Parent topic: ALLOCATE command