Previous Topic Next topic Print topic


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 which are described in Attaching ISPF Tools.

Tool Attributes:

Attribute Type Meaning
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 Executionfor 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 Team Developer Job 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.

Previous Topic Next topic Print topic