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. |
| EVERY_COUNT | Defines the number of times that an EVERY request can be executed. |
| EVERY_EXDAYS | Defines the expiration interval in days for a transfer scheduled by an EVERY request. |
| EVERY_EXTIME | Defines the expiration interval in hours and minutes for a transfer scheduled by an EVERY request. |
| EVERY_MISSED | Defines whether a request is scheduled when the interval defined by the EVERY request has passed. |
| HOLD | Defines whether a request is put on hold when it is queued.
The valid values are as follows:
|
| 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. |
| PPA | Defines the preprocessing or postprocessing actions that are performed for the file transfer. The format of the PPA command is:
Where Status is:
Where Source is:
Where Action is: Where Data is: The data to be processed |
| 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. Default =300 seconds. See TIMEOUT parameter in "Waiting for Transfer Requests to Complete".
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