CA Global SubSystem › Write an IMOD
Write an IMOD
Important! Before you write an IMOD, you should become familiar with the REXX language (see IBM's guides) and the CA extensions of REXX.
To write an IMOD
- Ensure that the required ISET is defined.
- Access the IMOD editor using one of the following methods:
- Select the option from your ISPF menu.
- Execute the GSSEDIT CLIST in the CAICLS0 data set.
- Issue a command from a CA product (for example, CA Jobtrac Job Management and CA SYSVIEW Performance Management)
The list of defined ISETs appears.
- Enter S beside the required ISET.
The list of IMODs in the ISET appears.
- Enter the following command at the COMMAND ==>.prompt:
E imodname
- imodname
-
Defines the name of the IMOD you want to write or edit.
The EDIT panel appears.
- Write your IMOD using compiler directive statements and REXX. Consider the following:
- You should specify a #DESC compiler directive statement to describe the IMOD.
- If the IMOD is an external routine, you must specify a #CALLABLE compiler directive statement.
- You must not use the NUM ON command or enter line numbers manually. REXX treats line numbers as syntax errors.
- You cannot use the COPY, REPLACE, APPEND, or CREATE commands to move material directly between ISETs. You can use these commands only when moving material between an IMOD and a sequential, non‑ISET data set.
- Press PF3.
The IMOD is saved in the selected ISET and is ready to be compiled.
Note: For more information about the IMOD editor panels, see the online help.