Previous Topic: Syntax DiagramNext Topic: YMVY1DTA (Move User Data Objects)


Parameters

Parameter

Definition

Value and Description

OBJ

Qualified generic name of objects moved

  • *OBJLST: Object list specified by OBJLST parameter specifies objects to be moved
  • *ALL: All objects in specified libraries are to be moved

OBJTYPE

Type of object to be moved

  • *ALL: All object types are to be moved

TOLIBOBJ

Destination library to which non-data objects are to be moved

  • *NONE: Non-data objects are not to be moved
  • *CURLIB: Move non-data objects to current library

TOLIBDTA

Destination library to which data objects are to be moved. Data objects include physical and logical files, and data areas

  • *TOLIBOBJ: (default) Use the library whose name is specified by the TOLIBOBJ parameter
  • *NONE: Data objects are not to be moved. *NONE May not be specified for both destination libraries
  • *CURLIB: Move data objects to current library

FROMSRCPF

Qualified name of source file from which source members are moved

  • *QDFTSRC: (default) The source file defaulted to the appropriate default source file name for the object type and attribute
  • *OBJSRC: The source file and member where the object was created

TOSRCPF

Qualified name of destination source file

  • *FROMSRCPF: (default) The file name in the destination library is the same as that of the file containing the member in the originating library
  • The library name defaults to the library specified by the TOLIBOBJ parameter

MOVOPT

Movement option

  • *ALL: (default) All objects are moved
  • *OLD: Only found objects that already exist in the destination library are moved
  • *NEW: Only found objects that do not already exist in the destination library are moved

TFRAUT

Transfer authorities

  • *NO: (default) No authorities are transferred
  • *YES: Any existing object in the TOLIB library possesses are granted to the object that replaces it

OLDLIB

Library in which to place any old versions of the objects and source already exist in the destination library or libraries. (If a version already exists in the library specified by the OLDLIB parameter

  • *NONE: (default) Do not keep the previous copy; if a copy of the object already exists in the destination libraries, that copy is deleted (if it is not a data object)

MSGQ

Qualified name of a message queue to which a completion message is to be sent recording each object and each member moved. May be used to provide a control log of program implementation

  • NONE: (default) No message is sent
  • *WRKSTN: Messages are sent to the current workstation’s message queue

FLAGVAL

Flag value of list items to move

  • *ANY: (default) Move objects regardless of the flag values of their list entries
  • Otherwise, FLAGVAL is a list parameter made up of the following two elements:
  • Relational operator for selection of flags
  • – *EQ: (default) Equal to
  • – *NE: Not equal to
  • Flag value
  • – Single character flag value or one of the special flag values

UPDLST

List update option. Up to two of the following values

  • *FLAGERR: (default) Flag the list entries for those objects not successfully moved with O (*FAILOBJ). The corresponding member list are flagged with M (*FAILMBR)
  • *RMVOK: Remove the list entries for those objects successfully moved
  • *RMVERR: Remove the list entries for those objects items not successfully moved

OBJLST

Qualified name of a object list specifying the objects that are to be moved

  • QTEMP/TEMPLST: (default) List name
  • Specify OBJ(*OBJLST) to use an existing list

EDIT

Edit list option

  • *NO: (default) Do not invoke the list edit function
  • *YES: The edit list function is to be invoked before executing the move