OUTPUT field definition reference

The following text is the field content of the EQQFLALL member from the Workload Automation Programming Language that serves as a reference for all available fields.

/*--------------------------------------------------------------------+ 
 | MODULE  : EQQFLALL                                                 | 
 | PURPOSE : Output definition with all PIF data (no TRL data)        | 
 |                                                                    | 
 | HISTORY------------------------------------------------------------| 
 |                                                                    | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | GROUP=DB       - All Database objects                              | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | RECORD=AD        - Application description                         | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=ADCOM    - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADCOM DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(ADID ,                  /* Application ID                      */ 
       ADSTAT ,                /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADTYPE ,                /* Application type                    */ 
                               /* A=Application, G=Group Def          */ 
       ADFROM)                 /* Valid-From date                     */ 

  FIELDS(ADMONITOR ,           /* Monitor AD                          */ 
         ADTO ,                /* Valid-To date                       */ 
         ADDESC ,              /* Descriptive text                    */ 
         ADGROUP ,             /* Authority group name                */ 
         ADOWNER ,             /* Owner ID                            */ 
         ADODESC ,             /* Owner description                   */ 
         ADPRIOR ,             /* Priority                            */ 
         ADCAL ,               /* Calendar                            */ 
         ADLDATE ,             /* Date last updated                   */ 
         ADLTIME ,             /* Time last updated                   */ 
         ADLUSER ,             /* Userid of last updater              */ 
         ADCOMVERS ,           /* Record version number               */ 
         ADGROUPID ,           /* Group definition ID                 */ 
/*       ADLUTS ,              /* TOD clock at last update            */ 
         ADDSM ,               /* Deadline smoothing factor           */ 
         ADDLIM)               /* Deadline feedback limit             */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADKEY    - Key                                             | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADKEY DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(ADID ,                  /* Application ID                      */ 
       ADSTAT ,                /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADTO)                   /* Valid-To date                       */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADRUN    - Run cycle                                       | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADRUN DATA(=) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type                    */ 
                               /* A=Application, G=Group Def          */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADRSEQ)                 /* Sequence number                     */ 

  FIELDS(ADRPER ,              /* Period name                         */ 
         ADRVALF ,             /* Run cycle valid-from                */ 
         ADRVALT ,             /* Run cycle valid-to                  */ 
         ADRUNDESC ,           /* Run cycle description               */ 
         ADRUNRULE ,           /* Run rule for work/free days         */ 
         ADRTYPE ,             /* Period based (N/X) |                */ 
                               /*   Rule based (R/E)                  */ 
/*       ADRIAD ,              /* Offsets (start days within period)  */ 
         ADRIAT ,              /* Input arrival time                  */ 
         ADRDD ,               /* Deadline day relative to start      */ 
         ADRDT ,               /* Deadline time                       */ 
         ADRUNVERS ,           /* Record version number=1             */ 
         ADRJVTAB ,            /* JCL variable table                  */ 
         ADRSHTYPE ,           /* Shift type (W/D or blank)           */ 
         ADRINPOS ,            /* Number of positive                  */ 
                               /* run cycle offsets                   */ 
         ADRINNEG ,            /* number of negative                  */ 
                               /* run cycle offsets                   */ 
/*       ADRIADALL ,           /* Array of run cycle offset           */ 
         ADRIADPOS ,           /* Positive run cycle offsets          */ 
/*       ADRIADPOSX ,          /* Positive run cycle offsets (Hex)    */ 
         ADRIADNEG ,           /* Positive run cycle offsets          */ 
/*       ADRIADNEGX ,          /* Positive run cycle offsets (Hex)    */ 
         ADRREPEATEVRY ,       /* Repeat every                        */ 
         ADRREPEATENDT ,       /* Repeat end time                     */ 
         ADRSHIFT ,            /* Shift value (-999 to 999)           */ 
         ADRSHSIGN ,           /* Shift sign (F/B)                    */ 
/*       ADRULEL ,             /* Rule length                         */ 
         ADRULET)              /* Rule text                           */ 

/*--------------------------------------------------------------------+ 
 ! SEGMENT=ADAPD    - Application Dependencies                        ! 
 +--------------------------------------------------------------------*/
OUTPUT ADAPD DATA(=) LOADER(=)                                          
  KEYS(ADCOM.ADID ,            /* Application ID                      */
       ADCOM.ADSTAT ,          /* Application status                  */
                               /* A=Active, P=Pending                 */
       ADCOM.ADTYPE ,          /* Application type                    */
                               /* A=Application, G=Group Def          */
       ADCOM.ADFROM ,          /* Valid-From date                     */
       ADAPDADID)              /* Predecessor applid                  */
                                                                        
  FIELDS(ADAPDWSID             /* predecessor wsid or blank           */
         ADAPDOPNO             /* predecessor opid or 0               */
         ADAPDDESC             /* description                         */
         ADAPDLTP              /* LTP report print option A!C         */
         ADAPDVERS             /* record version number (r)           */
         ADAPDFLAG             /* flags                               */
         ADAPDCSEL             /* matching criteria:                  */
                               /* C/S/R/A                             */
                               /* (only for ext pred)                 */
         ADAPDXMAND            /* mandatory dep:                      */
                               /* P/C/A                               */
         ADAPDIVTYPE           /* interval type                       */
                               /* - A = absolute                      */
                               /* - R = relative                      */
                               /* ---------------------               */
                               /* FROM:                               */
                               /* ---------------------               */
         ADAPDIVFWHE           /* from when:                          */
                               /* - B = before IA                     */
                               /* - B = after IA                      */
         ADAPDIVFHHH           /* from hours HHH  (only rel)          */
         ADAPDIVFHH            /* from hours HH   (only abs)          */
         ADAPDIVFMM            /* from minutes MM                     */
         ADAPDIVFD             /* from days  (only abs)               */
                               /* ---------------------               */
                               /* TO:                                 */
                              /* ---------------------                */
         ADAPDIVTWHE           /* to   when:                          */
                               /* - B = before IA                     */
                               /* - A = after IA                      */
         ADAPDIVTHHH           /* to   hours HHH  (only rel)          */
         ADAPDIVTHH            /* to   hours HH   (only abs)          */
         ADAPDIVTMM            /* to   minutes MM                     */
         ADAPDIVTD)            /* to   days  (only abs)               */

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADOP     - Operation                                       | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADOP DATA(OUTDATA) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type                    */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOPNO)                 /* Operation number                    */ 

  FIELDS(ADOPWSID ,            /* Workstation                         */ 
         ADOPJN ,              /* Jobname                             */ 
         ADOPDESC ,            /* Operation description               */ 
         ADOPDUR ,             /* Duration in minutes                 */ 
         ADOPSM ,              /* Smoothing factor (or -1)            */ 
         ADOPLIM ,             /* Limit for feedback (or -1)          */ 
         ADOPHRC ,             /* Highest OK RC (or -1)               */ 
         ADOPSTD ,             /* Relative day input arrival          */ 
         ADOPSTT ,             /* Input arrival time                  */ 
         ADOPDD ,              /* Relative day deadline               */ 
         ADOPDT ,              /* Deadline time                       */ 
         ADOP#R1 ,             /* Number of R1 resources required     */ 
         ADOP#R2 ,             /* Number of R2 resources required     */ 
         ADOP#PS ,             /* Number of servers used              */ 
         ADOPJCL ,             /* Job class                           */ 
         ADOPPCL ,             /* Print class                         */ 
         ADOPFOR ,             /* Form number                         */ 
         ADOPSUB ,             /* Automatic submit (Y/N)              */ 
         ADOPAJR ,             /* Automatic CPU release (Y/N)         */ 
         ADOPCAN ,             /* Cancel if late time (Y/N)           */ 
         ADOPTIM ,             /* Submit job on time (Y/N)            */ 
         ADOPAEC ,             /* Automatic error compl (Y/N)         */ 
         ADOPVERS ,            /* Record version number               */ 
         ADOPWTO ,             /* Deadline WTO (Y/N)                  */ 
         ADOPRES ,             /* Restartable (Y/N/blank)             */ 
         ADOPRER ,             /* Rerouteable (Y/N/blank)             */ 
         ADOPCM ,              /* Restart and Cleanup                 */ 
                               /* A=Automatic                         */ 
                               /* I=Immediate                         */ 
                               /* M=Manual                            */ 
                               /* N=None                              */ 
/*       ADOPWSINFO ,          /* Workstation info                    */ 
         ADOPWSISET ,          /* Info available (Y/N)                */ 
         ADOPWSTYPE ,          /* Type G|C|P                          */ 
         ADOPWSREP ,           /* Reporting attr (A/S/C/N)            */ 
         ADOPWSSUBT ,          /* Subtype JCL, STC, WTO               */ 
                               /*  none J/S/W/blank                   */ 
         ADOPJCRT ,            /* (WLM) Critical job                  */ 
         ADOPJPOL ,            /* (WLM) Late job policy               */ 
         ADOPUSRSYS ,          /* User sysout needed                  */ 
         ADOPEXPJCL ,          /* Expanded jcl needed                 */ 
         ADOPDURI ,            /* Duration in 100th of sec            */ 
         ADOPMON ,             /* Operation monitored                 */ 
         ADOPCENSCR ,          /* Centralized script                  */ 
         ADOPUSEEXT ,          /* Use ADEXTNAME field                 */ 
         ADOPUSESE ,           /* Use ADEXTSE field                   */ 
         ADOPUSESA ,           /* Use System Automation (Y/N)         */ 
         ADOPWLMCLASS ,        /* WLM Service Class                   */ 
         ADOPCONDRJOB,         /* Conditional recovery job            */ 
         ADOPNOP,              /* NOP indicator                       */ 
         ADOPMH,               /* MH indicator                        */ 
         ADOPDLACT)            /* Deadline action                     */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADEXT    - Extended name                                   | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADEXT DATA(=) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type (for EQQILSON)     */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOP.ADOPNO)            /* Operation number (for EQQILSON)     */ 

  FIELDS(ADEXTOWNOP ,          /* Owning op number                    */ 
         ADEXTNAME ,           /* Extended name                       */ 
         ADEXTVERS ,           /* Record version number               */ 
         ADEXTSENAME)          /* Scheduling environment name         */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADRE     - Remote job information                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADRE DATA(OUTDATA) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type                    */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOP.ADOPNO)            /* Operation number                    */ 

  FIELDS(ADRE_OWNOP ,          /* Owning operation number             */ 
         ADRE_JSNAME ,         /* ADID or Jobstream name              */ 
         ADRE_VERS ,           /* Record version number=1             */ 
         ADRE_COMPL ,          /* Complete on failed bind             */ 
         ADRE_OPNO ,           /* Operation number                    */ 
         ADRE_JSWS ,           /* Jobstream workstation               */ 
         ADRE_JOBNAME)         /* Job name                            */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADSAI    - Operation system automation information         | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADSAI DATA(OUTDATA) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type (for EQQILSON)     */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOP.ADOPNO)            /* Operation number (for EQQILSON)     */ 

  FIELDS(ADSAIOWNOP ,          /* Owning operation number             */ 
         ADSAICOMMTEXT ,       /* System Automation operation         */ 
                               /* command text                        */ 
         ADSAICOMMTXT1 ,       /* Segment 1 of SA Operation Info      */ 
         ADSAICOMMTXT2 ,       /* Segment 2 of SA Operation Info      */ 
         ADSAICOMMTXT3 ,       /* Segment 3 of SA Operation Info      */ 
         ADSAICOMMTXT4 ,       /* Segment 4 of SA Operation Info      */ 
         ADSAIAUTOOPER ,       /* System Automation automated         */ 
                               /* function (for operation)            */ 
         ADSAISECELEM ,        /* System Automation security          */ 
                               /* element                             */ 
         ADSAICOMPINFO)        /* System Automation completion        */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADSR     - Special resource                                | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADSR DATA(OUTDATA) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type (for EQQILSON)     */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOP.ADOPNO ,           /* Operation number (for EQQILSON)     */ 
       ADSRN)                  /* Special resource name               */ 

  FIELDS(ADSROWNOP ,           /* Owning operation number             */ 
         ADSRT ,               /* S = Shared, X = Exclusive           */ 
         ADSRVERS ,            /* Record version number=1             */ 
         ADSRONER ,            /* Keep on error (Y/N/blank)           */ 
         ADSRAMNT ,            /* Quantity required.  The value 0     */ 
                               /* means the total quantity of         */ 
                               /* special resource.                   */ 
         ADSRAVACO)            /* On complete (Y/N/R/blank)           */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADDEP    - Dependency                                      | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADDEP DATA(=) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type (for EQQILSON)     */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOP.ADOPNO ,           /* Operation number (for EQQILSON)     */ 
       ADDEPADID ,             /* External predecessor/blank          */ 
       ADDEPOPNO)              /* Operation number                    */ 

  FIELDS(ADDEPOWNOP ,          /* Owning Op (the successor)           */ 
         ADDEPWSID ,           /* Workstation name                    */ 
         ADDEPTPT ,            /* Transport time in minutes           */ 
         ADDEPDESC ,           /* Description                         */ 
         ADDEPLTP ,            /* LTP REPORT PRINT OPTION (A/C)       */ 
         ADDEPVERS ,           /* Record version number=1             */ 
         ADDEPJOBN ,           /* Jobname (not always set)            */ 
         ADDEPFLAG ,           /* Flags                               */ 
         ADDEPCSEL ,           /* Resolution criteria (C/S/R/A)       */ 
         ADDEPXMAND ,          /* Is mandatory (N/P/C)                */ 
         ADDEPTYPE)            /* Dependency type (I/E)               */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADXIV    - External Dependency Interval Definition         | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADXIV DATA(=) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type (for EQQILSON)     */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOP.ADOPNO ,           /* Operation number (for EQQILSON)     */ 
       ADXIVADID ,             /* Predecessor application name        */ 
       ADXIVWSID ,             /* Predecessor workstation ID          */ 
       ADXIVOPNO)              /* Predecessor operation number        */ 

  FIELDS(ADXIVOWNOP ,          /* Owning Op (the successor)           */ 
         ADXIVTYPE ,           /* Interval type R/A (relative/        */ 
                               /*                    absolute)        */ 
         ADXIVFWHE ,           /* From When B/A (Before/After)        */ 
         ADXIVFHHH ,           /* From Hours HHH (Only relative)      */ 
         ADXIVFHH ,            /* From Hours HH  (Only absolute)      */ 
         ADXIVFMM ,            /* From Minutes MM                     */ 
         ADXIVFD ,             /* From Days      (Only absolute)      */ 
         ADXIVTWHE ,           /* To When B/A (Before/After)          */ 
         ADXIVTHHH ,           /* To Hours HHH (Only relative)        */ 
         ADXIVTHH ,            /* To Hours HH  (Only absolute)        */ 
         ADXIVTMM ,            /* To Minutes MM                       */ 
         ADXIVTD)              /* To Days      (Only absolute)        */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADCNC    - Condition                                       | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADCNC DATA(=) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type                    */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOP.ADOPNO ,           /* Operation number                    */ 
       ADCNCID)                /* Condition ID                        */ 

  FIELDS(ADCNCOWNID ,          /* Owning AD operation                 */ 
         ADCNCSIMPNO ,         /* Nuber of condition dependencies     */ 
         ADCNCCOUNT ,          /* Rule type:                          */ 
                               /* 0 = All                             */ 
                               /* N>0 = At least N of                 */ 
         ADCNCVERS ,           /* Record version                      */ 
         ADCNCDESC)            /* Condition description               */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADCNS    - Condition dependency                            | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADCNS DATA(=) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type (for EQQILSON)     */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOP.ADOPNO ,           /* Operation number (for EQQILSON)     */ 
       ADCNSID ,               /* Condition ID                        */ 
       ADCNSSEQ)               /* Sequence number                     */ 

  FIELDS(ADCNSOWNID ,          /* Owning AD operation                 */ 
         ADCNSPREAD ,          /* Predecessor Application ID          */ 
         ADCNSPREOPNO ,        /* Predecessor Operation Number        */ 
         ADCNSPRETYP ,         /* Check type:                         */ 
                               /* RC: Return code                     */ 
                               /* ST: Status                          */ 
         ADCNSPRELOG ,         /* Logical operator type:              */ 
                               /* GE: >= (Greater than or equal)      */ 
                               /* GT: > (Greater than)                */ 
                               /* LE: <= (Less than or equal)         */ 
                               /* LT: < (Less than)                   */ 
                               /* EQ: = (Equal to)                    */ 
                               /* NE: <> (Not equal to)               */ 
                               /* RG: RC - RC2 (Range)                */ 
         ADCNSVALRC ,          /* Return code value                   */ 
         ADCNSVALST ,          /* Status value:                       */ 
                               /* S: Started                          */ 
                               /* C: Completed                        */ 
                               /* X: Suppressed by condition          */ 
                               /* E: Error                            */ 
         ADCNSPROC ,           /* Step name                           */ 
         ADCNSSTEP ,           /* Procedure invocation step name      */ 
         ADCNSPREWSID ,        /* Predecessor Workstation ID          */ 
         ADCNSDEPTYP ,         /* Dependency type:                    */ 
                               /* I: Internal                         */ 
                               /* E: External                         */ 
         ADCNSVALRC2 ,         /* Upper limit of return code range    */ 
         ADCNSVERS ,           /* Version                             */ 
         ADCNSCCSEL)           /* Resolution criteria (C/S/R/A)       */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADCIV    - Conditional Dependency Interval Definition      | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADCIV DATA(=) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type                    */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOP.ADOPNO ,           /* Operation number                    */ 
       ADCIVADID ,             /* Predecessor application name        */ 
       ADCIVCID ,              /* Predecessor condition ID            */ 
       ADCIVOPNO)              /* Predecessor operation number        */ 

  FIELDS(ADCIVOWNOP ,          /* Owning Op (the successor)           */ 
         ADCIVTYPE ,           /* Interval type R/A (relative/        */ 
                               /*                    absolute)        */ 
         ADCIVFWHE ,           /* From When B/A (Before/After)        */ 
         ADCIVFHHH ,           /* From Hours HHH (Only relative)      */ 
         ADCIVFHH ,            /* From Hours HH  (Only absolute)      */ 
         ADCIVFMM ,            /* From Minutes MM                     */ 
         ADCIVFD ,             /* From Days      (Only absolute)      */ 
         ADCIVTWHE ,           /* To When B/A (Before/After)          */ 
         ADCIVTHHH ,           /* To Hours HHH (Only relative)        */ 
         ADCIVTHH ,            /* To Hours HH  (Only absolute)        */ 
         ADCIVTMM ,            /* To Minutes MM                       */ 
         ADCIVTD)              /* To Days      (Only absolute)        */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=ADUSF    - User field                                      | 
 +--------------------------------------------------------------------*/ 
