Skip to Content
JCL - Jobs RepositoryALIAS
🌐 This page was auto-translated from Spanish

Jobs - ALIAS

Sample jobs to perform different actions with ALIAS.

Job - 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

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