Like the SMCOPY command, you can use the UTILITIES option to copy:
- A sequential data set to another sequential data set or to a member
of a partitioned data set (See Figure 1.),
or
- A member of a partitioned data set to another member of a partitioned
data set, or to a sequential data set. (See Figure 2.)
In addition, you can copy:
- An entire partitioned data set to another partitioned data set.
To copy one data set to another, select the UTILITIES option (option
3) on the ISPF/PDF Primary Option Menu.
------------------------ ISPF/PDF PRIMARY OPTION MENU ------------------------
OPTION ===> 3
USERID - YOURID
0 ISPF PARMS - Specify terminal and user parameters TIME - 12:47
1 BROWSE - Display source data or output listings TERMINAL - 3277
2 EDIT - Create or change source data PF KEYS - 12
3 UTILITIES - Perform utility functions
4 FOREGROUND - Invoke language processors in foreground
5 BATCH - Submit job for language processing
6 COMMAND - Enter TSO command or CLIST
7 DIALOG TEST - Perform dialog testing
8 LM UTILITIES- Perform library administrator utility functions
9 IBM PRODUCTS- Additional IBM program development products
C CHANGES - Display summary of changes for this release
T TUTORIAL - Display information about ISPF/PDF
X EXIT - Terminate ISPF using log and list defaults
Enter END command to terminate ISPF.
You then see the Utility Selection Menu. To copy one data set to
another, select the MOVE/COPY option (option 3).
-------------------------- UTILITY SELECTION MENU ----------------------------
OPTION ===> 3
1 LIBRARY - Compress or print data set. Print index listing.
Print, rename, delete, or browse members
2 DATASET - Allocate, rename, delete, catalog, uncatalog, or
display information of an entire data set
3 MOVE/COPY - Move, copy, or promote members or data sets
4 DSLIST - Print or display (to process) list of data set names
Print or display VTOC information
5 RESET - Reset statistics for members of ISPF library
6 HARDCOPY - Initiate hardcopy output
8 OUTLIST - Display, delete or print held job output
9 COMMANDS - Create/change an application command table
10 CONVERT - Convert old format messages/menu panels to new format
11 FORMAT - Format definition for formatted data Edit/Browse
12 SUPERC - Compare data sets (Standard dialog)
13 SUPERCE - Compare data sets (Extended dialog)
14 SEARCH-FOR - Search data sets for strings of data
On the next panel, the Move/Copy Utility panel, specify the name
of the data set from which you want to copy.
For information about specifying data set names, refer to
Specifying a Data Set Name. You can specify a sequential
data set, a member of a partitioned data set, or an entire partitioned
data set by typing
* in the MEMBER field. The following
example shows a sequential data set.
------------------------------ MOVE/COPY UTILITY -----------------------------
OPTION ===> c
C - Copy data set or member(s) CP - Copy and print
M - Move data set or member(s) MP - Move and print
L - Copy and lock member(s) LP - Copy, lock, and print
P - Promote data set or member(s) PP - Promote and print
SPECIFY "FROM" DATA SET BELOW, THEN PRESS ENTER KEY
FROM ISPF LIBRARY:
PROJECT ===> prefix
GROUP ===> report1
TYPE ===> text
MEMBER ===> (Blank or pattern for member selection list,
'*' for all members)
FROM OTHER PARTITIONED OR SEQUENTIAL DATA SET:
DATA SET NAME ===>
VOLUME SERIAL ===> (If not cataloged)
DATA SET PASSWORD ===> (If password protected)
On the following panel, specify the data set
to which you
want the copied information to go.
COPY --- FROM PREFIX.REPORT1.TEXT ----------------------------------------------
COMMAND ===>
SPECIFY "TO" DATA SET BELOW.
TO ISPF LIBRARY:
PROJECT ===> prefix
GROUP ===> report2
TYPE ===> text
MEMBER ===> (Blank for member list, * for all members)
TO OTHER PARTITIONED OR SEQUENTIAL DATA SET:
DATA SET NAME ===>
VOLUME SERIAL ===> (If not cataloged)
DATA SET PASSWORD ===> (If password protected)
"TO" DATA SET OPTIONS:
IF PARTITIONED, REPLACE LIKE-NAMED MEMBERS ===> YES (YES or NO)
IF SEQUENTIAL, "TO" DATA SET DISPOSITION ===> OLD (OLD or MOD)
SPECIFY PACK OPTION FOR "TO" DATA SET ===> (YES, NO or blank)
When you press the Enter key on the above panel, the entire data
set or member is then copied over the other data set or member and
the original information is lost. For more information about copying
data sets, see .