OUTPUT ADUSF DATA(OUTDATA) LOADER(=) 
  KEYS(ADCOM.ADID ,            /* Application ID                      */ 
       ADCOM.ADSTAT ,          /* Application status                  */ 
                               /* A=Active, P=Pending                 */ 
       ADCOM.ADTYPE ,          /* Application type (for EQQILSON)     */ 
       ADCOM.ADFROM ,          /* Valid-From date                     */ 
       ADOP.ADOPNO ,           /* Operation number (for EQQILSON)     */ 
       ADUSFNAME)              /* Field name                          */ 

  FIELDS(ADUSFOWNID ,          /* Owning operation number             */ 
         ADUSFVALUE ,          /* Field value                         */ 
         ADUSFVERS)            /* Version=1                           */ 

/*--------------------------------------------------------------------+
| SEGMENT=ADVDD    - Variable duration and deadline                  |
+--------------------------------------------------------------------*/
OUTPUT ADVDD DATA(OUTDATA) LOADER(=)
  KEYS(ADCOM.ADID ,            /* Application ID                      */
       ADCOM.ADSTAT ,          /* Application status                  */
                               /* A=Active, P=Pending                 */
       ADCOM.ADTYPE ,          /* Application type (for EQQILSON)     */
       ADCOM.ADFROM ,          /* Valid-From date                     */
       ADOP.ADOPNO ,           /* Operation number (for EQQILSON)     */
       ADVDDRG)                /* Run cycle name                      */

  FIELDS(ADVDDOWNID ,          /* Owning operation number             */
         ADVDDDUR,             /* Variable duration                   */
         ADVDDDEADD,           /* Variable deadline day               */
         ADVDDDEADT,           /* Variable deadline time              */
         ADVDDNOP,             /* NOP indicator                       */
         ADVDDMH,              /* MH indicator                        */
         ADVDDCRJ,             /* Critical job indicator              */
        ADVDDDLACT,           /* Deadline late action                */
         ADVDDLATE1BAS,        /* BASEDATE (F)                        */
         ADVDDLATE1DIR,        /* DIRECTION (A)                       */
         ADVDDLATE1DD,         /* day offset                          */
         ADVDDLATE1DT,         /* time                                */
         ADVDDLATE2BAS,        /* BASEDATE (F)                        */
         ADVDDLATE2DIR,        /* DIRECTION (A)                       */
         ADVDDLATE2AC,         /* ACTION (A)                          */
         ADVDDLATE2DD,         /* day offset                          */
         ADVDDLATE2DT)         /* time                                */

/*--------------------------------------------------------------------+
! SEGMENT=ADLAT    - Operation late times                            !
+--------------------------------------------------------------------*/
OUTPUT ADLAT DATA(OUTDATA) LOADER(=)
  KEYS(ADCOM.ADID ,            /* Application ID                      */
       ADCOM.ADSTAT ,          /* Application status                  */
                               /* A=Active, P=Pending                 */
       ADCOM.ADTYPE ,          /* Application type (for EQQILSON)     */
       ADCOM.ADFROM ,          /* Valid-From date                     */
       ADOP.ADOPNO)            /* Operation number (for EQQILSON)     */

  FIELDS(ADLATOWNID ,          /* Owning operation number             */
         ADLATVERS,            /* Version 1                           */
         ADLAT1BASE,           /* LATE1 basedate F                    */
         ADLAT1DIR,            /* LATE1 direction (A) after           */
         ADLAT1DD,             /* LATE1 DD                            */
         ADLAT1DT,             /* LATE1 TIME HHMM                     */
         ADLAT2BASE,           /* LATE2 basedate F                    */
         ADLAT2DIR,            /* LATE2 direction (A) after           */
         ADLAT2AC,             /* LATE2 Action (A) Alert only         */
         ADLAT2DD,             /* LATE2 DD                            */
         ADLAT2DT)             /* LATE2 TIME HHMM                     */

/*--------------------------------------------------------------------+ 
 | RECORD=AWSCL     - All workstations closed                         | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=AWSCL    - All workstations closed interval                | 
 +--------------------------------------------------------------------*/ 
OUTPUT AWSCL DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(AWCDATE)                /* Date                                */ 

  FIELDS(AWCFROM,              /* From time                           */ 
         AWCTO,                /* To time                             */ 
         AWCDESC,              /* Description closed interval         */ 
         AWCVERS,              /* Version of record                   */ 
         AWCLDATE,             /* Date last updated                   */ 
         AWCLTIME,             /* Time last updated                   */ 
         AWCLUSER,             /* Userid of last updater              */ 
         AWCLLUTS)             /* Tod clock at last                   */ 


/*--------------------------------------------------------------------+ 
 | RECORD=CL        - Calendar                                        | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=CLCOM    - Calendar common segment                         | 
 +--------------------------------------------------------------------*/ 
OUTPUT CLCOM DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(CLNAME)                 /* Calender name                       */ 

  FIELDS(CLDAYS,               /* No. specific and week days          */ 
         CLSHIFT,              /* End time of shift                   */ 
         CLDESC,               /* Description                         */ 
         CLVERS,               /* Version of record                   */ 
         CLLDATE,              /* Date last updated                   */ 
         CLLTIME,              /* Time last updated                   */ 
         CLLUSER,              /* Userid of last updater              */ 
         CLLUTS)               /* Tod clock at last update            */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CLSD     - Specific date                                   | 
 +--------------------------------------------------------------------*/ 
OUTPUT CLSD DATA(=) LOADER(=) 
  KEYS(CLCOM.CLNAME,           /* Calender name                       */ 
       CLSDDATE)               /* Specific date                       */ 

  FIELDS(CLSDSTAT,             /* Status, work or free                */ 
         CLSDDESC)             /* Description of the date             */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CLWD     - Weekday                                         | 
 +--------------------------------------------------------------------*/ 
OUTPUT CLWD DATA(=) LOADER(=) 
  KEYS(CLCOM.CLNAME,           /* Calender name                       */ 
       CLWDDAY)                /* Weekday                             */ 

  FIELDS(CLWDSTAT,             /* Status, work or free                */ 
         CLWDDESC)             /* Description of the date             */ 

/*--------------------------------------------------------------------+
 | SEGMENT=CPLAT    - Late                                            |
 +--------------------------------------------------------------------*/
OUTPUT CPLAT DATA(=)
  KEYS(CPOPCOM.CPOPADI ,         /* Owning application ID             */
       CPOPCOM.CPOPIAD ,         /* Owning application IA date        */
       CPOPCOM.CPOPIAT ,         /* Owning application IA time        */
       CPOPCOM.CPOPNO)           /* Owning operation number           */
  FIELDS(CPLATVERS ,             /* version number                    */
  /*   CPLATALE,                    LATE ALERT                        */
       CPLATALEBASE ,            /* base for compute                  */
       CPLATALEDIR ,             /* always A (after)                  */
       CPLATALEACT ,             /* not used                          */
  /*   CPLATALEDT ,                                                   */
       CPLATALEDATE ,            /* alert date                        */
       CPLATALETIME ,            /* alert time                        */
  /*   CPLATACT,                    LATE ACTION                       */
       CPLATACTBASE ,            /* base for compute                  */
                                    always F (Occurrence IA is used)  */
       CPLATACTDIR ,             /* always A (after)                  */
       CPLATACTACT ,             /* action to do (A,C,N,E, blank)     */
  /*   CPLATACTDT ,                                                   */
       CPLATACTDATE ,            /* action date                       */
       CPLATACTTIME)             /* action time                       */

