| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Start System/36 Procedure (STRS36PRC) command starts a System/36 procedure. It is valid whether or not the System/36 Environment is active, but it is not valid if a System/36 procedure is already running. It cannot be placed in a procedure or in a program that is called by a procedure.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| PRC | Procedure | Name | Required, Positional 1 |
| CURLIB | Current library | Name, *SAME | Optional, Positional 2 |
| PARM | Procedure parameters | Character value | Optional, Positional 3 |
| Top |
Specifies the name of the System/36 procedure to run. The procedure is a member of source physical file QS36PRC. The library search order for locating QS36PRC is:
This is a required parameter.
| Top |
Specifies the current library to use to run the System/36 procedure.
| Top |
Specifies procedure parameters for the procedure. Procedure parameters allow information to be passed to the procedure. If no parameters are specified, no parameters are passed to the procedure.
| Top |
Example 1: Changing the Current Library
STRS36PRC PRC(PROC1) CURLIB(MYLIB)
This command changes the current library to MYLIB and runs procedure PROC1.
Example 2: Listing Files Used by the System
STRS36PRC PRC(CATALOG) PARM('ALL,F1')
This command lists all files used by the System/36 environment.
| Top |
| Top |