FUSQREXX

You can use the FUSQREXX exec to queue a REXX exec to be executed within the address space.

Required Parameter

The following table lists the required parameter of the FUSSCMD exec:

Parameter Description
COMMAND Defines the REXX command to execute. This command can be up to 255 bytes.
Note: If the COMMAND parameter contains imbedded spaces, all the platform server parameters must be delimited by commas instead of the normal space delimiter.

Optional Parameters

The following table lists the optional parameters of the FUSQREXX exec:

Parameter Description
CONFIG | CFG Defines the configuration file used by the exec.

If this parameter is not defined, the platform server REXX uses the default configuration.

DATE Defines the start date of the request in Julian format, ccyyddd.
DESCRIPTION Defines the user data for the transfer in 25 bytes.
EVERY Defines the interval at which the request will be executed.

For more information on this parameter, see the description of the Platform Server Batch interface EVERY parameter in section in the Batch Interface section, see SYSIN Coding Parameters in SYSIN DD Statement. .

EVERY_COUNT Defines the number of times that an EVERY request can be executed.

For more information on the description of the Platform Server Batch interface EVERY_COUNT parameter in the Batch Interface section, see SYSIN Coding Parameters in SYSIN DD Statement.

EVERY_EXDAYS Defines the expiration interval in days for a transfer scheduled by an EVERY request.

For more information on the description of the Platform Server Batch interface EVERY_EXDAYS parameter in the Batch Interface section, see SYSIN Coding Parameters in SYSIN DD Statement.

EVERY_EXTIME Defines the expiration interval in hours and minutes for a transfer scheduled by an EVERY request.

For more information on the description of the platform server Batch interface EVERY_EXTIME parameter in the Batch Interface section, see SYSIN Coding Parameters in SYSIN DD Statement.

EVERY_MISSED Defines whether a request is scheduled when the interval defined by the EVERY request has passed.

For more information on the description of the platform server Batch interface EVERY_MISSED parameter in the Batch Interface section, see SYSIN Coding Parameters in SYSIN DD Statement.

HOLD Defines whether a request is put on hold when it is queued.

The valid values are as follows:

  • Yes: puts the transfer on hold when it is queued.
  • No: does not put the transfer on hold when it is queued. This is the default option.
INTERVAL Defines the status scan interval.
Note: This parameter is ignored unless the WAIT parameter is specified.
MWAIT Puts a request on a queue, and returns to the caller before the request is completed.
PROCESS Defines the process name that is associated with the request.
PURGE Purges uncompleted transfers when the TIMEOUT interval expires.
Note: This parameter is ignored unless the WAIT parameter is specified.
REXX_EXEC Defines a REXX exec that will be executed when the platform server request is completed, either successfully or unsuccessfully.
Note: This exec will only be executed when the platform server request is purged from the active queue.
SAY Writes a status record on each status scan.
Note: This parameter is ignored unless the WAIT parameter is also specified.
TIME Defines the start time of the request in 24-hour clock format, hhmm.
TIMEOUT Defines the timeout interval.
Note: This parameter is ignored unless the WAIT parameter is specified.
WAIT Waits for this request to be completed before returning to REXX.