Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Create Subsystem Description (CRTSBSD) command creates a subsystem description that defines the operational attributes of a subsystem. After the subsystem description is created, it can be specialized by commands that add, change, and remove work entries and routing entries in the subsystem description.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SBSD | Subsystem description | Qualified object name | Required, Positional 1 |
Qualifier 1: Subsystem description | Name | ||
Qualifier 2: Library | Name, *CURLIB | ||
POOLS | Storage pools | Values (up to 10 repetitions): Element list | Required, Positional 2 |
Element 1: Pool identifier | 1-10 | ||
Element 2: Storage size | Integer, *BASE, *NOSTG, *INTERACT, *SPOOL, *SHRPOOL1, *SHRPOOL2, *SHRPOOL3, *SHRPOOL4, *SHRPOOL5, *SHRPOOL6, *SHRPOOL7, *SHRPOOL8, *SHRPOOL9, *SHRPOOL10, *SHRPOOL11, *SHRPOOL12, *SHRPOOL13, *SHRPOOL14, *SHRPOOL15, *SHRPOOL16, *SHRPOOL17, *SHRPOOL18, *SHRPOOL19, *SHRPOOL20, *SHRPOOL21, *SHRPOOL22, *SHRPOOL23, *SHRPOOL24, *SHRPOOL25, *SHRPOOL26, *SHRPOOL27, *SHRPOOL28, *SHRPOOL29, *SHRPOOL30, *SHRPOOL31, *SHRPOOL32, *SHRPOOL33, *SHRPOOL34, *SHRPOOL35, *SHRPOOL36, *SHRPOOL37, *SHRPOOL38, *SHRPOOL39, *SHRPOOL40, *SHRPOOL41, *SHRPOOL42, *SHRPOOL43, *SHRPOOL44, *SHRPOOL45, *SHRPOOL46, *SHRPOOL47, *SHRPOOL48, *SHRPOOL49, *SHRPOOL50, *SHRPOOL51, *SHRPOOL52, *SHRPOOL53, *SHRPOOL54, *SHRPOOL55, *SHRPOOL56, *SHRPOOL57, *SHRPOOL58, *SHRPOOL59, *SHRPOOL60 | ||
Element 3: Activity level | Integer | ||
MAXJOBS | Maximum jobs | 0-1000, *NOMAX | Optional, Positional 3 |
TEXT | Text 'description' | Character value, *BLANK | Optional |
SGNDSPF | Sign-on display file | Single values: *QDSIGNON Other values: Qualified object name |
Optional |
Qualifier 1: Sign-on display file | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
SYSLIBLE | Subsystem library | Name, *NONE | Optional |
AUT | Authority | Name, *LIBCRTAUT, *CHANGE, *ALL, *USE, *EXCLUDE | Optional |
Top |
Specifies the name and library of the subsystem description being created. The subsystem description is stored in the specified library.
This is a required parameter.
Qualifier 1: Subsystem description
Qualifier 2: Library
For more information on subsystem descriptions, see the Work Management Guide.
Top |
Specifies one or more storage pool definitions that are in this subsystem description. Each definition specifies for one storage pool:
A maximum of 10 storage pool definitions can be specified for the subsystem description being created. Although each subsystem description can have as many as 10, there is an operational limitation on how many active storage pools can be in the system. In the system, no more than 64 storage pools can be active at any time, including the base storage pool and the machine storage pool. (A storage pool for which *NOSTG has been specified is not considered active, and it is not allocated to any subsystem.)
If a subsystem is started for which all of its storage pools cannot be allocated without exceeding the 64-pool system maximum, the pools that can be allocated (up to the limit) are allocated and the remainder are not. Then, for each routing step started by that subsystem that normally is routed into one of the pools that was not allocated, the base pool is used instead.
This is a required parameter.
You can specify 10 values for this parameter.
Element 1: Pool identifier
Element 2: Storage size
Element 3: Activity level
Top |
Specifies the maximum number of jobs that can be active at the same time in the subsystem controlled by this subsystem description. The maximum applies to all jobs that are started and are waiting or running, except for jobs on the job queue or jobs that have finished running.
Top |
Specifies the text that briefly describes the object.
Top |
Specifies the name and library of the sign-on display file that is used when showing sign-on displays at work stations allocated to the subsystem. If the specified sign-on display file does not exist when the subsystem description is created or changed, you must specify a library qualifier because the qualified sign-on display file name is kept by the system. The sign-on display file must contain a record format named SIGNON.
Note: The sign-on display file can be changed when the subsystem is active. However, the new sign-on display file is not used until the next time the subsystem is started.
Note: If the user invoking this command has use (*USE) authority to the display file and execute (*EXECUTE) authority to its library, format checks of the display file can be made. This helps predict that the display will work correctly when the subsystem is started. Otherwise, those format checks will not be performed.
Single values
Qualifier 1: Sign-on display file
Qualifier 2: Library
Top |
Specifies a library that is entered ahead of other libraries in the system portion of the library list. This parameter allows you to use a secondary language library.
Restrictions:
Top |
Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.
Top |
Example 1: Creating a Description With a Signon Display File
CRTSBSD SBSD(BAKER) POOLS((1 *BASE)(2 2000 4)) SGNDSPF(*LIBL/NEWSGNON) TEXT ('Subsystem for running Baker Department jobs')
This command creates a subsystem description named BAKER and stores it in the current library. If there is no current library, then it is stored in the general purpose library (QGPL). Storage pool definition 1 specifies that pool 1 is to share the base system pool; the definition of storage pool 2 is to have 2000K of storage and an activity level of 4. There is no limit in this subsystem description on the number of jobs that can be active at the same time. The activity levels in the subsystem may, however, be controlled by MAXACT parameters specified in work station entries, job queue entries, and routing entries that are in the subsystem. The sign-on display file is NEWSGNON and is used when showing sign-on displays at work stations allocated to the BAKER subsystem. The user's library list is searched for the NEWSGNON display file.
Example 2: Creating a Description that Contains Three Storage Pool Definitions
CRTSBSD SBSD(MEDLIB/MEDICAL) POOLS((1 1500 2) (2 *BASE) (3 *NOSTG)) MAXJOBS(5) TEXT('Medical files inquiry and update')
This command creates a subsystem description named MEDICAL and stores it in the MEDLIB library. The subsystem description contains three storage pool definitions: storage pool 1 is defined to have 1500K of storage and an activity level of 2, pool 2 is to share the base system pool, and pool 3 is defined first to be inactive when the other pools are active--it has no storage and no activity level. Up to five jobs can be active at the same time in this subsystem. A text description briefly describes the subsystem.
Top |
Top |