Using the FUSQREXX Exec to Queue a REXX Exec

You can queue a REXX exec to be executed within the platform server address space by using the FUSQREXX exec.

Note: When the command field contains imbedded spaces, all FUSQREXX parameters must be delimited by a comma.

Example

The following example shows a sample FUSQREXX exec:

FUSQREXX COMMAND=FUSINQ TRN=IA038* CFG=*,CFG=FUSION_STC

This command cause the following two parameters to be passed to the FUSQREXX exec:
  • CFG=*: indicates that when the FUSINQ exec is executed, the config file points to the started task under which the exec is running.
  • CFG=FUSION_STC: informs the platform server REXX to queue the transfer to the server defined by the FUSCFG member in the platform server EXECS library.

This command queues a REXX exec to the server defined by the FUSCFG member in the platform server EXECS library.

The command to be executed is as follows:

FUSINQ TRN=IA03812456 REPORT=LONG CFG=*