🌐 This page was auto-translated from Spanish
Jobs - ALIAS
Sample jobs to perform different actions with ALIAS.
Job - Define ALIAS
IBM Documentation https://www.ibm.com/docs/en/zos/3.1.0?topic=commands-define-alias
Parameters:
NAME - ALIAS name
RELATE - Catalog where dataset entries related to the ALIAS name will be stored
CATALOG - Catalog in which the ALIAS will be defined
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE ALIAS (NAME(USER1) -
RELATE(USERCAT.VTWS000)) -
CATALOG(CATALOG.Z31B.MASTER)
/*Job - Delete ALIAS
Parameters:
alias_name - ALIAS name
CATALOG - Catalog containing the ALIAS to be deleted
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE -
alias_name -
ALIAS -
CATALOG(CATALOG.Z31B.MASTER)
/*Job - List ALIAS entries in a catalog
IBM Documentation https://www.ibm.com/docs/en/zos/3.1.0?topic=commands-listcat
Parameters:
CATALOG - Catalog from which to display the ALIAS entries
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LISTCAT -
ALIAS -
ALL -
CATALOG(CATALOG.Z31B.MASTER)
/*Last updated on