/*--------------------------------------------------------------------+
| RECORD=CRITSUCS  - Critical Successors                             |
+--------------------------------------------------------------------*/
/*--------------------------------------------------------------------+
| SEGMENT=CRITSUCS - Critical Successors of an operation             |
+--------------------------------------------------------------------*/ 
OUTPUT CRITSUCS DATA(OUTDATA)                                                   
  KEYS(CRITADID,               /* Application ID                      */        
       CRITWSN,                /* Operation workstation               */        
       CRITOPNO)               /* Operation number                    */        
                                                                                
  FIELDS(CRITCONFACT,          /* Confidence factor                   */        
         CRITJOBN,             /* Jobname                             */        
         CRITLS,               /* Latest start                        */        
         CRITOI,               /* Operation input arrival             */        
         CRITPS,               /* Planned start                       */        
         CRITAS,               /* Actual start                        */        
         CRITOD,               /* Operation deadline                  */        
         CRITAE,               /* Actual end                          */        
         CRITOPST,             /* Operation status                    */        
         CRITLATE,             /* Job is late                         */        
         CRITURGPRO,           /* Job promoted to urgent queue        */        
         CRITWLMPRO,           /* Job promoted to WLM                 */        
         CRITLONGR,            /* Job long running                    */     
         CRITESTART,           /* Job estimated start                 */        
         CRITEEND,             /* Job estimated end                   */        
         CRITJisonPATH)        /* Y=Input job is on crit path         */        
                               /* N=Input job only on crit network    */        

/*--------------------------------------------------------------------+ 
 | RECORD=ETT       - Event triggered tracking criteria               | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=ETT      - Event triggered tracking criteria               | 
 +--------------------------------------------------------------------*/ 
OUTPUT ETT DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(ETTTYPE,                /* Type of trigger                     */ 
       ETTNAME)                /* Trigger name                        */ 

  FIELDS(ETTVERS,              /* Record version                      */ 
         ETTAPPL,              /* Application to trigger              */ 
         ETTJREP,              /* Job replace                         */ 
         ETTLUSER,             /* Last update user                    */ 
         ETTLDATE,             /* Last update date                    */ 
         ETTLTIME,             /* Last update time                    */ 
         ETTDEPR,              /* Dependency resolution               */ 
         ETTASSW,              /* Availability switched               */ 
         ETTLUTS)              /* Tod clock at last update            */ 


/*--------------------------------------------------------------------+ 
 | RECORD=GENDAYS   - Output from the GENDAYS command                 | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=GNDAY    - GENDAYS date                                    | 
 +--------------------------------------------------------------------*/ 
OUTPUT GNDAY DATA(OUTDATA) 
  KEYS(GNDAYDATE               /* Generated run day                   */ 
       GNDAYIAT)               /* IA Time (IAT keyword)               */ 

  FIELDS(GNDAYFLAGS,           /* Flags                               */ 
         GNDAYFMOB,            /* Moved before - Free day rule        */ 
         GNDAYFMOA,            /* Moved after - Free day rule         */ 
         GNDAYFKEP,            /* Kept                                */ 
         GNDAYFCAN,            /* Cancelled - Free day rule           */ 
         GNDAYFEIA,            /* Run on free day - Early IA          */ 
         GNDAYFOUT,            /* Moved outside interval              */ 
         GNDAYFREM,            /* Work date outside interval          */ 
         GNDAYFROM,            /* From date (FROMDATE keyword)        */ 
         GNDAYTO,              /* To date (TODATE keyword)            */ 
         GNDAYCAL,             /* Calendar (CALENDAR keyword)         */ 
         GNDAYFDRULE,          /* Free day rule (FDAYRULE keyword)    */ 
         GNDAYRULEDEF,         /* Rule definition (RULEDEF keyword)   */ 
         TAG)                  /* GENDAYS: ADID,NUM,ADRPER,ADRTYPE    */ 

/*--------------------------------------------------------------------+ 
 | RECORD=JCLV      - JCL variable table                              | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=JCLVCOM  - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT JCLVCOM DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(JCLVCTAB)               /* Jcl variable table id               */ 

  FIELDS(JCLVCLU,              /* Last updating user                  */ 
         JCLVCLT,              /* Last update time hh:mm              */ 
         JCLVCLD,              /* Last update date yymmdd             */ 
         JCLVC#V,              /* No. of variables in table           */ 
         JCLVCOWN,             /* Owner id                            */ 
         JCLVCDSC,             /* Description                         */ 
         JCLVCLUTS)            /* Tod clock at last update            */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=JCLVVAR  - Variable definition                             | 
 +--------------------------------------------------------------------*/ 
OUTPUT JCLVVAR DATA(=) LOADER(=) 
  KEYS(JCLVCOM.JCLVCTAB,      /* Jcl variable table id               */ 
       JCLVVVAR)               /* Jcl variable name                   */ 

  FIELDS(JCLVVDFL,             /* Jcl variable def value              */ 
         JCLVVSTP,             /* Prompt / setup / submit             */ 
         JCLVVUC,              /* Upper case (Y/N)                    */ 
         JCLVVLG,              /* Value length                        */ 
         JCLVVTYP,             /* Verification type                   */ 
         JCLVVEX,              /* Substitution exit name              */ 
         JCLVVINP,             /* Input required                      */ 
         JCLVVPOS,             /* Replace position jcl data           */ 
         JCLVVNUM,             /* Numeric                             */ 
         JCLVVCMP,             /* Comparitive operator                */ 
         JCLVVPAT,             /* Validation pattern                  */ 
         JCLVVVLD1,            /* Valid values - line 1               */ 
         JCLVVVLD2,            /* Valid values - line 2               */ 
         JCLVVTXT1,            /* Dialog text - line 1                */ 
         JCLVVTXT2,            /* Dialog text - line 2                */ 
         JCLVVTXT3,            /* Dialog text - line 3                */ 
         JCLVVTXT4,            /* Dialog text - line 4                */ 
         JCLVVDES,             /* Description                         */ 
         JCLVVNRP,             /* Number of dependent values          */ 
         JCLVVIND,             /* Independent variable name           */ 
         JCLVVVER,             /* Version number = 0                  */ 
         JCLVVSUS,             /* Substring start position            */ 
         JCLVVSUL)             /* Substring length                    */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=JCLVDEP  - Variable dependency                             | 
 +--------------------------------------------------------------------*/ 
OUTPUT JCLVDEP DATA(=) LOADER(=) 
  KEYS(JCLVCOM.JCLVCTAB,       /* Jcl variable table id               */ 
       JCLVVAR.JCLVVVAR,       /* Jcl variable name                   */ 
       JCLVDIV)                /* Value of setting variable           */ 

  FIELDS(JCLVDDV)              /* Override value for depend           */ 


/*--------------------------------------------------------------------+ 
 | RECORD=OI        - Operator instruction                            | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=OICOM    - Operator instruction                            | 
 +--------------------------------------------------------------------*/ 
OUTPUT OICOM DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(OIADID,                 /* Application name                    */ 
       OIOPNO,                 /* Operation number                    */ 
       OITOD,                  /* Valid to date                       */ 
       OITOT,                  /* Valid to time                       */ 
       OIFROMD,                /* Valid from date                     */ 
       OIFROMT,                /* Valid from time                     */ 
       OIWSN)                  /* Workstation name                    */ 

  FIELDS(OIJOBN,               /* Job name                            */ 
         OILDATE,              /* Last update date                    */ 
         OILTIME,              /* Last update time                    */ 
         OILUSER,              /* Last update user                    */ 
         OIVERS,               /* Record version                      */ 
         OILINES,              /* Number of text lines                */ 
         OILUTS)               /* Tod clock at last update            */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=OIT      - Operator instruction text                       | 
 +--------------------------------------------------------------------*/ 
OUTPUT OIT DATA(=) LOADER(=) 
  KEYS(OICOM.OIADID,           /* Application name                    */ 
       OICOM.OIOPNO,           /* Operation number                    */ 
       OICOM.OITOD,            /* Valid to date                       */ 
       OICOM.OITOT,            /* Valid to time                       */ 
       OICOM.OIFROMD,          /* Valid from date                     */ 
       OICOM.OIFROMT,          /* Valid from time                     */ 
       OICOM.OIWSN,            /* Workstation name                    */ 
       OITSEQ)                 /* Line number                         */ 

  FIELDS(OICOM.OIJOBN,         /* Job name                            */ 
         OITMAX,               /* Number of lines                     */ 
         OITTEXT)              /* Text line                           */ 


/*--------------------------------------------------------------------+ 
 | RECORD=PR        - Period                                          | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=PRCOM    - Period Common Segment                           | 
 +--------------------------------------------------------------------*/ 
OUTPUT PRCOM DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(PRNAME)                 /* Period name                         */ 

  FIELDS(PRVERS,               /* Record version=1                    */ 
         PRTYPE,               /* Cyclic/noncyclic type (A/W/N)       */ 
         PRDESC,               /* Description of period               */ 
         PRINTVL,              /* Interval of cyclic origins          */ 
         PRORIG#,              /* Number of origin dates              */ 
         PRLDATE,              /* Date last updated                   */ 
         PRLTIME,              /* Time last updated                   */ 
         PRLUSER,              /* Userid of last updater              */ 
         PRJVT,                /* Jcl variable table                  */ 
/*       PRTAB,                /* Date table                          */ 
         PRLUTS,               /* Tod clock at last update            */ 
         PRWXRNG,              /* ANALYSE: Period range in days       */ 
         PRWXDAY,              /* ANALYSE: Period first day           */ 
         PRWXLST,              /* ANALYSE: Period last day            */ 
         PRWXINT,              /* ANALYSE: Intervale type             */ 
         PRWXALL,              /* ALTERNATE: All dates                */ 
         PRWXBEG,              /* ALTERNATE: Begin dates              */ 
         PRWXEND)              /* ALTERNATE: End dates                */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=PRDATE   - Period date                                     | 
 |                    (derived from PRTAB in PRCOM)                   | 
 +--------------------------------------------------------------------*/ 
OUTPUT PRDATE DATA(=) LOADER(=) 
  KEYS(PRCOM.PRNAME            /* Period name                         */ 
       PRDSTART)               /* Period start date                   */ 

  FIELDS(PRDEND)               /* Period end date                     */ 


/*--------------------------------------------------------------------+ 
 | RECORD=RG        - Run cycle group                                 | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=RGCOM    - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT RGCOM DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(RGID)                   /* Run cycle group ID                  */ 

  FIELDS(RGIAT ,               /* Default input arrival time          */ 
         RGJVTAB ,             /* Default JCL variable table          */ 
         RGCAL ,               /* Default calendar                    */ 
         RGDESC ,              /* Run cycle group description         */ 
         RGLUSER ,             /* Userid of last updater              */ 
         RGLDATE ,             /* Date last updated                   */ 
         RGLTIME ,             /* Time last updated                   */ 
/*       RGLUTS ,              /* TOD clock at last update            */ 
         RGCOMVERS ,           /* Record version number               */ 
         RGOWNER ,             /* Owner ID                            */ 
         RGDD ,                /* Default deadline day (relative)     */ 
         RGDT)                 /* Default deadline time               */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=RGRUN    - Run cycle                                       | 
 +--------------------------------------------------------------------*/ 
OUTPUT RGRUN DATA(=) LOADER(=) 
  KEYS(RGCOM.RGID ,            /* Run cycle group ID                  */ 
       RGRSEQ)                 /* Sequence number                     */ 

  FIELDS(RGRNAME ,             /* Rule name                           */ 
         RGRVALF ,             /* Run cycle valid-from                */ 
         RGRVALT ,             /* Run cycle valid-to                  */ 
         RGRDESC ,             /* Run cycle description               */ 
         RGRRULE ,             /* Rule for work/free days             */ 
         RGRTYPE ,             /* Type (R/E/A/D)                      */ 
         RGRIAT ,              /* Input arrival time                  */ 
         RGRUNVERS ,           /* Record version number=1             */ 
         RGRJVTAB ,            /* JCL variable table                  */ 
         RGRIRDLEN ,           /* Rule definition length              */ 
         RGRREPEATEVERY ,      /* Repeat every                        */ 
         RGRREPEATENDT ,       /* Repeat end time                     */ 
         RGRSETID ,            /* Run cycle correlator                */ 
         RGRCALENDAR           /* Run cycle calendar                  */ 
         RGDD ,                /* Deadline day relative to start      */ 
         RGDT ,                /* Deadline time                       */ 
/*       RGRIRDALL ,           /* Rule text (with length)             */ 
         RGRULEL ,             /* Rule length (RGRULEL + RGRULET)     */ 
         RGRULET)              /* Rule text                           */ 

/*--------------------------------------------------------------------+ 
 | RECORD=SR        - Special resource                                | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=SRCOM    - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT SRCOM DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(SRCNAME)                /* Special resource name               */ 

  FIELDS(SRCGROUP,             /* Group id                            */ 
         SRCHIPER,             /* Dlf resource (Y/N)                  */ 
         SRCUSEDFOR,           /* Used for (N/P/C/B)                  */ 
         SRCONERROR,           /* On error option                     */ 
         SRCIVLNUM,            /* Number of intervals                 */ 
         SRCDESC,              /* Description                         */ 
         SRCONCOMPL,           /* On complete (Y/N/R/blank)           */ 
         SRCMAXTYPE,           /* Max limit type (Y/N/R)              */ 
         SRCMAXLIMIT,          /* Max limit value                     */ 
         SRCDEFQUANT,          /* Default quantity                    */ 
         SRCDEFAVAIL,          /* Default availability                */ 
         SRCLUSER,             /* Last updating user                  */ 
         SRCLDATE,             /* Date of last update                 */ 
         SRCLTIME,             /* Time of last update                 */ 
         SRCLUTS,              /* Tod clock at last update            */ 
         SRCVER ,              /* Record version                      */ 
         SRCWXDBZ  ,           /* WAXD Analyse: In TWSz database      */ 
         SRCWXREF  ,           /* WAXD Analyse: Referenced            */ 
         SRCWXMAX  ,           /* WAXD Analyse: Maximum usage         */ 
         SRCWXUSE  ,           /* WAXD Analyse: Usage type            */ 
         SRCWXDEF  ,           /* WAXD Analyse: Default workstation   */ 
         SRCWXCTL)             /* WAXD Analyse: Control usage         */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=SRIVL    - Interval                                        | 
 +--------------------------------------------------------------------*/ 
