NewETAPE projectEmuframe Tape Server (ETAPE) project
IBM Z Workload Schedulerv9.5
This page was auto-translated from Spanish

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications

With this article we check that the product installation went well.

Workstations

We enter TWS and go to option 1 – Database.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 1

We enter option 1 – WS (Work station description).

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 2

Option 2 – List WS.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 3

We press Enter without typing anything.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 4

We type the CREATE command to create a new WS.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 5

Computer workstation

We create the following Computer type WS to run the jobs:

Work Station Name: CPUP (for example)

Description: Workstation CPU

Work Station Type: C (Computer)

Reporting ATTR: A

Server Usage: B

Destination: NCFOPCT (LU of the tracker)

Duration: 00.02.00.

If we had other trackers on other systems, we would have to create a WS of this type so that the jobs run on those systems. In Destination we would put the LU of their tracker.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 6

Once the data is entered, we type "A" on the command line to go to the "Availability" option and define when we want the WS to be open.

In this case the days of the week are defined and all of them are "Standard". This means they behave as the "Standard" option is defined. We enter the "Standard" option with "S".

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 7

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 8

We see that this WS will be available 24 hours a day, every day of the week, and can run up to 99 jobs at the same time.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 9

We press F3 until the message shows that the WS has been created.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 10

Job Setup workstation

Following the same steps we create a "Job Setup" type WS. This type of WS is used when the JCL has to be edited before it is submitted.

We enter the following data:

Work Station Name: CPJS (for example)

Description: Job Setup WS (for example)

Work Station Type: G (General)

Reporting ATTR: S (Manual start and completion)

Server Usage: P

Split table: Y

Job Setup: Y

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 11

Non-reporting workstation

Now we create a "Non-reporting" type WS. This type of WS can be used for the start of the applications. It does no processing: the operation simply completes when it "runs". It would be like an empty IEFBR14 job on a "Computer" WS.

We enter the following data:

Work Station Name: CTRL (for example)

Description: Non-Reporting WS (for example)

Work Station Type: G (General)

Reporting ATTR: N (Non reporting)

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 12

Wait workstation

The last WS we create is a "Wait" type, used to hold an application on an operation.

We use the following data:

Work Station Name: WAIT (for example)

Description: Wait WS (for example)

Work Station Type: G (General)

Reporting ATTR: N (Non reporting)

Wait: Y

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 13

All the WS are now created.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 14

Calendar

We go back to the Database menu and enter option 2 – Calendar.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 15

We enter option 2 – Modify Calendar.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 16

Since we have none, we type CREATE.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 17

Now we add the following data:

Calendar ID: CALENDARIO

Description: Calendario estándar

Work Day End Time: 23.59

Using option I (insert) in the "Row cmd" column, we add Monday to Sunday with status "Working Day". We can also add holidays, for example 22/01/01 (New Year's Day), using status "Free Day".

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 18

A message shows that the calendar has been added.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 19

Test job

Before creating a simple application, we have to add a job to the right library so it can run.

To find out which library the jobs must be stored in, we look for the TWS controller started task and check the EQQJBLIB DD. In my case, it is library OPC.V950.JOBLIB. In other cases it is common to have several job libraries. Keep in mind that if the same job is in several libraries, TWS uses the one that comes first in the concatenation of this DD.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 20

I create a simple job with an error, to see it fail when we run it.

//PRUEBA   JOB CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1)
//*
//BR141  EXEC XGM=IEFBR14

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 21

Application

We go back to the TWS Database menu and enter option 4 – AD (Application Descriptions).

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 22

Option 2 – Create.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 23

We fill in the data as shown in the image and type OPER on the command line to create the operations.

NOTE: In "VALID FROM" we can put an earlier day so that the application runs when we extend the plan.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 24

We create a simple application with a start, a job and an end.

For the START (INICIO) and END (FIN) operations we use the CTRL WS, since they complete by themselves. For the END operation we use operation number 250 because, if we add operations in the future and other applications depend on this operation, we will not have to change the dependencies of the other applications.

For the PRUEBA operation we use the CPUP WS, because it is a job that will run.

Once the fields are filled in as in the image, we use the PRED command to set the dependencies between operations.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 25

Operation 005 gets operation 001 as its predecessor. Operation 250 gets operation 005 as its predecessor.

To stop this application from running as soon as the Current Plan is extended, we have to tell it to wait for its run time. To do so, we enter the first operation with an S.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 26

We enter option 4 - AUTOMATIC OPTIONS.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 27

In the TIME DEPENDENT field we put Y.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 28

Run cycle rule

We press F3 three times and use the RUN command to set when this application runs.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 29

We add the following data (these are example values, they can be different):

Rule name: RULE1

Input: 12.00 (the time at which we want the application to be planned)

Deadline day: 01 (so that it runs on the next day at the latest)

Deadline HH.MM: 23.59

We press Control to load the rest of the data. We change the "F day rule" field to 3 so that it also runs on holidays.

The IBM manual has more information on the free day rules (you can also press F1 for the help).

This application will start running at 12.00 and its deadline is the next day at 23.59.

To edit the run days, we enter the rule with an S.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 30

We mark the Every, Day and Week fields with an S so that it runs every day of the week. Then we type the GENDAYS command to see the generated calendar.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 31

The message VALID RULE is shown.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 32

We press F3 back to the Application Description menu and the message "APPLICATION CREATED" is shown.

IBM Z Workload Scheduler 9.5 - Creating Workstations, Calendars and Applications – screenshot 33

We have now created four types of WS, a calendar and a simple test application. The next step is to create the Long Term Plan and the Current Plan: IBM Z Workload Scheduler 9.5 - Creating the Long Term Plan and Current Plan.

© 2026 Emuframe·🍪 This site only uses functional cookies. No tracking or personal data collection.

On this page