CL Command Reference - ADDWSE

CL Command List > ADDWSE Reference

Description:

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:

. The job associated with an active subsystem can only find objects that exist in the system auxiliary storage pool (ASP) or in a basic user ASP. Therefore, objects that are referenced by this command should exist in the system ASP or in a basic user ASP.

Restrictions:

1. To use this command, you must have:
. object operational (*OBJOPR), object management (*OBJMGT), and read (*READ) authority to the specified subsystem description and execute (*EXECUTE) authority to the library containing that subsystem description.
. object operational (*OBJOPR) and read (*READ) authority to the job description and execute (*EXECUTE) authority to the library containing that job description.

2. Only a user with all object (*ALLOBJ) special authority is allowed to add an entry for which the job description does not exist.



Examples:

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.