OUTPUT SRIVL DATA(=) LOADER(=) 
  KEYS(SRCOM.SRCNAME,          /* Special resource name               */ 
       SRIVLDAY,               /* Day number                          */ 
       SRIVLDATE,              /* Specific date                       */ 
       SRIVLFTIME)             /* From time                           */ 

  FIELDS(SRIVLTTIME,           /* To time                             */ 
         SRIVLQUANT,           /* Max number of SRs to allocate       */ 
         SRIVLWSCNUM,          /* Number of connected WSs             */ 
         SRIVLAVAIL)           /* Workstation name                    */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=SRIWS    - Interval workstation                            | 
 +--------------------------------------------------------------------*/ 
OUTPUT SRIWS DATA(=) LOADER(=) 
  KEYS(SRCOM.SRCNAME,          /* Special resource name               */ 
       SRIVL.SRIVLDAY,         /* Day number                          */ 
       SRIVL.SRIVLDATE,        /* Specific date                       */ 
       SRIVL.SRIVLFTIME,       /* From time                           */ 
       SRIWSNAME)              /* Workstation name                    */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=SRDWS    - Default workstation                             | 
 +--------------------------------------------------------------------*/ 
OUTPUT SRDWS DATA(=) LOADER(=) 
  KEYS(SRCOM.SRCNAME,          /* Special resource name               */ 
       SRDWSNAME)              /* Workstation name                    */ 


