ALIAS

Use the ALIAS (or ALI abbreviation) statement to add alias names to partitioned data set members.

Syntax

Read syntax diagramSkip visual syntax diagramlabelALIASOUTDD= DDnameOUTDSN=DSname( DSname,SHROLD),LIST=YESNOALLONLY,AGE= Age,USERID=UID= Uid

Parameters

OUTDD=DDname
Specifies the DDname of the partitioned data set that is to be updated.
OUTDSN={DSname|(DSname,SHR)|(DSname,OLD)}
Specifies the DSname of the cataloged partitioned data set that is to be updated. {SHR|OLD} specifies the disposition of the dynamically allocated data set. When this parameter is omitted, the default from the OUTDISP= EXEC PARM field applies. When both are omitted SHR is used.
LIST={YES|NO}
Specifies whether the names of the aliased members are to be listed in the SYSPRINT data set. When this parameter is omitted, the default from the EXEC PARM field applies.
LIST=ALL
Same as LIST=YES with additional member pre-filtering related messages.
LIST=ONLY
Same as LIST=YES.
AGE=Age
Specifies the maximum number of days since the most recent update date of a member. The value of variable Age can be either a decimal number that consists of up to seven digits, or one of the following keywords:
TODAY or T
Same as 0.
DAY or D
Same as 1.
WEEK or W
Same as 7.
MONTH or M
Same as 31.
QUARTER or Q
Same as 93.
YEAR or Y
Same as 365.
USERID=Uid or UID=Uid
Specifies the user ID of the most recent update of a member. The value of variable Uid can be either a string that consists of up to seven characters, or a pattern mask.

Usage notes

  • Either OUTDD or OUTDSN keywords must be specified, but together they are mutually exclusive.
  • The target member group must be specified in one or more SELECT statements following this statement.
  • All the MEMBER keyword entries of each SELECT statement must include a new member name parameter which becomes the target alias name.
  • ALIAS command is not allowed to operate on a program object member of a PDSE library.