Previous Topic: ADDRESS Environments

Next Topic: ADDRESS Environment for IDCAMS

ADDRESS Environment for ISERVE

The ISERVE ADDRESS environment is the initial default command environment for IMODs. It is the required environment to process all TSO/E stack command emulations. You do not need to specify ADDRESS ISERVE unless you change the default environment by coding ADDRESS environment without the command.

Example: ISERVE Command in an IDCAMS ADDRESS Environment

The ADDRESS IDCAMS instruction changes the default environment from ISERVE to IDCAMS. The ADDRESS ISERVE 'NEWSTACK' instruction issues a stack command to the ISERVE environment but does not change the default from IDCAMS.

'DELSTACK'                /* Clear STACK from default
                              ISERVE environment */
ADDRESS IDCAMS            /* Change default environment to
                              IDCAMS */
'LISTCAT' dsname1         /* Enter command to IDCAMS */
'LISTCAT' dsname2         /* Enter command to IDCAMS */
ADDRESS ISERVE 'NEWSTACK' /* Enter STACK command to the
                              ISERVE environment */

To change the default back to ISERVE, you specify the ADDRESS ISERVE instruction.