/*--------------------------------------------------------------------+ 
 | RECORD=WS        - Workstation description                         | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=WSCOM    - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSCOM DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(WSNAME)                 /* Workstation name                    */ 

  FIELDS(WSVERS ,              /* Version of record                   */ 
         WSTYPE ,              /* Workstation type (G/C/P/R)          */ 
         WSREP ,               /* Reporting attribute (A/S/C/N)       */ 
         WSPREP ,              /* Jobsetup ability                    */ 
         WSTRSPT ,             /* Transport time from predecessor WS  */ 
         WSOPDUR ,             /* Default operation duration          */ 
         WSDAY# ,              /* Total number of days                */ 
         WSTOTIVL# ,           /* Number of open intervals            */ 
         WSROUT ,              /* Printout routing for dp             */ 
         WSDESC ,              /* Workstation description             */ 
         WSPSJT ,              /* Control on servers                  */ 
         WSSPLIT ,             /* Splittable attribute                */ 
         WSR1NAM ,             /* R1 resource name                    */ 
         WSR1PLAN ,            /* Resource used at planning           */ 
         WSR1CONT ,            /* Resource used for control           */ 
         WSR2NAM ,             /* R2 resource name                    */ 
         WSR2PLAN ,            /* Resource used at planning           */ 
         WSR2CONT ,            /* Resource used for control           */ 
         WSSUDS ,              /* Destination                         */ 
         WSLDATE ,             /* Date last updated                   */ 
         WSLTIME ,             /* Time last updated                   */ 
         WSLUSER ,             /* Userid of last updater              */ 
         WSSTC ,               /* Started task ability (Y/N)          */ 
         WSWTO ,               /* WTO ability (Y/N)                   */ 
         WSPSPL ,              /* Planning on servers (Y/N)           */ 
         WSAUTO ,              /* System Automation workstation (Y/N) */ 
         WSLUTS ,              /* TOD clock at last update            */ 
         WSOPDURI ,            /* Default op dur in 100th sec         */ 
         
         WSWAIT ,              /* Wait workstation (Y/N)              */ 
         WSVIRT ,              /* Virtual workstation (Y/N)           */ 
         WSDES# ,              /* Number of destinations              */ 
         WSUSAGE ,             /* Server usage (B/P/C/N)              */ 
         WSZCENTR ,            /* Z-Centric Workstation (Y/N)         */ 
         WSRENG)               /* Remote engine type (Z/D/blank)      */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=WSCPUREC - Workstation CPU record                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSCPUREC DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(WSNAME)                 /* Workstation name                    */ 

  FIELDS(CPUOS ,               /* Operating system                    */ 
         CPUNODE ,             /* Node name                           */ 
         CPUTCPIP ,            /* Port number                         */ 
         CPUDOMAIN ,           /* Domain name                         */ 
         CPUHOST ,             /* Cpu name                            */ 
         CPUACCESS ,           /* Access method                       */ 
         CPUTYPE ,             /* Agent type                          */ 
         CPUAUTLNK ,           /* Auto link (ON/OFF)                  */ 
         CPUFULLSTAT ,         /* Full status (ON/OFF)                */ 
         CPURESDEP ,           /* Resolve dependencies (ON/OFF)       */ 
         CPUSERVER ,           /* Server ID                           */ 
         CPULIMIT ,            /* Job limit                           */ 
         CPUTZ ,               /* Time zone                           */ 
         CPUUSER ,             /* Default user                        */ 
         SSLLEVEL ,            /* SSL level (OFF/ON/ENABLED/FORCE)    */ 
         SSLPORT ,             /* SSL port number                     */ 
         FIREWALL)             /* Behind firewall (NO/YES)            */ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=WSIVL    - Open interval                                   | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSIVL DATA(=) LOADER(=) 
  KEYS(WSCOM.WSNAME ,          /* Workstation name                    */ 
       WSIVLTYPE,              /* Type of interval (WSSD/WSWD)        */ 
       WSIVLDAY ,              /* Interval day or date                */ 
       WSIVLS)                 /* Start time of interval              */ 

  FIELDS(WSIVLE ,              /* End time of interval                */ 
         WSIVLPS# ,            /* Number of parallel servers          */ 
         WSIVLR1# ,            /* R1 capacity                         */ 
         WSIVLR2# ,            /* R2 capacity                         */ 
         WSIVLAWS)             /* Alternate workstation name          */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=WSSD     - Specific date                                   | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSSD DATA(=) LOADER(=) 
  KEYS(WSCOM.WSNAME ,          /* Workstation name                    */ 
       WSSDDATE)               /* Specific date                       */ 

  FIELDS(WSSDDESC ,            /* Description of the date             */ 
         WSSDIVL#)             /* Number of open intervale            */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=WSWD     - Weekday                                         | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSWD DATA(=) LOADER(=) 
  KEYS(WSCOM.WSNAME ,          /* Workstation name                    */ 
       WSWDDAY)                /* Week day                            */ 

  FIELDS(WSWDDESC ,            /* Description of the date             */ 
         WSWDDIVL#)            /* Number of open intervale            */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=WSAM     - Workstation access method                       | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSAM DATA(=) LOADER(=) 
  KEYS(WSCOM.WSNAME)           /* Workstation name                    */ 

  FIELDS(WSAMACC ,             /* Access method name                  */ 
         WSAMADDR ,            /* Node address                        */ 
         WSAMPORT)             /* Port                                */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=WSDEST   - Workstation destination                         | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSDEST DATA(=) LOADER(=) 
  KEYS(WSCOM.WSNAME ,          /* Workstation name                    */ 
       WSDVDEST)               /* Destination                         */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=WSVCOM   - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSVCOM DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(WSVNAME,                /* Workstation name                    */ 
       WSVDESTN)               /* Workstation destination             */ 

  FIELDS(WSVVERS ,             /* Version of record                   */ 
         WSVTYPE ,             /* Workstation type (G/C/P)            */ 
         WSVREP ,              /* Reporting attribute (A/S/C/N)       */ 
         WSVDDAY# ,            /* Total number of days                */ 
         WSVDTOTIVL# ,         /* Number of open intervals            */ 
         WSVPSJT ,             /* Control on servers                  */ 
         WSVSPLIT ,            /* Splittable attribute                */ 
         WSVR1NAM ,            /* R1 resource name                    */ 
         WSVR1PLAN ,           /* Resource used at planning           */ 
         WSVR1CONT ,           /* Resource used for control           */ 
         WSVR2NAM ,            /* R2 resource name                    */ 
         WSVR2PLAN ,           /* Resource used at planning           */ 
         WSVR2CONT ,           /* Resource used for control           */ 
         WSVLDATE ,            /* Date last updated                   */ 
         WSVLTIME ,            /* Time last updated                   */ 
         WSVLUSER ,            /* Userid of last updater              */ 
         WSVSTC ,              /* Started task ability (Y/N)          */ 
         WSVLUTS)              /* TOD clock at last update            */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=WSVIVLD  - Open interval                                   | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSVIVLD DATA(=) LOADER(=) 
  KEYS(WSVCOM.WSVNAME ,        /* Workstation name                    */ 
       WSVCOM.WSVDESTN ,       /* Workstation destination             */ 
       WSVIVLDTYPE ,           /* Type of interval (WSSD/WSWD)        */ 
       WSVIVLDDAY ,            /* Interval day or date                */ 
       WSVIVLDS)               /* Start time of interval              */ 

  FIELDS(WSVIVLDE ,            /* End time of interval                */ 
         WSVIVLDPS# ,          /* Number of parallel servers          */ 
         WSVIVLDR1# ,          /* R1 capacity                         */ 
         WSVIVLDR2#)           /* R2 capacity                         */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=WSVSDD   - Specific date                                   | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSVSDD DATA(=) LOADER(=) 
  KEYS(WSVCOM.WSVNAME ,        /* Workstation name                    */ 
       WSVCOM.WSVDESTN ,       /* Workstation destination             */ 
       WSVSDDDATE)             /* Specific date                       */ 

  FIELDS(WSVSDDDESC ,          /* Description of the date             */ 
         WSVSDDIVL#)           /* Number of open intervale            */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=WSVWDD   - Weekday                                         | 
 +--------------------------------------------------------------------*/ 
OUTPUT WSVWDD DATA(=) LOADER(=) 
  KEYS(WSVCOM.WSVNAME ,        /* Workstation name                    */ 
       WSVCOM.WSVDESTN ,       /* Workstation destination             */ 
       WSVWDDDAY)              /* Week day                            */ 

  FIELDS(WSVWDDDESC ,          /* Description of the date             */ 
         WSVWDDDIVL#)          /* Number of open intervals            */ 



/*--------------------------------------------------------------------+ 
 | GROUP=CP      - All Current Plan objects                           | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | RECORD=CPOC      - Current Plan occurrence                         | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=CPOC     - Current Plan occurrence                         | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPOC DATA(OUTDATA) 
  KEYS(CPOCADI ,               /* Application ID                      */ 
/*     CPOCIA ,                /* Input arrival                       */ 
       CPOCIAD ,               /* Modified if IA is modified          */ 
       CPOCIAT)                /* else original from plan             */ 

  FIELDS(CPOCGRP ,             /* Authority group                     */ 
/*       CPOCIAO ,             /* Input arrival from LTP              */ 
         CPOCIAOD ,            /* Date                                */ 
         CPOCIAOT ,            /* Time                                */ 
         CPOCDESC ,            /* Descriptive text                    */ 
         CPOCOID ,             /* Owner ID                            */ 
         CPOCODES ,            /* Owner description                   */ 
/*       CPOCDL ,              /* Deadline                            */ 
         CPOCDLD ,             /* Date                                */ 
         CPOCDLT ,             /* Time                                */ 
/*       CPOCAA ,              /* Actual arrival                      */ 
         CPOCAAD ,             /* if arrived                          */ 
         CPOCAAT ,             /* else blanks                         */ 
/*       CPOCAC ,              /* Actual completion                   */ 
         CPOCACD ,             /* if completed                        */ 
         CPOCACT ,             /* else blanks                         */ 
         CPOCERR ,             /* Occurrence error code               */ 
         CPOCST ,              /* Occurrence status                   */ 
         CPOCRER ,             /* Rerun requested (Y/N)               */ 
         CPOCADDED ,           /* Added to current plan (Y/N)         */ 
         CPOCLATE ,            /* Latest out passed (Y/N)             */ 
         CPOCADDF ,            /* Adding function (E/D/P/A/ )         */ 
         CPOCMON ,             /* Monitoring flag                     */ 
         CPOCPRI ,             /* Priority                            */ 
         CPOC#OP ,             /* No. ops in occurrence               */ 
         CPOCOPC ,             /* No. ops completed                   */ 
         CPOC#ER ,             /* No. ops ended in error              */ 
         CPOC#UN ,             /* No. ops undecided                   */ 
         CPOC#ST ,             /* No. ops started                     */ 
         CPOCRDU ,             /* Remaining dur critical path         */ 
         CPOCROP ,             /* Remaining ops critical path         */ 
         CPOCCWS ,             /* Wsname of 1st critical op           */ 
         CPOCCOP ,             /* Op no. of 1st critical op           */ 
         CPOCVERS ,            /* Version number=1                    */ 
         CPOCJVT ,             /* JCL variable table                  */ 
         CPGROUPID ,           /* Group definition ID                 */ 
         CPOCCAL ,             /* Calendar name                       */ 
         CPOCRDUI ,            /* Remain. dur crit. path sec          */ 
         CPOCOCTO ,            /* Occurrence token                    */ 
/*       CPOCCLO ,             /* First critical op latest out        */ 
         CPOCCLOD ,            /* Date                                */ 
         CPOCCLOT ,            /* Time in 100th of sec.               */ 
         CPOCETTCRIT ,         /* ETT criteria                        */ 
         CPOCETTTYP ,          /* ETT type: J or R                    */ 
         CPOCETTJOB ,          /* ETT job name                        */ 
         CPOCETTJID ,          /* ETT job ID                          */ 
         CPOCETTGROOT ,        /* ETT GDG root                        */ 
         CPOCETTEVNAM ,        /* Complete ETT event name             */ 
         CPOCETTGGEN)          /* ETT GDG generation                  */ 

/*--------------------------------------------------------------------+ 
 ! SEGMENT=CPOCPRE    - Predecessor                                   ! 
 +--------------------------------------------------------------------*/
OUTPUT CPOCPRE DATA(=)                                                  
  KEYS(CPOCCOM.CPOCADI ,       /* Owning application ID               */
       CPOCCOM.CPOCIAD ,       /* Owning application IA date          */
       CPOCCOM.CPOCIAT ,       /* Owning application IA time          */
       CPOCPREADI ,            /* Application ID                      */
       CPOCPRENO ,             /* Operation number                    */
/*     CPOCPREIA ,             /* Input Arrival                       */
       CPOCPREIAD ,            /* Modified if IA is modified          */
       CPOCPREIAT)             /* else original from plan             */
                                                                        
  FIELDS(CPOCPRECO ,           /* Predecessor completed (Y/N)         */
         CPOCPRENR ,           /* PRED. WS was nonreporting           */
         CPOCPRETT ,           /* Transport time                      */
         CPOCPREND ,           /* Pending pred occurrence             */
         CPOCPREVERS ,         /* Version number=1                    */
         CPOCPREJN ,           /* Predecessor job name                */
         CPOCPREST ,           /* Predecessor status                  */
         CPOCPMATC ,           /* Predecessor resolution criteria     */
                               /* Blank (Manually chosen)             */
                              /* C (Closest preceding)                */
                               /* S (Same day)                        */
                               /* A (Absolute interval)               */
                               /* R (Relative interval)               */
         CPOCPRECRITPATH ,     /* Predecessor of an operation         */
                               /* belonging to a critical path        */
         CPOCPMANDP)           /* Y: Mandatory Pending -Cannot be set */

/*--------------------------------------------------------------------+ 
 ! SEGMENT=CPOCSUC    - Successor                                     ! 
 +--------------------------------------------------------------------*/
OUTPUT CPOCSUC DATA(=)                                                  
  KEYS(CPOCCOM.CPOCSUCADI ,    /* Owning application ID               */
       CPOCCOM.CPOCSUCIAD ,    /* Owning application IA date          */
       CPOCCOM.CPOCSUCIAT ,    /* Owning application IA time          */
       CPOCSUCADI ,            /* Application ID                      */
       CPOCSUCNO ,             /* Operation number                    */
/*     CPOCSUCIA ,                Input Arrival                       */
       CPOCSUCIAD ,            /* Modified if IA is modified          */
       CPOCSUCIAT)             /* else original from plan             */
                                                                        
  FIELDS(CPOCSUCCR ,           /* On critical path (Y/N)              */
         CPOCSUCVERS ,         /* Version number=1                    */
         CPOCSUCJN ,           /* Successor job name                  */
         CPOCSUCST)            /* Successor status                    */

/*--------------------------------------------------------------------+ 
 | RECORD=CPOP      - Current Plan operation                          | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=CPOPCOM  - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPOPCOM DATA(OUTDATA) 
  KEYS(CPOPADI ,               /* Application ID                      */ 
       CPOPNO ,                /* Operation number                    */ 
/*     CPOPIA ,                /* Application input arrival           */ 
       CPOPIAD ,               /* modified if ia is modified          */ 
       CPOPIAT)                /* else original from plan             */ 

  FIELDS(CPOPGRP ,             /* Authority group                     */ 
         CPOPDESC ,            /* Descriptive text                    */ 
         CPOPJBN ,             /* Op OS jobname / blank               */ 
         CPOPJES ,             /* Job id                              */ 
         CPOPWSN ,             /* Workstation name                    */ 
         CPOPFRM ,             /* Form number / blank                 */ 
/*       CPOPPS ,              /* Planned start                       */ 
         CPOPPSD ,             /* Date / blank                        */ 
         CPOPPST ,             /* Time / blank                        */ 
/*       CPOPPE ,              /* Planned end                         */ 
         CPOPPED ,             /* Date / blank                        */ 
         CPOPPET ,             /* Time / blank                        */ 
/*       CPOPOI ,              /* Operation input arrival             */ 
         CPOPOID ,             /* Date / blank                        */ 
         CPOPOIT ,             /* Time / blank                        */ 
/*       CPOPOD ,              /* Operation deadline                  */ 
         CPOPODD ,             /* Date / blank                        */ 
         CPOPODT ,             /* Time / blank                        */ 
/*       CPOPLO ,              /* Latest out                          */ 
         CPOPLOD ,             /* Date                                */ 
         CPOPLOT ,             /* Time                                */ 
/*       CPOPAS ,              /* Actual start                        */ 
         CPOPASD ,             /* Date / blank                        */ 
         CPOPAST ,             /* Time / blank                        */ 
/*       CPOPAA ,              /* Actual arrival                      */ 
         CPOPAAD ,             /* Date / blank                        */ 
         CPOPAAT ,             /* Iime / blank                        */ 
/*       CPOPIS ,              /* Intermed.start,if intrupted         */ 
         CPOPISD ,             /* Date / blank                        */ 
         CPOPIST ,             /* Time / blank                        */ 
/*       CPOPAE ,              /* Actual end                          */ 
         CPOPAED ,             /* Date / blank                        */ 
         CPOPAET ,             /* Time / blank                        */ 
/*       CPOPED ,              /* Estimated duration                  */ 
         CPOPEDH ,             /* Estimated duration hours HH         */ 
         CPOPEDM ,             /* Estimated duration mins MM          */ 
/*       CPOPAD ,              /* Actual duration                     */ 
         CPOPADH ,             /* Act. duration hrs HHHH / blank      */ 
         CPOPADM ,             /* Act. duration mins MM / blank       */ 
         CPOPST ,              /* Current status                      */ 
         CPOPERR ,             /* Error code                          */ 
         CPOPXST ,             /* Extended status                     */ 
         CPOP#PS ,             /* No. parallel servers required       */ 
         CPOP#R1 ,             /* No. r1 resources required           */ 
         CPOP#R2 ,             /* No. r2 resources required           */ 
         CPOPPRI ,             /* Priority                            */ 
         CPOP#SU ,             /* Number of successors                */ 
         CPOP#PR ,             /* Number of predecessors              */ 
         CPOP#PC ,             /* No. completed predecessors          */ 
         CPOP#SR ,             /* No. of special resources            */ 
         CPOPPTT ,             /* Transport time if pred, min         */ 
         CPOPRDD ,             /* SMF reader date                     */ 
                               /* (00YYDDDF or 01YYDDDF)              */ 
         CPOPRDT ,             /* SMF reader time                     */ 
         CPOPJCL ,             /* Jobclass, sysout class / blank      */ 
         CPOPAEC ,             /* Auto error completion (Y/N)         */ 
         CPOPASUB ,            /* Auto job submission (Y/N)           */ 
         CPOPAJR ,             /* Auto hold/release (Y/N)             */ 
         CPOPTIME ,            /* Time job (Y/N)                      */ 
         CPOPCLATE ,           /* Cancel if late (Y/N/blank)          */ 
         CPOPMCPUP ,           /* Time of last mcp update             */ 
         CPOPCPTH ,            /* On critical path (F/Y/N)            */ 
         CPOPLATE ,            /* Latest out passed (Y/ )             */ 
         CPOPURG ,             /* Urgent (Y/ )                        */ 
         CPOPJST ,             /* Job status (H/Q/ /N)                */ 
         CPOPPREP ,            /* JCL preparation op. (Y/N)           */ 
         CPOPOIST ,            /* Op instr exist (Y/N/+)              */ 
         CPOPHRC ,             /* Highest OK return code              */ 
         CPOPVERS ,            /* Version number=1                    */ 
         CPOPWTO ,             /* Deadline WTO (Y/N)                  */ 
         CPOPRES ,             /* Restartable (Y/N/blank)             */ 
         CPOPRER ,             /* Reroutable (Y/N/blank)              */ 
         CPOPHRCS ,            /* Highest RC set (Y/N/blank)          */ 
         CPOPMHLD ,            /* Manually held op (Y/N/blank)        */ 
         CPOPNOP ,             /* NOPed operation (Y/N/blank)         */ 
         CPOPCATM ,            /* Restart and cleanup A=Autom.,       */ 
                               /* I=Immed., M=Manual, N=None          */ 
         CPOPUDA ,             /* User field                          */ 
/*       CPOPCMDS ,            /* Operation commands                  */ 
         CPOPCMD ,             /* Operation command                   */ 
         CPOPCSTA ,            /* Cleanup status                      */ 
/*       CPOPWSINFO ,          /* Workstation information             */ 
         CPOPWSISET ,          /* Info available (Y/N)                */ 
         CPOPWSTYPE ,          /* WS type G/C/P                       */ 
         CPOPWSREP ,           /* Reporting attr A/S/C/N              */ 
         CPOPWSSUBT ,          /* Subtype JCL, STC, WTO, NONE         */ 
                               /* J/S/W blank                         */ 
         CPOPWSSTAT ,          /* Status A/F/O/U/blank                */ 
         CPOPWSRRM ,           /* Reroute mode (Y/N)                  */ 
         CPOPJCRT ,            /* Workload monitor critical job       */ 
         CPOPJPOL ,            /* Workload monitor late job policy    */ 
         CPOPEDUI ,            /* Estimated dur. in 100th of sec      */ 
         CPOPADUI ,            /* Actual dur. in 100th of sec         */ 
         CPOPPSTI ,            /* Plan. start time 100th of sec       */ 
         CPOPPETI ,            /* Plan. end time in 100th of sec      */ 
         CPOPLOTI ,            /* Latest out time 100th of sec        */ 
         CPOPASTI ,            /* Actual start time 100th of sec      */ 
         CPOPAATI ,            /* Actual arr. time 100th of sec       */ 
         CPOPISTI ,            /* Int. start time 100th of sec        */ 
         CPOPAETI ,            /* Actual end time 100th of sec        */ 
         CPOPEXPJCL ,          /* Expanded JCL needed                 */ 
         CPOPUSRSYS ,          /* User sysout needed                  */ 
         CPOPOCTO ,            /* Occurrence token                    */ 
         CPOPMON ,             /* Monitoring flag                     */ 
         CPOPCENSCR ,          /* Centralised script                  */ 
         CPOPNLVL ,            /* Max nesting level                   */ 
         CPOPRECIS ,           /* Y if CPREC segment exists           */ 
         
         CPOPDELAY ,           /* Started on wait workstation (Y/N)   */ 
         CPOPCRITPATH ,        /* Belonging to critical path          */ 
         CPOPWLMCLASS ,        /* WLM service class                   */ 
         CPOPWAITSE ,          /* Waiting for scheduling              */ 
                               /* environment (N/S/Y)                 */ 
         CPOPVIRTDEST ,        /* Submission destination              */ 
         CPOPEXECDEST ,        /* Execution destination               */ 
         CPOPDREM ,            /* Removable by DP                     */ 
         CPOPCONDRJOB ,        /* Conditional recovery job            */ 
         CPOPUNEXPRC ,         /* Unexpected RC (Y/N)                 */ 
         CPOPSHADOW ,          /* Shadow job (Y/N)                    */ 
         
         CPOP#CPROP ,          /* Number of conditional predecessors  */ 
         CPOP#CSUOP ,          /* Number of conditional successors    */ 
         CPOP#CONDTOT ,        /* Number of conditions                */ 
         CPOP#COND_T ,         /* Number of True conditions           */ 
         CPOP#COND_F ,         /* Number of False conditions          */ 
         CPOP#PX ,             /* Number of predecessors in X status  */ 
         CPOPORIGRC ,          /* Original return code                */ 
         CPOPBNDST ,           /* Bind status for shadow jobs         */ 
                               /* Possible values for CPOPBNDST are:  */ 
                               /* P - Bind sent                       */ 
                               /* J - Sending bind                    */ 
                               /* B - Bind error                      */ 
                               /* I - Bind OK                         */ 
         CPOPWPEND ,           /* Waiting for at least 1 P-Pred       */ 
         CPOPWMPEND ,          /* Waiting for at least 1 Mand Pred    */ 
         CPOPWMPPEND)          /* Waiting for at least 1 Mand/P-Pred  */ 

         CPOPLATEL ,           /* If Y job IS late L                  */
         CPOPLATEN ,           /* If Y job IS late N                  */
         CPOPLATEE ,           /* If Y job IS late E                  */
         CPOPRUNC ,            /* Applied run cycle                   */ 
         CPOPTOD ,             /* Last update TOD                     */
      / *CPOPORIGDL,              original operation                  */
      / *CPOPORIGDLDATE,        deadline date and time                */
         CPOPORIGDLD ,         /* date | blank                        */
         CPOPORIGDLT ,         /* time | blank                        */
         CPOPORIGDLA ,         /* A,N,C,E, blank                      */
         CPOPULATE ,           /* If Y job IS late                    */
         CPOPMOVEDL)           /* deadline is moved to                */
/*--------------------------------------------------------------------+ 
 | SEGMENT=CPEXT    - Operation extended name                         | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPEXT DATA(=) 
  KEYS(CPOPCOM.CPOPADI ,       /* Application ID                      */ 
       CPOPCOM.CPOPIA ,        /* Application input arrival           */ 
       CPEXTOWNOP)             /* Owning op number                    */ 

  FIELDS(CPEXTNAME ,           /* Extended name                       */ 
         CPEXTVERS)            /* Record version number               */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPSAI    - Operation system automation information         | 
 +--------------------------------------------------------------------*/ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPREND   - Distributed remote job info                     | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPREND DATA(=) 
  KEYS(CPOPCOM.CPOPADI ,       /* Owning application ID               */ 
       CPOPCOM.CPOPIA ,        /* Owning application input arrival    */ 
       CPRDOWOP)               /* Owning operation number             */ 

  FIELDS(CPRDVERS ,            /* Version                             */ 
         CPRDCOMP ,            /* Complete on failed bind (Y/N)       */ 
         CPRDJSN ,             /* Job stream name                     */ 
         CPRDJSWS ,            /* Job stream workstation              */ 
/*       CPRDIAD ,             /* Input arrival date (YYMMDD) | blank */ 
/*       CPRDIAT ,             /* Input arrival time (HHMM) | blank   */ 
         CPRDIA)               /* Input arrival (YYMMDDHHMM) | blank  */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPRENZ   - z/OS remote job info                            | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPRENZ DATA(=) 
  KEYS(CPOPCOM.CPOPADI ,       /* Owning application ID               */ 
       CPOPCOM.CPOPIA ,        /* Owning application input arrival    */ 
       CPRZOWOP)               /* Owning operation number             */ 

  FIELDS(CPRZVERS ,            /* Version                             */ 
         CPRZCOMP ,            /* Complete on failed bind (Y/N)       */ 
         CPRZOPNO ,            /* Operation number                    */ 
         CPRZOCCN ,            /* Application ID                      */ 
         CPRZWS ,              /* Job workstation                     */ 
         CPRZJOBN ,            /* Job name                            */ 
/*       CPRZIAD ,             /* Input arrival date (YYMMDD) | blank */ 
/*       CPRZIAT ,             /* Input arrival time (HHMM) | blank   */ 
         CPRZIA)               /* Input arrival (YYMMDDHHMM) | blank  */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPSR     - Special resource                                | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPSR DATA(=) 
  KEYS(CPOPCOM.CPOPADI ,       /* Owning application ID               */ 
       CPOPCOM.CPOPIA ,        /* Owning application input arrival    */ 
       CPOPCOM.CPOPNO ,        /* Owning operation number             */ 
       CPSRN)                  /* Name                                */ 

  FIELDS(CPSRU ,               /* Usage (S=Shared, X=Exclusive)       */ 
         CPSRVERS ,            /* Version                             */ 
         CPSRONER ,            /* On error flag                       */ 
         CPSRAMNT)             /* Quantity                            */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPOPSRU  - Special resource usage                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPOPSRU DATA(OUTDATA) 
  KEYS(CPOPUADI,               /* Application id                      */ 
       CPOPUIA,                /* Application input arrival           */ 
       CPOPUNO)                /* Operation number                    */ 

  FIELDS(CPOPUIAD,             /* Modified if ia is modified          */ 
         CPOPUIAT,             /* Else original from plan             */ 
         CPOPUJBN,             /* Op os jobname                       */ 
         CPOPUWSN,             /* Ws name                             */ 
         CPOPULO,              /* Latest out                          */ 
         CPOPULOD,             /* Date, blank if in-use list          */ 
         CPOPULOT,             /* Time, blank if in-use list          */ 
         CPOPUAS,              /* Actual start                        */ 
         CPOPUASD,             /* Date, blank if wait queue           */ 
         CPOPUAST,             /* Time, blank if wait queue           */ 
         CPOPUEDU,             /* Estimated duration                  */ 
         CPOPUEDH,             /* Est dur hh                          */ 
         CPOPUEDM,             /* Est dur mm                          */ 
         CPOPUST,              /* Current state                       */ 
         CPOPUVERS,            /* Version                             */ 
         CPOPUPRI,             /* Priority                            */ 
         CPOPUSRQ,             /* Sr quantity used/needed             */ 
         CPOPUWRS,             /* Reason for wait for sr              */ 
         CPOPUSRU,             /* Sr allocation type                  */ 
         CPOPUEDUI)            /* Est dur in 100th sec                */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPREC    - Operation recovery                              | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPREC DATA(=) 
  KEYS(CPRECAID ,              /* Application ID                      */ 
       CPRECNO ,               /* Operation number                    */ 
       CPRECJREID ,            /* ID of recovery job                  */ 
       CPRECIA)                /* Input arrival                       */ 

  FIELDS(CPRECIAD ,            /* Modified if IA is modified          */ 
         CPRECIAT ,            /* else original from plan             */ 
         CPRECWSN ,            /* workstation name of rec job         */ 
         CPRECS ,              /* Recovery job start                  */ 
         CPRECSD ,             /* Date / blank                        */ 
         CPRECST ,             /* Time SEC*100 / 0                    */ 
         CPRECE ,              /* Recovery job end                    */ 
         CPRECED ,             /* Date / blank                        */ 
         CPRECET ,             /* Time SEC*100 / 0                    */ 
         CPRECRJST ,           /* Recovery job status                 */ 
         CPRECTYPE ,           /* Recovery type                       */ 
                               /* S - Stop                            */ 
                               /* C - Continue                        */ 
                               /* R - Rerun                           */ 
         CPRECDUR ,            /* Recovery job duration               */ 
         CPRECPROMPTID ,       /* Recovery prompt ID                  */ 
         CPRECPRTMSG ,         /* Recovery message                    */ 
         CPRECPRTSTAT ,        /* Recovery prompt status              */ 
                               /* ' ' --> No reply                    */ 
                               /* 'N' --> Reply with N                */ 
                               /* 'Y' --> Reply with Y                */ 
         CPRECJID ,            /* ID of job to recover                */ 
         CPRECERC ,            /* Recovery job error code             */ 
         CPRECVERS)            /* Version number                      */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPPRE    - Predecessor                                     | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPPRE DATA(=) 
  KEYS(CPOPCOM.CPOPADI ,       /* Owning application ID               */ 
       CPOPCOM.CPOPIAD ,       /* Owning application IA date          */ 
       CPOPCOM.CPOPIAT ,       /* Owning application IA time          */ 
       CPOPCOM.CPOPNO ,        /* Owning operation number             */ 
       CPPREADI ,              /* Application ID                      */ 
       CPPRENO ,               /* Operation number                    */ 
/*     CPPREIA ,               /* Input Arrival                       */ 
       CPPREIAD ,              /* Modified if IA is modified          */ 
       CPPREIAT)               /* else original from plan             */ 

  FIELDS(CPPRECO ,             /* Predecessor completed (Y/N)         */ 
         CPPRENR ,             /* PRED. WS was nonreporting           */ 
         CPPRETT ,             /* Transport time                      */ 
         CPPREND ,             /* Pending pred occurrence             */ 
         CPPREVERS ,           /* Version number=1                    */ 
         CPPREJN ,             /* Predecessor job name                */ 
         CPPREST ,             /* Predecessor status                  */ 
         CPPMATC ,             /* Predecessor resolution criteria     */ 
                               /* Blank (Manually chosen)             */ 
                               /* C (Closest preceding)               */ 
                               /* S (Same day)                        */ 
                               /* A (Absolute interval)               */ 
                               /* R (Relative interval)               */ 
         CPPRECRITPATH ,       /* Predecessor of an operation         */ 
                               /* belonging to a critical path        */ 
         CPPMANDP)             /* Y: Mandatory Pending -Cannot be set */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPCPR    - Current Plan conditional predecessor            | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPCPR DATA(=) 
  KEYS(CPOPCOM.CPOPADI ,       /* Application ID                      */ 
       CPOPCOM.CPOPIA ,        /* Application input arrival           */ 
       CPOPCOM.CPOPNO ,        /* Owning op number                    */ 
       CPCPREADI ,             /* Predecessor application ID          */ 
       CPCPREIA ,              /* Predecessor input arrival           */ 
/*     CPCPREIAD ,             /* Predecessor input arrival date      */ 
/*     CPCPREIAT ,             /* Predecessor input arrival           */ 
       CPCPRENO ,              /* Predecessor operation number        */ 
       CPCPRE_CID)             /* Condition ID                        */ 

  FIELDS(CPCPRECO ,            /* Predecessor completed (Y/N)         */ 
         CPCPRENR ,            /* Predecessor WS was non reporting    */ 
         CPCPRETT ,            /* Transport time                      */ 
         CPCPREND ,            /* Pending predecessor                 */ 
         CPCPREVERS ,          /* Version                             */ 
         CPCPREJN ,            /* Job name                            */ 
         CPCPREST ,            /* Predecessor status                  */ 
         CPCPMATC ,            /* Predecessor resolution criteria     */ 
                               /* Blank (Manually chosen)             */ 
                               /* C (Closest preceding)               */ 
                               /* S (Same day)                        */ 
                               /* A (Absolute interval)               */ 
                               /* R (Relative interval)               */ 
         CPCPRECPATH)          /* Critical predecessor                */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPSUC    - Successor                                       | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPSUC DATA(=) 
  KEYS(CPOPCOM.CPOPADI ,       /* Owning application ID               */ 
       CPOPCOM.CPOPIAD ,       /* Owning application IA date          */ 
       CPOPCOM.CPOPIAT ,       /* Owning application IA time          */ 
       CPOPCOM.CPOPNO ,        /* Owning operation number             */ 
       CPSUCADI ,              /* Application ID                      */ 
       CPSUCNO ,               /* Operation number                    */ 
/*     CPSUCIA ,                  Input Arrival                       */ 
       CPSUCIAD ,              /* Modified if IA is modified          */ 
       CPSUCIAT)               /* else original from plan             */ 

  FIELDS(CPSUCCR ,             /* On critical path (Y/N)              */ 
         CPSUCVERS ,           /* Version number=1                    */ 
         CPSUCJN ,             /* Successor job name                  */ 
         CPSUCST)              /* Successor status                    */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPCSU    - Current Plan conditional succcessor             | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPCSU DATA(=) 
  KEYS(CPOPCOM.CPOPADI ,       /* Application ID                      */ 
       CPOPCOM.CPOPIA ,        /* Application input arrival           */ 
       CPOPCOM.CPOPNO ,        /* Owning op number                    */ 
       CPCSUCADI ,             /* Successor application ID            */ 
       CPCSUCIA ,              /* Successor input arrival             */ 
/*     CPCSUCIAD ,             /* Successor input arrival date        */ 
/*     CPCSUCIAT ,             /* Successor input arrival             */ 
       CPCSUCNO ,              /* Successor operation number          */ 
       CPCSUC_CID)             /* Condition ID                        */ 

  FIELDS(CPCSUCCR ,            /* On critical path                    */ 
         CPCSUCVERS ,          /* Version                             */ 
         CPCSUCJN ,            /* Job name                            */ 
         CPCSUCST)             /* Successor status                    */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPUSRF   - Operation User field                            | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPUSRF DATA(OUTDATA) 
  KEYS(CPUFADID,               /* Application ID                      */ 
       CPUFOPNO ,              /* ID of recovery job                  */ 
       CPUFIA ,                /* Input arrival                       */ 
       CPUFNAME)               /* User field name                     */ 

  FIELDS(CPUFVALUE)            /* User field value                    */ 


/*--------------------------------------------------------------------+ 
 | RECORD=CPCOND    - Current plan condition                          | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=CPCONDCO - Current Plan Condition                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPCONDCO DATA(OUTBL) 
  KEYS(CPCOADI ,               /* Application ID                      */ 
       CPCOIA ,                /* Input arrival                       */ 
/*     CPCOIAD ,               /* Input arrival date                  */ 
/*     CPCOIAT ,               /* Input arrival time                  */ 
       CPCOOPNO ,              /* Operation number                    */ 
       CPCOCID)                /* Condition ID                        */ 

  FIELDS(CPCODESC ,            /* Condition description               */ 
         CPCO#SIMP ,           /* Number of condition dependencies    */ 
         CPCOCOUNT ,           /* Rule type:                          */ 
                               /* 0 = All                             */ 
                               /* N>0 = At least N of                 */ 
         CPCOVALUE ,           /* Final condition status:             */ 
                               /* U: Undecided T: True F: False       */ 
         CPCOVERS ,            /* Version                             */ 
         CPCOXST)              /* Condition extended status           */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPSIMP   - Current Plan Condition dependency               | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPSIMP DATA(=) 
  KEYS(CPCONDCO.CPCOADI ,      /* Application ID                      */ 
       CPCONDCO.CPCOIA ,       /* Input arrival                       */ 
/*     CPCONDCO.CPCOIAD ,      /* Input arrival date                  */ 
/*     CPCONDCO.CPCOIAT ,      /* Input arrival time                  */ 
       CPCONDCO.CPCOOPNO ,     /* Operation number                    */ 
       CPCONDCO.CPCOCID ,      /* Condition ID                        */ 
       CPSIPREADI ,            /* Predecessor application ID          */ 
       CPSIPREIA ,             /* Predecessor input arrival           */ 
/*     CPSIPREIAD ,            /* Predecessor input arrival date      */ 
/*     CPSIPREIAT ,            /* Predecessor input arrival time      */ 
       CPSIPREOPNO)            /* Predecessor operation number        */ 

  FIELDS(CPSITYP ,             /* Check type: RC or ST                */ 
         CPSILOG ,             /* Operator: GE GT LE LT EQ NE RG      */ 
         CPSIVALRC ,           /* Return code value                   */ 
         CPSIVALRC2 ,          /* Upper limit of return code range    */ 
         CPSIVALST ,           /* Status value                        */ 
         CPSILVAL ,            /* Condition dependency status: U T F  */ 
         CPSIVERS ,            /* Version                             */ 
         CPSIREMOVED ,         /* Condition dependency removed: (Y/N) */ 
         CPSISTEPMISS ,        /* Missing step end information: (Y/N) */ 
         CPSISTEP ,            /* Procedure invocation step name      */ 
         CPSIPSTEP ,           /* Step name                           */ 
         CPSIJOBNAME ,         /* Job name                            */ 
         CPSIWSNAME ,          /* Workstation name                    */ 
         CPSINEWSTAT)          /* New status: T F                     */ 


