Allocating the VSAM data sets
Perform this task if you are installing a controller.
Table 23 shows the VSAM data sets and their characteristics. The JCL procedure for the controller uses all of these data sets except for EQQLDDS and EQQLTBKP, which are used only in the planning batch jobs. Allocate all these VSAM data sets for a controller.
Sample | DD name | Record type | Attributes | Share option | Keys | Record size | Data set |
---|---|---|---|---|---|---|---|
EQQPCS01 | EQQADDS | KSDS | UNIQUE SPANNED | 3 | 25 0 | 1000 131072* | Application description |
EQQPCS01 | EQQCP1DS | KSDS | REUSE NSPND | 3 | 19 0 | 200 32000 | Current plan 1 |
EQQPCS01 | EQQCP2DS | KSDS | REUSE NSPND | 3 | 19 0 | 200 32000 | Current plan 2 |
EQQPCS01 | EQQCXDS | KSDS | REUSE NSPND | 3 | 64 0 | 500 32000 | Current plan extension |
|EQQPCS01 | |EQQXD1DS | |KSDS | |REUSE NSPND | |3 | |68 0 | |500 32000 | |Extended data 1 |
|EQQPCS01 | |EQQXD2DS | |KSDS | |REUSE NSPND | |3 | |68 0 | |500 32000 | |Extended data 2 |
|EQQPCS01 | |EQQNXDDS | |KSDS | |REUSE NSPND | |3 | |68 0 | |500 32000 | |New extended data |
EQQPCS01 | EQQJS1DS | KSDS | REUSE SPANNED | 3 | 28 0 | 804 180004 | JCL repository 1 |
EQQPCS01 | EQQJS2DS | KSDS | REUSE SPANNED | 3 | 28 0 | 804 180004 | JCL repository 2 |
EQQPCS01 | EQQLDDS | KSDS | REUSE SPANNED | 2 | 28 0 | 440 131072 | Long-term-plan work |
EQQPCS01 | EQQLTBKP | KSDS | REUSE SPANNED | 3 | 28 0 | 200 131072 | Long-term-plan backup |
EQQPCS01 | EQQLTDS | KSDS | REUSE SPANNED | 3 | 28 0 | 200 131072 | Long-term plan |
EQQPCS01 | EQQNCPDS | KSDS | REUSE NSPND | 3 | 19 0 | 200 32000 | New current plan |
EQQPCS01 | EQQNCXDS | KSDS | REUSE NSPND | 3 | 64 0 | 500 32000 | New current plan extension |
EQQPCS01 | EQQOIDS | KSDS | UNIQUE NSPND | 3 | 28 0 | 800 32000 | Operator instruction |
EQQPCS07 | EQQPKIxx | KSDS | UNIQUE INDEXED | 1,3 | 34 0 | 77 77 | Primary Index |
EQQPCS01 | EQQRDDS | KSDS | UNIQUE NSPND | 3 | 64 0 | 400 32000 | Special resource descriptions |
EQQPCS07 | EQQSDFxx | LINEAR | N/A | 2,3 | N/A | N/A | Data files |
EQQPCS01 | EQQSIDS | KSDS | UNIQUE NSPND | 3 | 64 0 | 110 220 | Side information file: ETT and configuration information |
EQQPCS07 | EQQSKIxx | KSDS | UNIQUE INDEXED | 1,3 | 38 0 | 76 32000 | Secondary Index |
EQQPCS01 | EQQWSDS | KSDS | UNIQUE NSPND | 3 | 10 0 | 100 32000 | Workstation, calendar, and period descriptions. |
EQQPCS01 | EQQSCPDS | KSDS | REUSE NSPND | 3 | 19 0 | 200 32000 | Current plan backup copy for Symphony creation and for IBM® Tivoli® Monitoring integration |
Note:
|
You can allocate the VSAM data sets by submitting the sample listed in Table 23. Alternatively, you can allocate one or more of the VSAM data sets by running a job like this:
Allocating a VSAM data set //ALOCVSAM JOB STATEMENT PARAMETERS //*----------------------------------* //* ALLOCATE AN OPC VSAM DATA SET * //*----------------------------------* //ALLOC EXEC PGM=IDCAMS,REGION=512K //SYSPRINT DD SYSOUT=Q //EQQVOL1 DD DISP=OLD,VOL=SER=volser,UNIT=3390 //SYSIN DD * DEFINE + CLUSTER ( + NAME('OPC.INST.AD') UNIQUE + SPANNED + SHR(3) VOL(volser) CYLINDERS(2 2) + ) + DATA ( + NAME('OPC.INST.ADDATA') + KEYS(25 0) RECORDSIZE(1000 132072) + ) + INDEX ( + NAME('OPC.INST.ADINDEX') + ) /*
This example allocates the application description database.
You can allocate VSAM data sets on different device types.
Allocate enough space for your data sets, depending upon the amount of work Tivoli Workload Scheduler for z/OS processes at your installation. You can use Table 24 as a guide to allocate space for VSAM data sets.
Data set | Size in bytes is total of: | |
---|---|---|
Number of | Multiplied by | |
Application description (EQQADDS) |
Application and group definitions Run cycles Positive run days Negative run days Operations Internal dependencies External dependencies Special resources Operation Extended Information Variable tables Variables Variable dependencies Extended Name |
208 120 3 3 110 16 84 64 200 98 476 88 |
Current plan (EQQCPnDS) |
Header record (one only) Workstations Workstation open intervals Workstation access method data Occurrences Operations Dependencies Special resource references Operation Extended Information Jobs Executed steps Print operations Unique application names Operations currently in error Reruns of an operation Potential predecessor occurrences Potential successor occurrences Operations for which job log information has been collected Stand-alone clean up Restart and clean up operinfo retrieved Number of occurrences |
188 212 48 72 302 356 14 64 200 116 20 20 64 264 264 32 24 111 70 44 43 |
|Extended data (EQQXDnDS and EQQNXDDS) | |
| Header record (one only) |Bind requests | |
|
| 244 |565 | |
JCL repository (EQQJSnDS) |
Number of jobs and started tasks Total lines of JCL Operations for which job log information has been collected Total lines of job log information |
80 80 107 143 |
Note:
As a base, calculate
a figure for all your jobs and started tasks controlled by Tivoli Workload Scheduler for z/OS.
Add to this figure the expected space required for jobs and started
tasks in the current plan. |
||
Long-term plan (EQQLTDS) |
Header record (one only) Occurrences External dependencies Operations changed in the LTP dialog |
92 160 35 58 |
Operator instruction (EQQOIDS) |
Instructions Instruction lines |
78 72 |
Special resource database (EQQRDDS) |
Resource definitions Defined intervals Entries in the WS connect table |
216 48 8 |
Side information file (EQQSIDS) | ETT requests |
128 |
Workstation/calendar (EQQWSDS) |
Calendars Calendar dates Periods Period origin dates Workstation closed dates Workstations Workstation access method data Interval dates Intervals |
96 52 94 6 80 124 72 52 32 |
Note:
|
Consider the following information when allocating VSAM data sets.
Application description data set (EQQADDS)
The application description data set contains application descriptions and JCL variable tables. This data set is allocated as a spanned data set by EQQPCS01. It has a default maximum record size of 131 072. This allocation limits the variable definitions in a variable table to 275 (131 072/476 = 275), provided there are no variable dependencies. If you also use variable dependencies, the number of variables in a JCL variable table is less than 275.
If you will use a greater number of variable definitions in a variable table, allocate the application description data set with a greater record size. To calculate how great the record size should be, use this method:
LRECL = 86 + (maximum number of variables in one table * 476) + (number of variable dependencies * 88)
where 86 is the length of the header record, 476 is the length of each variable record and 88 is the length of each variable dependency record.
This VSAM data set must be allocated with share option set to 3 SHR(3). Do not use share option 2 or 1.
Current plan data sets (EQQCPnDS)
The current plan VSAM files are opened and closed many times by Tivoli Workload Scheduler for z/OS during normal processing. If Tivoli Workload Scheduler for z/OS is unable to open one of the files, for example if the file is already opened by another job or TSO user, the normal mode manager (NMM), is terminated. The NMM issues message EQQN027E which reports the reason for the unexpected termination. You can issue a MODIFY command to restart the NMM subtask.
It is recommended that you do not access the current plan files from outside the Tivoli Workload Scheduler for z/OS address space. Backups of current plan information should be taken from the new current plan (EQQNCPDS). Shut down the controller address space if full-pack backups are taken of the volumes where the data sets reside.
| |Data sets for extended data (EQQXDnDS)
|The extended data VSAM files are opened and closed by Tivoli Workload Scheduler for z/OS together |with the current plan VSAM files. For this reason, the same considerations |for the current plan data sets apply to the data sets for the extended |data.
Current plan backup copy data set (EQQSCPDS)
During the creation of the current plan, the SCP data set is used as a CP backup copy for the production of the Symphony file and for the integration with IBM Tivoli Monitoring.
This VSAM data set must be allocated with share option set to 3 SHR(3). Do not use share option 2 or 1.
JCL repository data sets (EQQJSnDS)
Take special care when allocating the JCL repository data sets. The following information describes the allocation and use of these data sets.
Tivoli Workload Scheduler for z/OS maintains its own copy of JCL in the JCL repository data set for every job that it submits in the current plan. It uses a primary and alternate data set for the JCL repository, EQQJS1DS and EQQJS2DS. It reorganizes the JCL repository data set that is in use by copying it to the alternate data set and then switching over to use the newly copied data set. The value you specify on the MAXJSFILE keyword defines whether the JCL repository should be automatically copied and determines how often the automatic copy process should occur.
Use the EQQPCS01 sample job created by the EQQJOBS installation aid to allocate the JS data sets. This job allocates the JS data sets with the SPANNED attribute and maximum record size 180 000. This limits the maximum number of JCL statements to 2 249 for any one job. If you run jobs with a greater number of JCL statements, increase the record size. Calculate the required record size, in bytes, by multiplying the number of JCL statements in your largest job by 80, and add an extra 80 bytes for the header record. If you define your JS file without SPANNED, the greatest maximum record size that you can specify is 32 760 bytes. This lets you store a job with up to 408 JCL records. If you define the JS data sets with SPANNED, the maximum record size you can specify is slightly less than a control area (CA). If you use the EQQUX002 exit, the largest job that can be returned by this exit is 7 599 JCL records. Consider this, when you define the maximum record size of the JS data sets.
|
|An extended-format |data set for VSAM can be allocated for JS data sets that exceed 4 |GB.
Operator Instruction data set (EQQOIDS)
The operator instruction (OI) database contains operator instructions, each of which corresponds to an operation in the AD database and provides specific instructions about how this operation has to be handled.
This VSAM data set must be allocated with share option set to 3 SHR(3). Do not use share option 2 or 1.