FUSSCRPT

You can use the FUSSCRPT exec to queue a request to schedule a script request to run by the platform server.

Required Parameter

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

Parameter Description
SCRIPT Defines the name of the script file to be executed.

If the script file contains imbedded commas, the commas must be replaced with colons (:). The FUSSCRPT exec will then replace the colons with commas.

Optional Parameters

The following table lists the optional parameters of the FUSSCRPT 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 the description of the platform server Batch interface EVERY parameter 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 n section 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 section 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 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 section 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.

Delimiter

You can pass a symbolic parameter to the FUSSCRPT exec by using a tilde character (~) instead of a comma.

Example

The following example shows how to pass a symbolic parameter to the FUSSCRPT exec by using a tilde character (~):

FUSQSUB LF=YOUR.JCL.LIBRARY(MEMBER)~&LF=ABC.DEF