/*--------------------------------------------------------------------+ 
 | RECORD=CPST      - Current Plan status                             | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=CPST     - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPST DATA(OUTDATA) 
  FIELDS(CPSTVERS,             /* Version number=1                    */ 
         CPSTCRD,              /* Current plan create date            */ 
         CPSTCRT,              /* Current plan create time            */ 
         CPSTENDD,             /* Current plan end date               */ 
         CPSTENDT,             /* Current plan end time               */ 
         CPSTBUD,              /* Last backup date                    */ 
         CPSTBUT,              /* Last backup time                    */ 
         CPST1ED,              /* 1st event after backup date         */ 
         CPST1ET,              /* 1st event after backup time         */ 
         CPST1EDTS,            /* 1st evevt timestamp date            */ 
         CPST1ETTS,            /* 1st evevt timestamp time            */ 
         CPSTTURN,             /* Turnover produces ncp               */ 
         CPSTCP,               /* Current plan exists (Y/N)           */ 
         CPSTCPDDN,            /* Current plan ddname                 */ 
         CPSTJTDDN,            /* Job tracking ddname                 */ 
         CPSTJSDDN)            /* Jcl repository ddname               */ 


/*--------------------------------------------------------------------+ 
 | RECORD=CPWS      - Current Plan workstation                        | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=CPWSCOM  - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPWSCOM DATA(OUTDATA) 
  KEYS(CPWSN)                  /* Workstation name                    */ 

  FIELDS(CPWSDESC,             /* Workstation description             */ 
         CPWSSC#,              /* No of completed ops                 */ 
         CPWSSCE,              /* Estimated duration - C              */ 
         CPWSSCR,              /* Actual duration - C                 */ 
         CPWSSI#,              /* No of interrupted ops               */ 
         CPWSSIE,              /* Estimated duration - I              */ 
         CPWSSIR,              /* Actual duration - I                 */ 
         CPWSSS#,              /* No of started ops                   */ 
         CPWSSSE,              /* Estimated duration - S              */ 
         CPWSSR#,              /* No of ready ops                     */ 
         CPWSSRE,              /* Estimated duration - R              */ 
         CPWSSW#,              /* No of waiting ops                   */ 
         CPWSSWE,              /* Estimated duration - W              */ 
         CPWSR1IU#,            /* No of r1 resources in use           */ 
         CPWSR2IU#,            /* No of r2 resources in use           */ 
         CPWSIVL#,             /* No of open intervals                */ 
         CPWSTYPE,             /* Workstation type (G/C/P/R)          */ 
         CPWSREP,              /* Reporting attr (A/S/C/N)            */ 
         CPWSPSC,              /* Control on parallel servers         */ 
         CPWSR1N,              /* R1 resource name                    */ 
         CPWSR1C,              /* R1 used for control                 */ 
         CPWSR2N,              /* R2 resource name                    */ 
         CPWSR2C,              /* R2 used for control                 */ 
         CPWSPREP,             /* Job setup ability                   */ 
         CPWSVERS,             /* Version number=1                    */ 
         CPWSSTC,              /* Started task ability (Y/N)          */ 
         CPWSWTO,              /* Wto ability (Y/N)                   */ 
         CPWSSTAT,             /* Workstation status (A/O/F)          */ 
         CPWSRERUT,            /* Reroute mode (Y/N)                  */ 
         CPWSALTWS,            /* Alternat ws name                    */ 
         
         
         CPWSDEST ,            /* Destination                         */ 
         CPWSZCEN ,            /* Z-Centric workstation (Y/N)         */ 
         CPWSRETY ,            /* Remote engine type (D/Z/blank)      */ 
         CPWSSX)               /* Sum of suppressed cond op           */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPIVL    - Current Plan workstation open interval          | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPIVL DATA(=) 
  KEYS(CPWSCOM.CPWSN,          /* Workstation name                    */ 
       CPIVLFR)                /* From yymmddhhmm                     */ 

  FIELDS(CPIVLFD,              /* From date yymmdd                    */ 
         CPIVLFT,              /* From time hhmm                      */ 
         CPIVLTO,              /* To yymmddhhmm                       */ 
         CPIVLTD,              /* To date                             */ 
         CPIVLTT,              /* To time                             */ 
         CPIVL#PS,             /* Max parallel servers                */ 
         CPIVL#DPPS,           /* Ps set by daily planning            */ 
         CPIVL#R1,             /* Current r1 capacity                 */ 
         CPIVL#DPR1,           /* R1 set by daily planning            */ 
         CPIVL#R2,             /* Current r2 capacity                 */ 
         CPIVL#DPR2,           /* R2 set by daily planning            */ 
         CPIVLVERS,            /* Version number                      */ 
         CPIVLDPAWS,           /* Dp alternate workstation            */ 
         CPIVLAWS,             /* Current alternate ws                */ 
         CPIVLMOD,             /* Y - mcp modified/added              */ 
         CPIVLDP)              /* Y - originates from wsd             */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPWSVCOM - Workstation instance                            | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPWSVCOM DATA(OUTDATA) 
  KEYS(CPWSVNAM ,              /* Workstation name                    */ 
       CPWSVDST)               /* Workstation Destination             */ 

  FIELDS(                      /*                                     */ 
/*       CPWSVDESC ,           /* Description (not used)              */ 
/*       CPWSVSC# ,            /* Number of complete ops (not used)   */ 
/*       CPWSVSCE ,            /* Estimated duration (not used)       */ 
/*       CPWSVSCR ,            /* Real duration (not used)            */ 
/*       CPWSVSI# ,            /* Number of interupted ops (not used) */ 
/*       CPWSVSIE ,            /* Estimated duration (not used)       */ 
/*       CPWSVSIR ,            /* Real duration (not used)            */ 
/*       CPWSVSS# ,            /* Number of started ops (not used)    */ 
/*       CPWSVSSE ,            /* Estimated duration (not used)       */ 
         CPWSVSR# ,            /* Number of started ops               */ 
         CPWSVSRE ,            /* Estimated duration                  */ 
/*       CPWSVSW  ,            /* Number of waiting ops (not used)    */ 
/*       CPWSVSWE ,            /* Estimated duration (not used)       */ 
         CPWSVR1IU# ,          /* No of Resource 1 in use             */ 
         CPWSVR2IU# ,          /* No of Resource 2 in use             */ 
         CPWSVIVL# ,           /* No of open intervals                */ 
         CPWSVTYPE ,           /* Work station type: C only           */ 
         CPWSVREP ,            /* Reporting attribute A only          */ 
         CPWSVPSC ,            /* Control on parallel servers         */ 
         CPWSVR1N ,            /* Resource 1 name                     */ 
/*       CPWSVR1C ,            /* Res. used at control (not used)     */ 
         CPWSVR2N ,            /* Resource 2 name                     */ 
/*       CPWSVR2C ,            /* Res. used at control (not used)     */ 
         CPWSVVERS ,           /* Version number=1                    */ 
         CPWSVSTC ,            /* Started task (Y/N)                  */ 
         CPWSVSTAT)            /* Workstation status (A/O/F)          */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CPVIVL   - Workstation instance interval                   | 
 +--------------------------------------------------------------------*/ 
