MOVE

The MOVE statement is used to begin a copy or unload operation of one or more members of a partitioned data set, followed by a deletion of all successfully copied members in the input data set.

Read syntax diagramSkip visual syntax diagramlabelMOVEOUTDD= DDnameOUTDSN=DSname( DSname,SHROLD),INDD=DDname( DDname,R),INDSN=DSname( DSname,SHROLD,R,R),LIST=YESNOALLONLY,AGE= Age,USERID=UID= Uid

Parameters

All keywords have the same meaning and syntax as for the COPY statement.

Usage notes

  • MOVE automatically triggers the RC4NOREP EXEC PARM option, as well as a DELETE statement, with identical member filtering, against the input partitioned data set of the MOVE statement.
  • Either OUTDD or OUTDSN keywords must be specified, but together they are mutually exclusive.
  • Only a single input data set is allowed and must be specified via an INDD or INDSN keyword.
  • The target member groups can be specified in one or more EXCLUDE or SELECT statements.