Appendix B. PJS Data Areas
The following sections contain information about the PJS Options Table, the PJS Vector Table, the PJS Request Queue Entry, the PJSQ Queue Control Record, the PJSQ Owner Record, the PJSQ Job Request Record, the PJSQ Calendar Record, and the PJSQ Event Record. This information may change from release to release.
DSECT Name: PJSOPT
Macro ID: PJSOPT
Size: 292 Bytes
Function: The PJS Options Table contains installation-defined constants that are used throughout the PJS system.
|
Offsets |
|
|
|
|
|
|
Dec |
Hex |
Type |
Length |
Name |
Description |
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSOPT |
PJS Options Table. |
|
|
|
|
|
|
|
|
0 |
(0) |
CHARACTER |
8 |
PJSOPT_TBL_ID |
PJSOPT Table Identifier. =CL8'PJSOPT' |
|
8 |
(8) |
CHARACTER |
8 |
PJSOPT_DATE |
PJSOPT Generation Date. |
|
16 |
(10) |
CHARACTER |
5 |
PJSOPT_TIME |
PJSOPT Generation Time. |
|
21 |
(15) |
CHARACTER |
8 |
PJSOPT_FMID |
PJSOPT Generation Macro FMID. |
|
29 |
(1D) |
CHARACTER |
8 |
PJSOPT_RMID |
PJSOPT Generation Macro RMID. |
|
37 |
(25) |
|
3 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
40 |
(28) |
|
4 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
44 |
(2C) |
CHARACTER |
44 |
PJSOPT_PJSQDSN |
PJSQ Data Set Name. |
|
88 |
(58) |
CHARACTER |
44 |
PJSOPT_JCLSDSN |
JCL Spool Data Set Name. |
|
132 |
(84) |
|
48 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
180 |
(B4) |
CHARACTER |
8 |
PJSOPT_TMPUNIT |
Temporary data set unit name. |
|
188 |
(BC) |
CHARACTER |
8 |
PJSOPT_ENQNAME |
QNAME for serialization. |
|
196 |
(C4) |
|
8 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
204 |
(CC) |
BINARY |
4 |
PJSOPT_SCANINT |
PJSQ long scan interval time. |
|
208 |
(D0) |
BINARY |
4 |
PJSOPT_RETRY_NUM |
Job submit retry max number. |
|
212 |
(D4) |
BINARY |
4 |
PJSOPT_RETRY_INT |
Job submit retry interval. |
|
216 |
(D8) |
BINARY |
4 |
PJSOPT_CMPTIME |
Completed hold time. |
|
220 |
(DC) |
BINARY |
4 |
PJSOPT_DISTIME |
Disabled hold time. |
|
224 |
(E0) |
BINARY |
4 |
PJSOPT_ERRTIME |
Error hold time. |
|
228 |
(E4) |
|
4 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
232 |
(E8) |
BINARY |
4 |
PJSOPT_JCLSLIM1 |
JCL Spool limit for request. |
|
236 |
(EC) |
BINARY |
4 |
PJSOPT_JCLSLIM2 |
JCL Spool limit for owner. |
|
240 |
(F0) |
BINARY |
4 |
PJSOPT_TMPBLK |
Temporary data set blocksize. |
|
244 |
(F4) |
BINARY |
4 |
PJSOPT_TMPPRIM |
Temporary data set primary allocation. |
|
248 |
(F8) |
BINARY |
4 |
PJSOPT_TMPSEC |
Temporary data set secondary allocation. |
|
252 |
(FC) |
|
4 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
256 |
(100) |
BINARY |
4 |
PJSOPT_ISPFQSZ |
ISPF List Table size. |
|
260 |
(104) |
BINARY |
4 |
PJSOPT_PTBLSZ |
PJSTASK Post/Reset Table size. |
|
264 |
(108) |
BINARY |
4 |
PJSOPT_RRTBLSZ |
PJSTASK Ready Request Table size. |
|
268 |
(10C) |
BINARY |
4 |
PJSOPT_OTBLSZ |
PJSQMNT Owner Table size. |
|
272 |
(110) |
BINARY |
4 |
PJSOPT_ETBLSZ |
PJSQMNT Event Table size. |
|
276 |
(114) |
BINARY |
4 |
PJSOPT_STBLSZ |
PJSQMNT Spool Member Table size. |
|
280 |
(118) |
|
4 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
284 |
(11C) |
CHARACTER |
1 |
PJSOPT_RDRCLS |
INTRDR SYSOUT Class. |
|
|
|
|
|
|
|
|
285 |
(11D) |
BITSTRING |
1 |
PJSOPT_FLAGS |
Option Flags. |
|
|
|
1... .... |
|
PJSOPT_TSOAUTH |
Call TSO commands from an authorized environment. |
|
|
|
.1.. .... |
|
PJSOPT_JCLSAVEN |
JCL 'NOSAVE' may be used. |
|
|
|
..1. .... |
|
PJSOPT_JCLSAVES |
JCL 'SAVE' may be used. |
|
|
|
...1 .... |
|
PJSOPT_JCLSAVED |
JCL 'SAVE' is default. |
|
|
|
|
|
|
|
|
286 |
(11E) |
BINARY |
1 |
PJSOPT_DATEFMT |
Date format |
|
|
|
X'00' |
|
PJSOPT_DFMT_MDY |
mm/dd/yyyy |
|
|
|
X'01' |
|
PJSOPT_DFMT_DMY |
dd/mm/yyyy |
|
|
|
|
|
|
|
|
287 |
(11F) |
|
5 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
292 |
(124) |
|
|
PJSOPT_LEN |
Length of PJSOPT Table. |
DSECT Name: PJSVT
Macro ID: PJSVT
Size: 560 Bytes
Function: The PJS Vector Table contains run time global pointers and flags. The PJSVT is created by the main routine and then passed to each subroutine and subtask it calls.
|
Offsets |
|
|
|
|
|
|
Dec |
Hex |
Type |
Length |
Name |
Description |
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSVT |
PJS Vector Table. |
|
0 |
(0) |
CHARACTER |
8 |
PJSVT_TBL_ID |
PJSVT Table Identifier. =CL8'PJSVT' |
|
|
|
|
|
|
|
|
Installation options. May be modified by the Installation Options Exit (PJSOPTX). |
|||||
|
|
|
|
|
|
|
|
8 |
(8) |
CHARACTER |
44 |
PJSVT_PJSQDSN |
PJSQ Data Set Name. |
|
52 |
(34) |
CHARACTER |
44 |
PJSVT_JCLSDSN |
JCL Spool Data Set Name. |
|
96 |
(60) |
|
48 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
144 |
(90) |
CHARACTER |
8 |
PJSVT_TMPUNIT |
Temporary data set unit name. |
|
152 |
(98) |
CHARACTER |
8 |
PJSVT_ENQNAME |
QNAME for serialization. |
|
160 |
(A0) |
|
8 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
168 |
(A8) |
BINARY |
4 |
PJSVT_SCANINT |
PJSQ long scan interval time. |
|
172 |
(AC) |
BINARY |
4 |
PJSVT_RETRY_NUM |
Job submit retry max number. |
|
176 |
(B0) |
BINARY |
4 |
PJSVT_RETRY_INT |
Job submit retry interval. |
|
180 |
(B4) |
BINARY |
4 |
PJSVT_CMPTIME |
Completed hold time. |
|
184 |
(B8) |
BINARY |
4 |
PJSVT_DISTIME |
Disabled hold time. |
|
188 |
(BC) |
BINARY |
4 |
PJSVT_ERRTIME |
Error hold time. |
|
192 |
(C0) |
|
4 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
196 |
(C4) |
BINARY |
4 |
PJSVT_JCLSLIM1 |
JCL Spool limit for request. |
|
200 |
(C8) |
BINARY |
4 |
PJSVT_JCLSLIM2 |
JCL Spool limit for owner. |
|
204 |
(CC) |
BINARY |
4 |
PJSVT_TMPBLK |
Temporary data set blocksize. |
|
208 |
(D0) |
BINARY |
4 |
PJSVT_TMPPRIM |
Temporary data set primary allocation. |
|
212 |
(D4) |
BINARY |
4 |
PJSVT_TMPSEC |
Temporary data set secondary allocation. |
|
216 |
(D8) |
|
4 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
220 |
(DC) |
BINARY |
4 |
PJSVT_ISPFQSZ |
ISPF List Table size. |
|
224 |
(E0) |
BINARY |
4 |
PJSVT_PTBLSZ |
PJSTASK Post/Reset Table size. |
|
228 |
(E4) |
BINARY |
4 |
PJSVT_RRTBLSZ |
PJSTASK Ready Request Table size. |
|
232 |
(E8) |
BINARY |
4 |
PJSVT_OTBLSZ |
PJSQMNT Owner Table size. |
|
236 |
(EC) |
BINARY |
4 |
PJSVT_ETBLSZ |
PJSQMNT Event Table size. |
|
240 |
(F0) |
BINARY |
4 |
PJSVT_STBLSZ |
PJSQMNT Spool Member Table size. |
|
244 |
(F4) |
|
4 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
248 |
(F8) |
CHARACTER |
1 |
PJSVT_RDRCLS |
INTRDR SYSOUT Class. |
|
|
|
|
|
|
|
|
249 |
(F9) |
BITSTRING |
1 |
PJSVT_OPT_FLAGS |
Option Flags. |
|
|
|
1... .... |
|
PJSVT_OPT_TAUTH |
Call TSO commands from an authorized environment. |
|
|
|
.1.. .... |
|
PJSVT_OPT_JSAVEN |
JCL 'NOSAVE' may be used. |
|
|
|
..1. .... |
|
PJSVT_OPT_JSAVES |
JCL 'SAVE' may be used. |
|
|
|
...1 .... |
|
PJSVT_OPT_JSAVED |
JCL 'SAVE' is default. |
|
|
|
|
|
|
|
|
250 |
(FA) |
BINARY |
1 |
PJSVT_DATEFMT |
Date format |
|
|
|
X'00' |
|
PJSVT_DFMT_MDY |
mm/dd/yyyy |
|
|
|
X'01' |
|
PJSVT_DFMT_DMY |
dd/mm/yyyy |
|
|
|
|
|
|
|
|
251 |
(FB) |
|
5 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
Installation data areas. May be used by installation exits. |
|||||
|
|
|
|
|
|
|
|
256 |
(100) |
BINARY |
4 |
PJSVT_USER1 |
Installation use. |
|
260 |
(104) |
BINARY |
4 |
PJSVT_USER2 |
Installation use. |
|
264 |
(108) |
BINARY |
4 |
PJSVT_USER3 |
Installation use. |
|
268 |
(10C) |
BINARY |
4 |
PJSVT_USER4 |
Installation use. |
|
|
|
|
|
|
|
|
System environment data areas. Not to be modified by installation exits. |
|||||
|
|
|
|
|
|
|
|
272 |
(110) |
CHARACTER |
8 |
PJSVT_LEVEL |
PJS Version/Release/Level. |
|
|
|
|
|
|
|
|
280 |
(118) |
CHARACTER |
8 |
PJSVT_PGMNAME |
Main program name. |
|
|
|
|
|
|
|
|
288 |
(120) |
CHARACTER |
1 |
PJSVT_ENV |
System environment indicator |
|
|
|
C'I' |
|
PJSVT_ENV_ISP |
ISPF interface. |
|
|
|
C'J' |
|
PJSVT_ENV_JOB |
Batch utility job. |
|
|
|
C'S' |
|
PJSVT_ENV_STC |
PJS System Task. |
|
|
|
C'T' |
|
PJSVT_ENV_TSO |
TSO command processor. |
|
|
|
|
|
|
|
|
289 |
(121) |
BITSTRING |
1 |
PJSVT_SYS_FLAGS |
System flags. |
|
|
|
1... .... |
|
PJSVT_SYS_APF |
APF authorized environment. |
|
|
|
|
|
|
|
|
290 |
(122) |
|
2 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
292 |
(124) |
ADDRESS |
4 |
PJSVT_CPPL |
Pointer to TSO CPPL. |
|
|
|
|
|
|
|
|
296 |
(128) |
|
8 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
Pointers to routines. Not to be modified by installation exits. |
|||||
|
|
|
|
|
|
|
|
304 |
(130) |
ADDRESS |
4 |
PJSVT_PJSALLOC |
Pointer to Dynamic Allocation Service Routine. |
|
308 |
(134) |
ADDRESS |
4 |
PJSVT_PJSCALFM |
Pointer to Calendar Format Service Routine. |
|
312 |
(138) |
ADDRESS |
4 |
PJSVT_PJSCALID |
Pointer to Calendar-ID Input Service Routine. |
|
316 |
(13C) |
ADDRESS |
4 |
PJSVT_PJSCALU |
Pointer to Calendar Utility Service Routine. |
|
320 |
(140) |
ADDRESS |
4 |
PJSVT_PJSDATIM |
Pointer to Date/Time Service Routine. |
|
324 |
(144) |
ADDRESS |
4 |
PJSVT_PJSESTAE |
Pointer to ESTAE Routine. |
|
328 |
(148) |
ADDRESS |
4 |
PJSVT_PJSEVNFM |
Pointer to Event Format Service Routine. |
|
332 |
(14C) |
ADDRESS |
4 |
PJSVT_PJSEVNID |
Pointer to Event-ID Input Service Routine. |
|
336 |
(150) |
ADDRESS |
4 |
PJSVT_PJSFREQ |
Pointer to Calculate Next Run Date/Time Service Routine. |
|
340 |
(154) |
ADDRESS |
4 |
PJSVT_PJSJIO |
Pointer to JCL Data Set I/O Service Routine. |
|
344 |
(158) |
ADDRESS |
4 |
PJSVT_PJSJRQFM |
Pointer to Job Request Format Service Routine. |
|
348 |
(15C) |
ADDRESS |
4 |
PJSVT_PJSJRQID |
Pointer to Job Request-ID Input Service Routine. |
|
352 |
(160) |
ADDRESS |
4 |
PJSVT_PJSMSG |
Pointer to Message Format Service Routine. |
|
356 |
(164) |
ADDRESS |
4 |
PJSVT_PJSMSGC |
Pointer to Console Message Service Routine. |
|
360 |
(168) |
ADDRESS |
4 |
PJSVT_PJSMSGI |
Pointer to ISPF Message Service Routine. |
|
364 |
(16C) |
ADDRESS |
4 |
PJSVT_PJSMSGP |
Pointer to Print Message Service Routine. |
|
368 |
(170) |
ADDRESS |
4 |
PJSVT_PJSMSGT |
Pointer to TSO Terminal Message Service Routine. |
|
372 |
(174) |
ADDRESS |
4 |
PJSVT_PJSMSGU |
Pointer to TSO Send Message Service Routine. |
|
376 |
(178) |
ADDRESS |
4 |
PJSVT_PJSQIO |
Pointer to PJSQ I/O Service Routine. |
|
380 |
(17C) |
ADDRESS |
4 |
PJSVT_PJSSIO |
Pointer to JCL Spool I/O Service Routine. |
|
384 |
(180) |
ADDRESS |
4 |
PJSVT_PJSSPOOL |
Pointer to Copy JCL to Spool Service Routine. |
|
388 |
(184) |
ADDRESS |
4 |
PJSVT_PJSTEMP |
Pointer to Copy JCL to Temporary Data Set Service Routine. |
|
|
|
|
|
|
|
|
392 |
(188) |
|
16 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
408 |
(198) |
ADDRESS |
4 |
PJSVT_PJSIDFX |
Pointer to Installation Data Exit Routine. |
|
412 |
(19C) |
ADDRESS |
4 |
PJSVT_PJSSECX |
Pointer to Installation Security Exit. |
|
416 |
(1A0) |
ADDRESS |
4 |
PJSVT_PJSSUBX |
Pointer to Installation Submit Exit. |
|
|
|
|
|
|
|
|
420 |
(1A4) |
|
8 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
428 |
(1AC) |
ADDRESS |
4 |
PJSVT_ISPLINK |
Pointer to ISPF Service Routine. |
|
|
|
|
|
|
|
|
432 |
(1B0) |
|
8 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
Execution time parameters. Not to be modified by installation exits. |
|||||
|
|
|
|
|
|
|
|
440 |
(1B8) |
ADDRESS |
4 |
PJSVT_MSGDEST |
Pointer to default message destination list. |
|
|
|
|
|
|
|
|
444 |
(1BC) |
BINARY |
4 |
PJSVT_TEST_DATE |
Used for testing. |
|
448 |
(1C0) |
BINARY |
4 |
PJSVT_TEST_TIME |
Used for testing. |
|
|
|
|
|
|
|
|
452 |
(1C4) |
|
4 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
PJSMSGP data areas. Not to be modified by installation exits. |
|||||
|
|
|
|
|
|
|
|
456 |
(1C8) |
ADDRESS |
4 |
PJSVT_PRTDCB |
Pointer to printer DCB. |
|
460 |
(1CC) |
BINARY |
4 |
PJSVT_PRTDCB_LN |
Length of printer DCB. |
|
|
|
|
|
|
|
|
464 |
(1D0) |
BITSTRING |
1 |
PJSVT_PRT_FLAGS |
Printer file status flags. |
|
|
|
1... .... |
|
PJSVT_PRT_OPEN |
Printer data set open. |
|
|
|
.1.. .... |
|
PJSVT_PRT_CLOSED |
Printer data set closed. |
|
|
|
|
|
|
|
|
465 |
(1D1) |
|
7 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
PJSQIO data areas. Not to be modified by installation exits. |
|||||
|
|
|
|
|
|
|
|
472 |
(1D8) |
ADDRESS |
4 |
PJSVT_PJSQIOD |
Pointer to PJSQIO Data Area. |
|
476 |
(1DC) |
ADDRESS |
4 |
PJSVT_PJSQIOD_LN |
Length of PJSQIO Data Area. |
|
|
|
|
|
|
|
|
480 |
(1E0) |
ADDRESS |
4 |
PJSVT_PQCTL_REC |
Pointer to PJSQ Queue Control record. |
|
484 |
(1E4) |
ADDRESS |
4 |
PJSVT_PQOWN_REC |
Pointer to PJSQ Owner record. |
|
488 |
(1E8) |
ADDRESS |
4 |
PJSVT_PQJRQ_REC |
Pointer to PJSQ Job Request record. |
|
492 |
(1EC) |
ADDRESS |
4 |
PJSVT_PQCAL_REC |
Pointer to PJSQ Calendar record. |
|
496 |
(1F0) |
ADDRESS |
4 |
PJSVT_PQEVN_REC |
Pointer to PJSQ Event record. |
|
|
|
|
|
|
|
|
500 |
(1F4) |
BITSTRING |
1 |
PJSVT_PJSQ_FLAGS |
PJSQ file status flags. |
|
|
|
1... .... |
|
PJSVT_PJSQ_ALLOC |
PJSQ data set allocated. |
|
|
|
.1.. .... |
|
PJSVT_PJSQ_OPEN |
PJSQ data set open. |
|
|
|
|
|
|
|
|
501 |
(1F5) |
|
11 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
PJSSIO data areas. Not to be modified by installation exits. |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
512 |
(200) |
ADDRESS |
4 |
PJSVT_PJSSIOD |
Pointer to PJSSIO Data Area. |
|
516 |
(204) |
ADDRESS |
4 |
PJSVT_PJSSIOD_LN |
Length of PJSSIO Data Area. |
|
|
|
|
|
|
|
|
520 |
(208) |
BITSTRING |
1 |
PJSVT_SPL_FLAGS |
JCL Spool file status flags. |
|
|
|
1... .... |
|
PJSVT_SPL_ALLOC |
JCL Spool allocated. |
|
|
|
.1.. .... |
|
PJSVT_SPL_OPENI |
JCL Spool open for input. |
|
|
|
..1. .... |
|
PJSVT_SPL_OPENO |
JCL Spool open for output. |
|
|
|
...1 .... |
|
PJSVT_SPL_OPENI |
JCL Spool directory open. |
|
|
|
|
|
|
|
|
521 |
(209) |
|
7 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
PJSJIO data areas. Not to be modified by installation exits. |
|||||
|
|
|
|
|
|
|
|
528 |
(210) |
ADDRESS |
4 |
PJSVT_PJSJIOD |
Pointer to PJSJIO Data Area. |
|
532 |
(214) |
ADDRESS |
4 |
PJSVT_PJSJIOD_LN |
Length of PJSJIO Data Area. |
|
|
|
|
|
|
|
|
536 |
(218) |
BITSTRING |
1 |
PJSVT_JCL_FLAGS |
JCL Data Set file status flags. |
|
|
|
1... .... |
|
PJSVT_JCL_ALLOC |
JCL Data Set allocated. |
|
|
|
.1.. .... |
|
PJSVT_JCL_OPEN |
JCL Data Set open. |
|
|
|
|
|
|
|
|
537 |
(219) |
|
7 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
PJSSUB data areas. Not to be modified by installation exits. |
|||||
|
|
|
|
|
|
|
|
544 |
(220) |
|
8 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
552 |
(228) |
BITSTRING |
1 |
PJSVT_RDR_FLAGS |
INTRDR file status flags. |
|
|
|
1... .... |
|
PJSVT_RDR_ALLOC |
INTRDR allocated. |
|
|
|
.1.. .... |
|
PJSVT_RDR_OPEN |
INTRDR open. |
|
|
|
|
|
|
|
|
553 |
(229) |
|
7 |
RESERVED |
Reserved for future use. |
|
|
|
|
|
|
|
|
560 |
(230) |
|
|
PJSVT_LEN |
Length of PJS Vector Table. |
B.3 The PJS Request Queue Entry
DSECT Name: PJSQE
Macro ID: PJSQE
Size: Variable
Function: This DSECT describes the format of the PJS Request Queue Entry. This DSECT is used to map a general PJSQ record without the specific record type fields. This basically consists of the record length and the key. The data portion is referred to only by a single data area. The fields for each record type are described by other DSECTs.
|
Offsets |
|
|
|
|
|
|
Dec |
Hex |
Type |
Length |
Name |
Description |
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSQE |
PJS Request Queue Entry. |
|
|
|
|
|
|
|
|
The record descriptor word does not appear in the VSAM data set. |
|||||
|
|
|
|
|
|
|
|
0 |
(0) |
BINARY |
2 |
PJSQE_RECLEN |
Record length (including this field). |
|
2 |
(2) |
|
2 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
The following fields define the record key. |
|||||
|
|
|
|
|
|
|
|
4 |
(4) |
GROUP |
17 |
PJSQE_KEY |
Record Key. |
|
4 |
(4) |
BINARY |
1 |
PJSQE_TYPE |
Record Type. |
|
|
|
X'01' |
|
PJSQE_TYPE_CNTL |
Queue Control Record. |
|
|
|
X'02' |
|
PJSQE_TYPE_OWNER |
Owner Record. |
|
|
|
X'03' |
|
PJSQE_TYPE_JOB |
Job Request Record. |
|
|
|
X'04' |
|
PJSQE_TYPE_CAL |
Calendar Record. |
|
|
|
X'05' |
|
PJSQE_TYPE_EVNT |
Event Record. |
|
5 |
(5) |
CHARACTER |
8 |
PJSQE_OWNERID |
Owner-ID of this record. |
|
13 |
(D) |
CHARACTER |
8 |
PJSQE_RECID |
Record-ID of this record. |
|
|
|
|
|
|
|
|
The following fields define the record type dependant area. This area is redefined for each record type. |
|||||
|
|
|
|
|
|
|
|
21 |
(15) |
|
3 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
24 |
(18) |
GROUP |
4064 |
PJSQE_DATA |
Record type dependant data area. |
|
|
|
|
|
|
|
|
4088 |
(FF8) |
|
|
PJSQE_LEN |
Maximum length of PJSQ record. |
B.4 The PJSQ Queue Control Record
DSECT Name: PJSQCTL
Macro ID: PJSQE
Size: 29 bytes
Function: This DSECT describes the format of the PJSQ Queue Control Record. There is one Queue Control record for the PJS Request Queue. It contains global information of concern to the entire Request Queue.
|
Offsets |
|
|
|
|
|
|
Dec |
Hex |
Type |
Length |
Name |
Description |
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSQCTL |
PJSQ Queue Control Record. |
|
|
|
|
|
|
|
|
The record descriptor word does not appear in the VSAM data set. |
|||||
|
|
|
|
|
|
|
|
0 |
(0) |
BINARY |
2 |
PQCTL_RECLEN |
Record length (including this field). |
|
2 |
(2) |
|
2 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
The following fields define the record key. |
|||||
|
|
|
|
|
|
|
|
4 |
(4) |
GROUP |
17 |
PQCTL_KEY |
Record Key. |
|
4 |
(4) |
BINARY |
1 |
PQCTL_TYPE |
Record Type (Always X'01'). |
|
5 |
(5) |
CHARACTER |
8 |
PQCTL_OWNERID |
Owner-ID (Always X'00'). |
|
13 |
(D) |
CHARACTER |
8 |
PQCTL_RECID |
Record-ID (Always X'00'). |
|
|
|
|
|
|
|
|
The following fields define the record type dependant area. |
|||||
|
|
|
|
|
|
|
|
21 |
(15) |
|
3 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
24 |
(18) |
BINARY |
4 |
PQCTL_NXT_JCLNUM |
Next JCL Spool member number. |
|
|
|
|
|
|
|
|
28 |
(1C) |
BITSTRING |
1 |
PQCTL_UPD_FLAGS |
Update flags. |
|
|
|
1... .... |
|
PQCTL_UPD_JRQ |
Job Request has been updated. |
|
|
|
.1.. .... |
|
PQCTL_UPD_CAL |
Calendar has been updated. |
|
|
|
..1. .... |
|
PQCTL_UPD_EVNT |
Event has been updated. |
|
|
|
|
|
|
|
|
29 |
(1D) |
|
|
PQCTL_LEN |
Length of PJSQ Queue Control record. |
DSECT Name: PJSQOWN
Macro ID: PJSQE
Size: 44 bytes
Function: This DSECT describes the format of the PJSQ Owner Record. It contains information for each Owner-ID with records stored in the PJS Request Queue.
|
Offsets |
|
|
|
|
|
|
Dec |
Hex |
Type |
Length |
Name |
Description |
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSQOWN |
PJSQ Owner Record. |
|
|
|
|
|
|
|
|
The record descriptor word does not appear in the VSAM data set. |
|||||
|
|
|
|
|
|
|
|
0 |
(0) |
BINARY |
2 |
PQOWN_RECLEN |
Record length (including this field). |
|
2 |
(2) |
|
2 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
The following fields define the record key. |
|||||
|
|
|
|
|
|
|
|
4 |
(4) |
GROUP |
17 |
PQOWN_KEY |
Record Key. |
|
4 |
(4) |
BINARY |
1 |
PQOWN_TYPE |
Record Type (Always X'02'). |
|
5 |
(5) |
CHARACTER |
8 |
PQOWN_OWNERID |
Owner-ID. |
|
13 |
(D) |
CHARACTER |
8 |
PQOWN_RECID |
Record-ID (Always X'00'). |
|
|
|
|
|
|
|
|
The following fields define the record type dependant area. |
|||||
|
|
|
|
|
|
|
|
21 |
(15) |
|
3 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
24 |
(18) |
BINARY |
4 |
PQOWN_USE_DATE |
Date of last Owner update. |
|
28 |
(1C) |
BINARY |
4 |
PQOWN_USE_TIME |
Time of last Owner update. |
|
|
|
|
|
|
|
|
32 |
(20) |
BINARY |
4 |
PQOWN_SPOOLNUM |
Number of JCL records on spool. |
|
|
|
|
|
|
|
|
36 |
(24) |
BINARY |
2 |
PQOWN_NXT_REQNUM |
Next Request Number to assign. |
|
|
|
|
|
|
|
|
38 |
(26) |
|
6 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
44 |
(2C) |
|
|
PQOWN_LEN |
Length of PJSQ Owner record. |
B.6 The PJSQ Job Request Record
DSECT Names: PJSQJRQ
PJSQJRQC
PJSQJRQE
PJSQJRQI
Macro ID: PJSQE
Size: variable, 168 bytes minimum, 1884 bytes maximum.
Function: These DSECTs describe the format of the PJSQ Job Request Record. It contains information for each Job Request entered by the users. The record consists of a basic record area, followed by one or more variable length segments. A Calendar segment is present if calendar scheduling is used, an Event segment is present if event scheduling is used, and an Installation Data Area is present if it was created by the Installation Security Exit (PJSSECX). DSECT PJSQJRQ describes the format of the basic Job Request Record. DSECT PJSQJRQC describes the format of the Calendar Segment. DSECT PJSQJRQE describes the format of the Event Segment.
|
Offsets |
|
|
|
|
|
|
Dec |
Hex |
Type |
Length |
Name |
Description |
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSQJRQ |
PJSQ Job Request Record. |
|
|
|
|
|
|
|
|
The record descriptor word does not appear in the VSAM data set. |
|||||
|
|
|
|
|
|
|
|
0 |
(0) |
BINARY |
2 |
PQJRQ_RECLEN |
Record length (including this field). |
|
2 |
(2) |
|
2 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
The following fields define the record key. |
|||||
|
|
|
|
|
|
|
|
4 |
(4) |
GROUP |
17 |
PQJRQ_KEY |
Record Key. |
|
4 |
(4) |
BINARY |
1 |
PQJRQ_TYPE |
Record Type (Always X'03'). |
|
5 |
(5) |
CHARACTER |
8 |
PQJRQ_OWNERID |
Owner-ID. |
|
13 |
(D) |
CHARACTER |
8 |
PQJRQ_REQNUM |
Request Number. |
|
|
|
|
|
|
|
|
The following fields define the record type dependant area. |
|||||
|
|
|
|
|
|
|
|
21 |
(15) |
|
3 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
24 |
(18) |
BINARY |
2 |
PQJRQ_CAL_OFF |
Offset to Calendar Table. |
|
26 |
(1A) |
BINARY |
2 |
PQJRQ_CAL_NUM |
Number of Calendar Table entries. |
|
28 |
(1C) |
BINARY |
2 |
PQJRQ_EVNT_OFF |
Offset to Event Table. |
|
30 |
(1E) |
BINARY |
2 |
PQJRQ_EVNT_NUM |
Number of Event Table entries. |
|
32 |
(20) |
BINARY |
2 |
PQJRQ_INST_OFF |
Offset to Installation Data Area. |
|
34 |
(22) |
BINARY |
2 |
PQJRQ_INST_LEN |
Length of Installation Data Area. |
|
|
|
|
|
|
|
|
36 |
(24) |
BINARY |
1 |
PQJRQ_STATUS |
Job Request processing status. |
|
|
|
X'01' |
|
PQJRQ_STAT_WAIT |
Waiting for next run time. |
|
|
|
X'02' |
|
PQJRQ_STAT_SUB |
Currently in submit processing. |
|
|
|
X'03' |
|
PQJRQ_STAT_ERR |
Error encountered. |
|
|
|
X'04' |
|
PQJRQ_STAT_CMPL |
Completed. |
|
|
|
X'05' |
|
PQJRQ_STAT_DIS |
Disabled. |
|
|
|
|
|
|
|
|
37 |
(25) |
BINARY |
1 |
PQJRQ_JSAVE |
JCL Save option. |
|
|
|
X'00' |
|
PQJRQ_JSAVE_NO |
JCL is not saved in Spool. |
|
|
|
X'01' |
|
PQJRQ_JSAVE_YES |
JCL is saved in Spool. |
|
|
|
X'02' |
|
PQJRQ_JSAVE_REFR |
JCL refresh pending. |
|
|
|
X'03' |
|
PQJRQ_JSAVE_DEL |
JCL delete pending. |
|
|
|
|
|
|
|
|
38 |
(26) |
|
10 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
48 |
(30) |
CHARACTER |
44 |
PQJRQ_DSNAME |
JCL Data Set Name. |
|
92 |
(5C) |
CHARACTER |
8 |
PQJRQ_MEMBER |
JCL Member Name. |
|
100 |
(64) |
CHARACTER |
8 |
PQJRQ_SPOOLMEM |
JCL Spool Member Name. |
|
|
|
|
|
|
|
|
108 |
(6C) |
BINARY |
4 |
PQJRQ_SPOOLNUM |
Number of JCL records on spool. |
|
|
|
|
|
|
|
|
112 |
(70) |
BINARY |
4 |
PQJRQ_WNDW_TIME |
Submit Window Time. |
|
116 |
(74) |
BINARY |
1 |
PQJRQ_WNDW_OPT |
Submit Window Failure Option. |
|
|
|
X'01' |
|
PQJRQ_WNDW_DIS |
Place in DISABLED status. |
|
|
|
X'02' |
|
PQJRQ_WNDW_ERR |
Place in ERROR status. |
|
|
|
X'03' |
|
PQJRQ_WNDW_SKIP |
Reschedule for next period. |
|
|
|
|
|
|
|
|
117 |
(75) |
|
1 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
118 |
(76) |
BINARY |
2 |
PQJRQ_RETRY_NUM |
Number of submit retries. |
|
|
|
|
|
|
|
|
120 |
(78) |
BINARY |
4 |
PQJRQ_LAST_DATE |
Last Submit Date. |
|
124 |
(7C) |
BINARY |
4 |
PQJRQ_LAST_TIME |
Last Submit Time. |
|
|
|
|
|
|
|
|
128 |
(80) |
BINARY |
4 |
PQJRQ_NEXT_DATE |
Next Submit Date. |
|
132 |
(84) |
BINARY |
4 |
PQJRQ_NEXT_TIME |
Next Submit Time. |
|
|
|
|
|
|
|
|
136 |
(88) |
BINARY |
4 |
PQJRQ_START_DATE |
Starting Date. |
|
140 |
(8C) |
BINARY |
4 |
PQJRQ_START_TIME |
Starting Time. |
|
|
|
|
|
|
|
|
144 |
(90) |
BINARY |
4 |
PQJRQ_END_DATE |
Ending Date. |
|
148 |
(94) |
BINARY |
4 |
PQJRQ_END_TIME |
Ending Time. |
|
|
|
|
|
|
|
|
152 |
(98) |
BINARY |
1 |
PQJRQ_FREQ |
Job Submit Frequency Type. |
|
|
|
X'01' |
|
PQJRQ_FREQ_ONCE |
Once. |
|
|
|
X'02' |
|
PQJRQ_FREQ_PRD |
Periodic. |
|
|
|
X'03' |
|
PQJRQ_FREQ_WKDAY |
Day-of-Week. |
|
|
|
X'04' |
|
PQJRQ_FREQ_EOM |
End-of-Month. |
|
|
|
X'05' |
|
PQJRQ_FREQ_CAL |
Calendar. |
|
|
|
|
|
|
|
|
153 |
(99) |
BINARY |
1 |
PQJRQ_PRD_UNIT |
Periodic Units. |
|
|
|
X'01' |
|
PQJRQ_PRD_YRS |
Years. |
|
|
|
X'02' |
|
PQJRQ_PRD_MOS |
Months. |
|
|
|
X'03' |
|
PQJRQ_PRD_WKS |
Weeks. |
|
|
|
X'04' |
|
PQJRQ_PRD_DAYS |
Days. |
|
|
|
X'05' |
|
PQJRQ_PRD_HRS |
Hours. |
|
|
|
X'06' |
|
PQJRQ_PRD_MINS |
Minutes. |
|
154 |
(9A) |
BINARY |
2 |
PQJRQ_PRD_QTY |
Periodic Quantity. |
|
|
|
|
|
|
|
|
156 |
(9C) |
BITSTRING |
1 |
PQJRQ_WKDAY |
Day-of-Week to submit job. |
|
|
|
1... .... |
|
PQJRQ_WKDAY_SUN |
Sunday. |
|
|
|
.1.. .... |
|
PQJRQ_WKDAY_MON |
Monday. |
|
|
|
..1. .... |
|
PQJRQ_WKDAY_TUE |
Tuesday. |
|
|
|
...1 .... |
|
PQJRQ_WKDAY_WED |
Wednesday. |
|
|
|
.... 1... |
|
PQJRQ_WKDAY_THU |
Thursday. |
|
|
|
.... .1.. |
|
PQJRQ_WKDAY_FRI |
Friday. |
|
|
|
.... ..1. |
|
PQJRQ_WKDAY_SAT |
Saturday. |
|
|
|
|
|
|
|
|
157 |
(9D) |
BINARY |
1 |
PQJRQ_EOM_DAYS |
Days before End-of-Month. |
|
|
|
|
|
|
|
|
158 |
(9E) |
|
10 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
168 |
(A8) |
GROUP |
3920 |
PQJRQ_SEGMENTS |
Record segment area. |
|
|
|
|
|
|
|
|
4088 |
(FF8) |
|
|
PQJRQ_LEN |
Maximum length of PJSQ Job Request record. |
|
|
|
|
|
|
|
|
The following fields define the Calendar Segment. The Calendar Segment is a table each entry of which contains information on a calendar referenced by the Job Request. |
|||||
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSQJRQC |
Calendar Table Segment. |
|
|
|
|
|
|
|
|
0 |
(0) |
GROUP |
17 |
PQJRQ_CAL_ID |
Calendar-ID. |
|
0 |
(0) |
BINARY |
1 |
PQJRQ_CAL_TYPE |
Calendar Type (Always X'04'). |
|
1 |
(1) |
CHARACTER |
8 |
PQJRQ_CAL_OWNID |
Calendar Owner-ID. |
|
9 |
(9) |
CHARACTER |
8 |
PQJRQ_CAL_NAME |
Calendar Name. |
|
17 |
(11) |
|
3 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
20 |
(14) |
|
|
PQJRQ_CAL_ELEN |
Length of Calendar Table Entry. |
|
|
|
3 |
|
PQJRQ_CAL_MAX |
Maximum number of Calendar Table Entries. |
|
|
|
|
|
|
|
|
The following fields define the Event Segment. The Event Segment is a table each entry of which contains information on an event referenced by the Job Request. |
|||||
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSQJRQE |
Event Table Segment. |
|
|
|
|
|
|
|
|
0 |
(0) |
GROUP |
17 |
PQJRQ_EVNT_ID |
Event-ID. |
|
0 |
(0) |
BINARY |
1 |
PQJRQ_EVNT_TYPE |
Event Type (Always X'05'). |
|
1 |
(1) |
CHARACTER |
8 |
PQJRQ_EVNT_OWNID |
Event Owner-ID. |
|
9 |
(9) |
CHARACTER |
8 |
PQJRQ_EVNT_NAME |
Event Name. |
|
|
|
|
|
|
|
|
17 |
(11) |
BITSTRING |
1 |
PQJRQ_EVNT_FLAG |
Job Request Event flags. |
|
|
|
1... .... |
|
PQJRQ_EVNT_PREP |
Event may be 'Preposted'. |
|
|
|
|
|
|
|
|
18 |
(12) |
|
2 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
20 |
(14) |
BINARY |
4 |
PQJRQ_EVNT_DATE |
Date Event Posted. |
|
24 |
(18) |
BINARY |
4 |
PQJRQ_EVNT_TIME |
Time Event Posted. |
|
|
|
|
|
|
|
|
28 |
(1C) |
|
|
PQJRQ_EVNT_ELEN |
Length of Event Table Entry. |
|
|
|
50 |
|
PQJRQ_EVNT_MAX |
Maximum number of Event Table Entries. |
|
|
|
|
|
|
|
|
The following fields define the Installation Data Area. The Installation Data Area is a variable length area defined by the installation and set by the Installation Security Exit (PJSSECX). |
|||||
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSQJRQI |
Installation Data Area. |
|
|
|
|
|
|
|
|
0 |
(0) |
CHARACTER |
256 |
PQJRQ_INST_DATA |
Installation Data Area. |
DSECT Name: PJSQCAL
Macro ID: PJSQE
Size: variable, 32 bytes minimum, 4088 bytes maximum.
Function: This DSECT describes the format of the PJSQ Calendar Record. It contains a variable length bitstring of selected dates for the calendar.
|
Offsets |
|
|
|
|
|
|
Dec |
Hex |
Type |
Length |
Name |
Description |
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSQCAL |
PJSQ Calendar Record. |
|
|
|
|
|
|
|
|
The record descriptor word does not appear in the VSAM data set. |
|||||
|
|
|
|
|
|
|
|
0 |
(0) |
BINARY |
2 |
PQCAL_RECLEN |
Record length (including this field). |
|
2 |
(2) |
|
2 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
The following fields define the record key. |
|||||
|
|
|
|
|
|
|
|
4 |
(4) |
GROUP |
17 |
PQCAL_KEY |
Record Key. |
|
4 |
(4) |
BINARY |
1 |
PQCAL_TYPE |
Record Type (Always X'04'). |
|
5 |
(5) |
CHARACTER |
8 |
PQCAL_OWNERID |
Owner-ID. |
|
13 |
(D) |
CHARACTER |
8 |
PQCAL_CALNAME |
Calendar Name. |
|
|
|
|
|
|
|
|
The following fields define the record type dependant area. |
|||||
|
|
|
|
|
|
|
|
21 |
(15) |
|
3 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
24 |
(18) |
BINARY |
4 |
PQCAL_START_DATE |
Date on which calendar starts. |
|
|
|
|
|
|
|
|
28 |
(1C) |
BITSTRING |
1 |
PQCAL_FLAGS |
Update flags. |
|
|
|
1... .... |
|
PQCAL_UPDATE |
Calendar has been updated. |
|
|
|
|
|
|
|
|
29 |
(1D) |
|
1 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
30 |
(1E) |
BINARY |
2 |
PQCAL_DATES_LEN |
Length of Calendar Dates bit string. |
|
|
|
|
|
|
|
|
32 |
(20) |
BITSTRING |
4056 |
PQCAL_DATES |
Calendar Dates. Each bit is one day, starting with the Start Date. |
|
|
|
|
|
|
|
|
4088 |
(FF8) |
|
|
PQCAL_LEN |
Maximum length of PJSQ Calendar record. |
DSECT Name: PJSQEVN
Macro ID: PJSQE
Size: 33 bytes
Function: This DSECT describes the format of the PJSQ Event Record. It contains a flag that indicates when the Job Request Events are to be posted or reset.
|
Offsets |
|
|
|
|
|
|
Dec |
Hex |
Type |
Length |
Name |
Description |
|
|
|
|
|
|
|
|
0 |
(0) |
|
|
PJSQEVN |
PJSQ Event Record. |
|
|
|
|
|
|
|
|
The record descriptor word does not appear in the VSAM data set. |
|||||
|
|
|
|
|
|
|
|
0 |
(0) |
BINARY |
2 |
PQEVN_RECLEN |
Record length (including this field). |
|
2 |
(2) |
|
2 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
The following fields define the record key. |
|||||
|
|
|
|
|
|
|
|
4 |
(4) |
GROUP |
17 |
PQEVN_KEY |
Record Key. |
|
4 |
(4) |
BINARY |
1 |
PQEVN_TYPE |
Record Type (Always X'05'). |
|
5 |
(5) |
CHARACTER |
8 |
PQEVN_OWNERID |
Owner-ID. |
|
13 |
(D) |
CHARACTER |
8 |
PQEVN_EVNTNAME |
Event Name. |
|
|
|
|
|
|
|
|
The following fields define the record type dependant area. |
|||||
|
|
|
|
|
|
|
|
21 |
(15) |
|
3 |
RESERVED |
Reserved. |
|
|
|
|
|
|
|
|
24 |
(18) |
BINARY |
4 |
PQEVN_POST_DATE |
Date event last posted. |
|
28 |
(1C) |
BINARY |
4 |
PQEVN_POST_TIME |
Time event last posted. |
|
|
|
|
|
|
|
|
32 |
(20) |
BITSTRING |
1 |
PQEVN_FLAGS |
Update flags. |
|
|
|
1... .... |
|
PQEVN_JOB_POST |
Job Request Event post pending. |
|
|
|
.1.. .... |
|
PQEVN_JOB_RESET |
Job Request Event reset pending. |
|
|
|
|
|
|
|
|
33 |
(21) |
|
|
PQEVN_LEN |
Length of PJSQ Event record. |
Copyright © Northrop Grumman, 1990, 2004. All rights reserved.