Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Add Work Station Entry (ADDWSE) command adds a work station job entry to the specified subsystem description. Each entry describes one or more work stations that are controlled by the subsystem. The work stations identified in the work station entries are allowed to sign on or enter the subsystem and run jobs.
Notes:
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SBSD | Subsystem description | Qualified object name | Required, Positional 1 |
Qualifier 1: Subsystem description | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
WRKSTN | Work station name | Generic name, name | Optional, Positional 2 |
WRKSTNTYPE | Work station type | *ALL, 3179, 3180, 3196, 3197, 3277, 3278, 3279, 3476, 3477, 3486, 3487, 5251, 5291, 5292, 5555, *ASCII, CONS, *CONS, *NONASCII | Optional, Positional 3 |
JOBD | Job description | Single values: *USRPRF, *SBSD Other values: Qualified object name |
Optional, Positional 4 |
Qualifier 1: Job description | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
MAXACT | Maximum active jobs | 0-1000, *NOMAX | Optional |
AT | Allocation | *SIGNON, *ENTER | Optional |
Top |
Specifies the name and library of the subsystem description to which the work station job entry is added.
This is a required parameter.
Qualifier 1: Subsystem description
Note: The following IBM-supplied objects are not valid on this parameter:
Qualifier 2: Library
Top |
Specifies the name of the work station used by the subsystem. The device description name that was specified in the Create Device Desc (Display) (CRTDEVDSP) command associated with the work station is the name used.
Double-Byte Character Set Considerations: For double-byte character set (DBCS), a work station whose type is 5555 must be specified for either this parameter or the Work station type (WRKSTNTYPE) parameter, but not for both.
Note: Specifying a generic work station name does not result in multiple entries being added, changed, or removed.
A value must be specified on either this parameter or the Work station type (WRKSTNTYP) parameter, but not for both.
Top |
Specifies the type of work station associated with the entry being added, changed, or removed. This entry applies to all work stations of this type that do not have specific entries for an individual work station.
A value must be specified on either this parameter or the Work station name (WRKSTN) parameter, but not for both.
Top |
Specifies the name and library of the job description used for jobs started through this work station entry. If the job description does not exist when the entry is added, a library qualifier must be specified because the qualified job description name is kept in the subsystem description.
Note: Only a user with all object (*ALLOBJ) special authority is allowed to add or change an entry for which the job description does not exist.
Single values
Qualifier 1: Job description
Qualifier 2: Library
Top |
Specifies, for work stations that use this work station job entry, the maximum number of work station jobs that can be active at the same time.
Top |
Specifies how the work stations associated with this job entry are allocated. For more information on how work stations are allocated to subsystems, see the Start Subsystem (STRSBS) command.
Top |
Example 1: Adding a Work Station Job Entry
ADDWSE SBSD(LIB7/ORDER) WRKSTNTYPE(5251) JOBD(QCTL) AT(*SIGNON)
This command adds a work station job entry to a subsystem description named ORDER in library LIB7. All type 5251 work stations are allocated to this subsystem when the subsystem is started, unless they are already active in a previously started subsystem. After sign-on is complete, the IBM-supplied job description QCTL is used to start the routing step.
Example 2: Adding a Work Station Job Entry
ADDWSE SBSD(LIB7/ORDER) WRKSTN(A12) JOBD(LIB7/ORDER) AT(*ENTER)
This command adds a work station job entry for work station A12 to a subsystem description named ORDER in library LIB7. Interactive jobs associated with work station A12 are allowed to enter this subsystem through the Transfer Job (TFRJOB) command.
Top |
*ESCAPE Messages
Top |