Previous Topic: ADDRESS Environment for ISERVENext Topic: ADDRESS Environment for CA Jobtrac Job Management


ADDRESS Environment for IDCAMS

The ADDRESS environment for IDCAMS executes any IDCAMS command.

Note: For a complete description of IDCAMS commands, see the IBM DFSMS Access Method Services for Catalogs.

Each time that you enter a command in the IDCAMS environment, you invoke a new copy of IDCAMS. For this reason, information cannot be carried from one command to the next. You can conditionally execute commands that are based on IDCAMS return codes only when you specify those commands in REXX.

An input command can be up to 32,760 characters. Input to IDCAMS is case‑sensitive.

The instruction to establish an ADDRESS environment for IDCAMS has the following format, where command is any IDCAMS command:

ADDRESS IDCAMS command

Output lines are returned on the stack and are identical to those that would be produced in the SYSPRINT data set, including ASA carriage control characters and page headers.

Important! Because IDCAMS can have voluminous output, avoid memory depletion by limiting the amount of data returned on the stack.