OUTPUT CPVIVL   DATA(OUTDATA) 
  KEYS(CPWSVCOM.CPWSVNAM  ,    /* Workstation name                    */ 
       CPWSVCOM.CPWSVDST  ,    /* Destination                         */ 
/*     CPVIVLFR  ,             /* Interval start                      */ 
       CPVIVLFD  ,             /* Date YYMMDD                         */ 
       CPVIVLFT)               /* Time HHMM                           */ 

/*FIELDS(CPVIVLTO  ,           /* Interval end                        */ 
  FIELDS(CPVIVLTD  ,           /* Date YYMMDD                         */ 
         CPVIVLTT  ,           /* Time HHMM                           */ 
         CPVIVL#PS  ,          /* Max number of parallel servers      */ 
         CPVIVL#DPPS  ,        /* PS set by DP batch                  */ 
         CPVIVL#R1  ,          /* R1 capacity                         */ 
         CPVIVL#DPR1  ,        /* R1 set by DP batch                  */ 
         CPVIVL#R2  ,          /* R2 capacity                         */ 
         CPVIVL#DPR2  ,        /* R2 set by DP batch                  */ 
         CPVIVLVERS  ,         /* Version number                      */ 
         CPVIVLMOD  ,          /* Y UMCP modified or added (Y/N)      */ 
         CPVIVLDP)             /* Y originated by WSD                 */ 


/*--------------------------------------------------------------------+ 
 | RECORD=CRITPATH  - Critical path                                   | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=CRPTHCOM - Critical path common (undocumented segment)     | 
 +--------------------------------------------------------------------*/ 
OUTPUT CRPTHCOM DATA(OUTDATA) 
  KEYS(CRPTADIDHED,            /* Critical job application ID         */ 
       CRPTOPNOHED)            /* Critical job operation number       */ 

  FIELDS(CRPTCTR,              /* Number of jobs in critical path     */ 
         CRPTWSNHED,           /* Workstation of critical job         */ 
         CRPTWLMCLASSHED,      /* WLM class of critical job           */ 
         CRPTWLMPOL)           /* WLM policy for critical job         */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CRPTHJOB - Job in the critical path (undocumented segment) | 
 +--------------------------------------------------------------------*/ 
OUTPUT CRPTHJOB DATA(OUTDATA) 
  KEYS(CRPTADID,               /* Application ID                      */ 
       CRPTOPNO,               /* Operation number                    */ 
       CRPTOI)                 /* Operation input arrival             */ 

  FIELDS(CRPTWSN,              /* Workstation                         */ 
         CRPTDESC,             /* Description                         */ 
         CRPTJOBN,             /* Jobname                             */ 
         CRPTXDH,              /* Duration HH                         */ 
         CRPTXDM,              /* Duration MM                         */ 
         CRPTXDS,              /* Duration SS                         */ 
         CRPTLS,               /* Latest start                        */ 
         CRPTPS,               /* Planned start                       */ 
         CRPTAS,               /* Actual start                        */ 
         CRPTOD,               /* Operation Deadline                  */ 
         CRPTAE,               /* Actual end                          */ 
         CRPTAETI,             /*                                     */ 
         CRPTOPST,             /* Operation status                    */ 
         CRPTXST,              /* Extended status                     */ 
         CRPTMHLD,             /* Manual hold                         */ 
         CRPTNOP,              /* NOP                                 */ 
         CRPTOPPRI)            /* Priority                            */ 


/*--------------------------------------------------------------------+ 
 | RECORD=CSR       - Current Plan special resource                   | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=CSRCOM   - Current Plan resource common                    | 
 +--------------------------------------------------------------------*/ 
OUTPUT CSRCOM DATA(OUTDATA) 
  KEYS(CSRNAME)                /* Special resource name               */ 

  FIELDS(CSRGROUP,             /* Group id                            */ 
         CSRHIPER,             /* Dlf resource (Y/N)                  */ 
         CSRUSEDFOR,           /* Used for (n/p/c/b)                  */ 
         CSRONERROR,           /* On error (f /fx/fs/k /  )           */ 
         CSROVAV,              /* Overrid availability (Y/N/ )        */ 
         CSROVQ,               /* Overrid quant, 0 if none            */ 
         CSRDEVI,              /* Deviation                           */ 
         CSRIVLNUM,            /* Number of intervals                 */ 
         CSRCIVLN,             /* Current interval number             */ 
         CSRDESC,              /* Description                         */ 
         CSRLIFTIEDAT,         /* Lifespan expiration date and time   */ 
         CSRDEFNWSC,           /* No of connected workstations        */ 
         CSRDEFQUANT,          /* Default quantity                    */ 
         CSRDEFAVAIL,          /* Default availability                */ 
         CSRLIFTIEACT,         /* Lifespan action (Y/N/R)             */ 
         CSRONCOMPL,           /* On complete (Y/N/R/blank)           */ 
         CSRMAXTYPE,           /* Max usage type (Y/N/R)              */ 
         CSRLUSER,             /* Last updating user                  */ 
         CSRLDATE,             /* Date of last update                 */ 
         CSRLTIME,             /* Time of last update                 */ 
         CSRLUTS,              /* Tod clock last update               */ 
         CSRVER,               /* Record version                      */ 
         CSRACTAVAIL,          /* Actual availability                 */ 
         CSRACTQUANT,          /* Actual quantity                     */ 
         CSRXUSE,              /* Amount currently used excl          */ 
         CSRSUSE,              /* Amount currently used shrd          */ 
         CSRXALL,              /* Any all excl user now (Y/N)         */ 
         CSRSALL,              /* Any all shrd user now (Y/N)         */ 
         CSRWAITQ,             /* Any on waitq (Y/N)                  */ 
         CSRCIDATE,            /* Current interval date               */ 
         CSRCIFTIME,           /* Current interval from time          */ 
         CSRCITTIME,           /* Current interval to time            */ 
         CSRCIQUANT,           /* Current interval quantity           */ 
         CSRCIADJQ,            /* Current interval adjust qty         */ 
         CSRCIAVAIL)           /* Current interval avail (Y/N)        */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CSRIVL   - Current Plan special resource interval          | 
 +--------------------------------------------------------------------*/ 
