ADD and REPL |
Partitioned |
Disk |
A JCL procedure is stored as a new member of a procedure library
(PROCLIB). Another JCL procedure is to replace an existing member
in PROCLIB. |
Example 1: Place Two Procedures in SYS1.PROCLIB |
COPY |
Sequential |
Disk |
Sequential data set is copied from one direct access volume
to another; user labels can be processed by exit routines. |
Example 10: Copy Sequential Data Set from One Volume to Another |
CREATE |
Partitioned |
Disk |
Create a new generation. |
Example 11: Create a New Partitioned Data Set |
CREATE |
Sequential |
Card Reader and Disk |
Sequential data set with user labels is created from card input. |
Example 9: Create a Sequential Data Set from Card Input |
CREATE a partitioned data set |
Partitioned |
Disk |
Input from control data set and from existing partitioned data
set. Output partitioned data set is to contain three members. |
Example 3: Create New Library Using SYS1.MACLIB as a Source |
CREATE a partitioned library |
Partitioned |
Disk |
Input data is in the control data set. Output partitioned data
set is to contain three members. |
Example 2: Create a Three-Member Library |
CREATE and DELETE |
Partitioned, Sequential |
Disk and Tape |
Sequential master is created from partitioned disk input. Selected
records are to be deleted. Blocked output. |
Example 5: Create New Master Data Set and Delete Selected Records |
CREATE, DELETE, and UPDATE |
Sequential, Partitioned |
Tape and Disk |
Partitioned data set is created from sequential input. Records
are to be deleted and updated. Sequence numbers in columns other than
73 through 80. One member is placed in the output data set. |
Example 6: Create and Update a Library Member |
INSERT |
Partitioned |
Disk |
Block of logical records is inserted into an existing member. |
Example 7: Insert Records into a Library Member |
INSERT |
Partitioned |
Disk |
Two blocks of logical records are to be inserted into an existing
member. Sequence numbers are alphanumeric. |
Example 8: Renumber and Insert Records into a Library Member |
UPDATE INPLACE and renumber |
Partitioned |
Disk |
Input data set is considered to be the output data set as well;
therefore, no SYSUT2 DD statement is required. |
Example 4: Update a Library Member |