CL Command Reference - CRTSBSD

CL Command List > CRTSBSD Reference

Description:

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:

1. To use this command, you must have:
. read (*READ) and add (*ADD) authority to the library where the subsystem description is to be created.
. all object (*ALLOBJ) and security administration (*SECADM) special authority to specify a value other than *NONE for a system library list entry.


Examples:

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.