Execute ISPF Command

Function:

ISPF Command tools call a procedure or a program in an ISPF environment. In order to interact correctly with the AWM interface, the ISPF tools must observe certain implementation rules, see Attaching ISPF Tools for more information.

Tool Attributes:

Attribute Type Description
Invocation Form [M] Selection Determines how a procedure or program is called in the ISPF environment. Valid values are:
REXX
Called from AWM as REXX subroutine (REXX call statement) which can only be used for attached REXX procedures.
CMD
The attached procedure or program is called from AWM using the ISPF command ISPEXEC SELECT CMD(…)
PGM
The attached program is called from AWM using the ISPF command ISPEXEC SELECT PGM(...)
Program ID [M] String Name of the procedure (REXX, CLIST) or program.
Run_As_Job Selection Determines whether the tool is executed online or as batch job. Valid values are:
NO
The tool is executed directly in the attached IPSF environment and the UI is blocked until the tool has finished executing.
Tool Job
The tool is submitted to JES by the attached tool, for example, by the attached REXX procedure.
Model Job
The attached tool is submitted to JES by AWM.

See Batch Execution for more information.

After_Job_Action [O] ActionDescriptor Only enabled when "Run As Job" is set to "Tool Job" or "Model Job".

References a modeled action which can be executed when the corresponding job has ended. The action is added to the context menu of the job in the Jobs view.

See Batch Execution for more information.

Tool Parameter

Tool input and output parameters have to be defined corresponding to the expected input and output parameters of the attached ISPF tool.