Member copy and move

You can copy between datasets like this:

Cmd Member   Text                     Description   Show
CO  FRED     USERID.QUAL2.QUAL3.QUAL4
TO  BILL     OTHERID.SOME.DATA.OR.OTHER
The commands shown above will Copy the member FRED To the member BILL on the target dataset. If you want to copy or move without changing the member name, you can leave the member name blank on the TO and OV lines. The command combinations that can be used are as follows (choose one from the left column and one from the right):

Members may be copied or moved:

co
copy member
mo
move member
And may, or may not, over-write their target if it already exists:
ov
target member name. Any existing member is overwritten
to
target member name. If the member already exists, it is not overwritten

Note that the same dataset can appear as many times as you like on a DDF list. If you use the same dataset name with CO/MO and TO/OV:


[Home]

Last updated: 21 Jan 2002