OUTPUT CSRIVL DATA(=) 
  KEYS(CSRCOM.CSRNAME,         /* Special resource name               */ 
       CSRIDATE,               /* Specific date                       */ 
       CSRIFTIME)              /* From time                           */ 

  FIELDS(CSRITTIME,            /* To time                             */ 
         CSRIQUANT,            /* Allocatable amount                  */ 
         CSRIWSCNUM,           /* Number of connected ws's            */ 
         CSRIAVAIL)            /* Available (Y/N)                     */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CSRIWS   - CP resource interval connected workstation      | 
 +--------------------------------------------------------------------*/ 
OUTPUT CSRIWS DATA(=) 
  KEYS(CSRCOM.CSRNAME,         /* Special resource name               */ 
       CSRIVL.CSRIDATE,        /* Specific date                       */ 
       CSRIVL.CSRIFTIME,       /* From time                           */ 
       CSRIWSNAME)             /* Workstation name                    */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=CSRDWS   - CP resource default connected workstation       | 
 +--------------------------------------------------------------------*/ 
OUTPUT CSRDWS DATA(=) 
  KEYS(CSRCOM.CSRNAME,         /* Special resource name               */ 
       CSRDWSNAME)             /* Workstation name                    */ 


/*--------------------------------------------------------------------+ 
 | RECORD=JCLPREP   - JCL setup variables                             | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=JSVCOM   - JCLPREP common                                  | 
 +--------------------------------------------------------------------*/ 
OUTPUT JSVCOM DATA(OUTDATA) 
  KEYS(JSVCADID,               /* Application id                      */ 
       JSVCIAD,                /* Input arrival date YYMMDD           */ 
       JSVCIAT,                /* Input arrival time HHMM             */ 
       JSVCOPNO)               /* Operation number                    */ 

  FIELDS(JSVCIAD,              /* Input arrival date yymmdd           */ 
         JSVCIAT,              /* Input arrival time hhmm             */ 
         JSVC#VARS,            /* Number of variables                 */ 
         JSVCFROM)             /* Jcl from js repository (Y/N)        */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=JSVVAR   - JCLPREP Variable definition                     | 
 +--------------------------------------------------------------------*/ 
OUTPUT JSVVAR DATA(=) 
  KEYS(JSVCOM.JSVCADID,        /* Application id                      */ 
       JSVCOM.JSVCIAD,         /* Input arrival date yymmdd           */ 
       JSVCOM.JSVCIAT,         /* Input arrival time hhmm             */ 
       JSVCOM.JSVCOPNO,        /* Operation number                    */ 
       JSVVNAME)               /* Variable name                       */ 

  FIELDS(JSVVVALUE,            /* Value set of default value          */ 
         JSVVTYPE)             /* Usage type (%/&/?)                  */ 


/*--------------------------------------------------------------------+ 
 | RECORD=JS        - Job control language                            | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=JSCOM    - Job control language segment                    | 
 +--------------------------------------------------------------------*/ 
OUTPUT JSCOM DATA(OUTDATA) LOADER(OUTBL) 
  KEYS(JSADID,                 /* Application id                      */ 
       JSIA,                   /* Occurrence input arrival            */ 
       JSOPNO)                 /* Operation number                    */ 

  FIELDS(JSIAD,                /* Date                                */ 
         JSIAT,                /* Time                                */ 
         JSJOBN,               /* Jobname                             */ 
         JSWSN,                /* Workstation name                    */ 
         JSST,                 /* Status                              */ 
         JSUPDT,               /* Last updating function              */ 
         JSLDATE,              /* Last updated date                   */ 
         JSLTIME,              /* Last updated time                   */ 
         JSLUSER,              /* Userid of last updater              */ 
         JSVERS,               /* Record version number = 1           */ 
         JSLINES,              /* Number of text rows                 */ 
/*       JST,                  /* JCL text rows                       */ 
         JSJFROM)              /* Jcl from js repository (Y/N)        */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=JST      - Job control language text                       | 
 |                    (derived from the JST field in JSCOM)           | 
 +--------------------------------------------------------------------*/ 
OUTPUT JST DATA(=) LOADER(=) 
  KEYS(JSCOM.JSADID,           /* Application id                      */ 
       JSCOM.JSIA,             /* Input arrival yymmddhhmm            */ 
       JSCOM.JSOPNO,           /* Operation number                    */ 
       JSTSEQ)                 /* JCL row number                      */ 

  FIELDS(JSTMAX,               /* Maximum number of rows              */ 
         JSTJCL)               /* JCL row text                        */ 


/*--------------------------------------------------------------------+ 
 | RECORD=JLCOM     - Job log                                         | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=JLCOM    - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT JLCOM DATA(OUTDATA) 
  KEYS(JLADID,                 /* Application id                      */ 
       JLIA,                   /* Input arrival yymmddhhmm            */ 
       JLOPNO)                 /* Operation number                    */ 

  FIELDS(JLIAD,                /* Input arrival date yymmdd           */ 
         JLIAT,                /* Input arrival time hhmm             */ 
         JLJOBN,               /* Mvs job name                        */ 
         JLWSN,                /* Workstation name                    */ 
         JLJOBID)              /* Jes job number                      */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=JLT      - Job Log Text (derived from segment JLTXT)       | 
 +--------------------------------------------------------------------*/ 
OUTPUT JLT DATA(OUTDATA) 
  KEYS(JLCOM.JLADID,           /* Application id                      */ 
       JLCOM.JLIA,             /* Input arrival yymmddhhmm            */ 
       JLCOM.JLOPNO,           /* Operation number                    */ 
       JLTSEQ)                 /* Line number of SYSOUT               */ 

  FIELDS(JLTMAX,               /* Total number of SYSOUT lines        */ 
         JLTTEXT)              /* Single line of SYSOUT text          */ 



/*--------------------------------------------------------------------+ 
 | GROUP=LTP     - All Long Term Plan Objects                         | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | RECORD=LTOC      - Long term plan occurrence                       | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=LTOCCOM  - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT LTOCCOM DATA(OUTDATA) 
  KEYS(LTOCIAD,                /* Input arrival date                  */ 
       LTOCADI,                /* Application id                      */ 
       LTOCIAT)                /* Input arrival time                  */ 

  FIELDS(LTOCIAO,              /* Original input arrival              */ 
         LTOCIAOD,             /* Original input arrival date         */ 
         LTOCIAOT,             /* Original input arrival time         */ 
         LTOCDL,               /* Deadline                            */ 
         LTOCDLD,              /* Deadline date                       */ 
         LTOCDLT,              /* Deadline time                       */ 
         LTOCGRP,              /* Authority group                     */ 
         LTOCOID,              /* Owner id                            */ 
         LTOCERR,              /* Occurence error code                */ 
         LTOCRDST,             /* Run day status (W/F)                */ 
         LTOCVERS,             /* Version number=1                    */ 
         LTOCPRI,              /* Priority                            */ 
         LTOC#PRE,             /* No. of external preds               */ 
         LTOC#SUC,             /* No. of external succs               */ 
         LTOC#OP,              /* No. of changed operations           */ 
         LTOCDEL,              /* Deleted online                      */ 
         LTOCADD,              /* Added to ltp                        */ 
         LTOCMOD,              /* Modified on ltp                     */ 
         LTOCMOV,              /* Run date or time modified           */ 
         LTOCDEPM,             /* External dep modified               */ 
         LTOCCOMP,             /* Completed by job tracking           */ 
         LTOCMOVO,             /* Moved because of optnl rule         */ 
         LTOCJVT,              /* Jcl variable table                  */ 
         LTGROUPID,            /* Groupid                             */ 
         LTOCCAL ,             /* Calendar name                       */ 
         LTOC#CPRE ,           /* Number of conditional predecessors  */ 
         LTOC#CSUC ,           /* Number of conditional successors    */ 
         LTOC#MAND)            /* Number of mandatory pending preds   */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=LTOP     - Operation                                       | 
 +--------------------------------------------------------------------*/ 
OUTPUT LTOP DATA(=) 
  KEYS(LTOCCOM.LTOCIAD,        /* Input arrival date                  */ 
       LTOCCOM.LTOCADI,        /* Application id                      */ 
       LTOCCOM.LTOCIAT,        /* Input arrival time                  */ 
       LTOPNO)                 /* Operation number                    */ 

  FIELDS(LTOPWSN,              /* Workstation name                    */ 
         LTOPOI,               /* Input arrival yymmddhhmm            */ 
         LTOPOID,              /* Input arrival date yymmdd           */ 
         LTOPOIT,              /* Input arrival time hhmm             */ 
         LTOPOD,               /* Deadline yymmddhhmm                 */ 
         LTOPODD,              /* Deadline date yymmdd                */ 
         LTOPODT,              /* Deadline time hhmm                  */ 
         LTOPDESC,             /* Operation text                      */ 
         LTOPVERS)             /* Version number=1                    */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=LTPRE    - Predecessor                                     | 
 +--------------------------------------------------------------------*/ 
OUTPUT LTPRE DATA(=) 
  KEYS(LTOCCOM.LTOCIAD,        /* Input arrival date                  */ 
       LTOCCOM.LTOCADI,        /* Application id                      */ 
       LTOCCOM.LTOCIAT,        /* Input arrival time                  */ 
       LTPREIAD,               /* Run date yymmdd                     */ 
       LTPREADI,               /* Application id                      */ 
       LTPREIAT)               /* Input arrival time hhmm             */ 

  FIELDS(LTPREDEL,             /* Dependency deleted                  */ 
         LTPREADD,             /* Manually added                      */ 
         LTPREDONE,            /* Predecessor completed               */ 
         LTPREVERS ,           /* Version number=1                    */ 
         LTPREMPEND ,          /* Y: Is mandatory pending             */ 
         LTPREMAND)            /* C/P/N is a required value           */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=LTCPRE   - Conditional predecessor                         | 
 +--------------------------------------------------------------------*/ 
OUTPUT LTCPRE DATA(=) 
  KEYS(LTOCCOM.LTOCIAD,        /* Input arrival date                  */ 
       LTOCCOM.LTOCADI,        /* Application id                      */ 
       LTOCCOM.LTOCIAT,        /* Input arrival time                  */ 
       LTCPREIAD,              /* Run date yymmdd                     */ 
       LTCPREADI,              /* Application id                      */ 
       LTCPREIAT)              /* Input arrival time hhmm             */ 

  FIELDS(LTCPREDEL,            /* Dependency deleted                  */ 
         LTCPREPDONE,          /* Predecessor completed               */ 
         LTCPREVERS)           /* Version number=1                    */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=LTSUC    - Successor                                       | 
 +--------------------------------------------------------------------*/ 
OUTPUT LTSUC DATA(=) 
  KEYS(LTOCCOM.LTOCIAD,        /* Input arrival date                  */ 
       LTOCCOM.LTOCADI,        /* Application id                      */ 
       LTOCCOM.LTOCIAT,        /* Input arrival time                  */ 
       LTSUCIAD,               /* Run date yymmdd                     */ 
       LTSUCADI,               /* Application id                      */ 
       LTSUCIAT)               /* Input arrival time hhmm             */ 

  FIELDS(LTSUCDEL,             /* Dependency deleted                  */ 
         LTSUCADD,             /* Manually added                      */ 
         LTSUCVERS)            /* Version number=1                    */ 

/*--------------------------------------------------------------------+ 
 | SEGMENT=LTCSUC   - Conditional successor                           | 
 +--------------------------------------------------------------------*/ 
OUTPUT LTCSUC DATA(=) 
  KEYS(LTOCCOM.LTOCIAD,        /* Input arrival date                  */ 
       LTOCCOM.LTOCADI,        /* Application id                      */ 
       LTOCCOM.LTOCIAT,        /* Input arrival time                  */ 
       LTCSUCIAD,              /* Run date yymmdd                     */ 
       LTCSUCADI,              /* Application id                      */ 
       LTCSUCIAT)              /* Input arrival time hhmm             */ 

  FIELDS(LTCSUCDEL,            /* Dependency deleted                  */ 
         LTCSUCVERS)           /* Version number                      */ 



/*--------------------------------------------------------------------+ 
 | GROUP=SYS     - All System Objects                                 | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | RECORD=XENV      - Execution Environment                           | 
 +--------------------------------------------------------------------*/ 
/*--------------------------------------------------------------------+ 
 | SEGMENT=XENV     - Common                                          | 
 +--------------------------------------------------------------------*/ 
OUTPUT XENV DATA(OUTDATA) 
  FIELDS(XENVFMID              /* PIF Base FMID                       */ 
         XENVCONLVL            /* PIF connector level                 */ 
         XENVFUNCLVL           /* PIF functional level                */ 
         XENVDEFCAL            /* Default calendar                    */ 
         XENVCWBASE            /* Base year for PIF dates             */ 
         XENVHIGHDATE          /* Highest AD valid to date            */ 
         XENVADDBCS            /* Application id in DBCS (Y/N/ )      */ 
         XENVOWDBCS)           /* Owner id in DBCS (Y/N/ )            */