z/OS ISPF User's Guide Vol II
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


CP — copy and print

z/OS ISPF User's Guide Vol II
SC19-3628-00

Use this option as you would use option C, except that source listings are recorded in the ISPF list data set, as follows:
  • If the "To" data set is partitioned, a listing of each new or replaced member is recorded.
  • If the "To" data set is sequential, a listing of its complete contents is recorded.
Figure 1. Move/Copy Utility - "To" panel for copying (ISRUMC2B)
  Menu  RefList  Utilities  Help
───────────────────────────────────────────────────────────────────────────────
COPY     From MYPROJ.DEV.SOURCE
                                                                   More:     +
Specify "To" Data Set Below

To ISPF Library:                 Options:
   Project  . . MYPROJ              Enter "/" to select option
   Group  . . . DEV                 _  Replace like-named members
   Type . . . . SOURCE              /  Process member aliases

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:
   Sequential Disposition        Pack Option         SCLM Setting
   _  1. Mod                     3  1. Yes           3  1. SCLM
      2. Old                        2. No               2. Non-SCLM
Command ===>  ________________________________________________________________
 F1=Help      F2=Split     F3=Exit      F7=Backward  F8=Forward   F9=Swap
F10=Actions  F12=Cancel
All the fields on the Move/Copy Utility "To" panels for copying data sets are explained in the Libraries and Data Sets topic in the z/OS ISPF User's Guide Vol I, except these general Options and To Data Set Options:
Replace like-named PDS members
Select this option to allow replacement of a member in the "To" data set with a like-named member in the "From" data set.
Process member aliases
Select this option to allow the primary member and all alias members to be copied together.
Sequential Disposition
If the "To" data set is sequential, enter:
1
To add the "From" data set to the end of the "To" data set (Mod).
2
To replace the "To" data set's entire contents with the contents of the "From" data set (Old).

If the "From" data set consists of several members of an ISPF library or a partitioned data set to be moved or copied to a sequential data set, the members are written to the "To" data set one after another. The "To" data set disposition (Old or Mod) controls only the beginning location of the "To" data set after the copy or move is completed.

Pack Option
To indicate how the data is to be stored in the "To" data set, enter:
1
If you want the data in the "To" data set to be packed.
2
If you do not want the data in the "To" data set to be packed.
3
If you want the data to be stored in the same format in the "To" data set as it is in the "From" data set.

If you are copying data to a sequential data set with disposition of MOD, you cannot mix packed and unpacked data, nor can you copy multiple packed members.

The technique used to pack data is an internal algorithm used only by ISPF. If the data is packed, attempts to access or process the data outside ISPF can cause unwanted results. See the description of the PACK primary command in z/OS ISPF Edit and Edit Macros for more information.

SCLM Setting
The SCLM setting is a bit that ISPF uses to determine what type of edit the file last had performed upon it.
1 SCLM
This bit is ON to specify that the last edit of this file was under SCLM control.
2 Non-SCLM
This bit is ON to specify that the last edit of this file was under control of something other than SCLM.
3 As-is
This bit is ON to specify that this operation leaves the current setting unchanged.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014