Previous Topic: Partitioned Data SetsNext Topic: PDS to CA Telon


Keyword Usage
$MEMBERCOUNT

Set to the current Retrieve request model execution count for the purpose of generating unique JCL field names such as STEP names. The character value ranges from 0000000 through 9999999 and is incremented by 1 for each member.

$CHKREP

Set to the same value (Y or N) as the Replace Member field of the Retrieve Processing Options panel. A value of Y indicates that the copied member can replace an existing member of the same name ($TONAME) in the Test Library ($DEST1DSN). Accomplish this with IEBCOPY as follows:

if $CHKREP=N the IEBCOPY COPY statement generated is: "...INDD=FROMLIB"
if $CHKREP=Y the IEBCOPY COPY statement generated is: "...INDD=((FROMLIB,R))".
$ORIGDSN

Set to the data set name that the member is being Retrieved from, as defined to the Library Code.

$DEST1DSN

Set to the data set name of the Test Library defined in the associated Library Code.

$FROMNAME

Set to the same value as the From Member field of the Retrieve Processing Options panel. The $FROMNAME value is used in the IEBCOPY SELECT control statement to request the source library member.

$TONAME

Set to the same value as the To Member field of the Retrieve Processing Options panel. You can modify the To Member field to rename the member. The $TONAME value is used in the IEBCOPY SELECT control statement to request the name target library member after the copy.

$DEST1SEC

The destination data set's Security field for this Library Code for this move.