Keys

The SPLJOB.dat file includes six keyed indexes. The MVSCASPB interface uses these indexes to replicate the keys previously defined in casspool.dat. To select an index, move its corresponding 78-level field to the KEY-ID field; to illustrate this point, the following partial listing from mfpubcas.cpy shows the available indexes:

...
  *   ==============================================
          03  KEY-DATA.
             05  ()-key-id                   PIC x. 
      *         available keys are:
                78  78-KEY-IS-type           value '1'.
      *             type, rec-class, rec-priorty, rec-version, job-nbr, job-seq
                78  78-KEY-IS-job-NUMBER     value '2'.
      *             job-nbr, job-seq  
                78  78-KEY-IS-type-job-name  value '3'.
      *              type, job-name, job-nbr 
                78  78-KEY-IS-type-userid    value '4'.                  
      *              type, userid, job-nbr 
                78  78-KEY-IS-type-job-nbr   value '5'.     
      *              type and job-nbr
                78  78-KEY-IS-type-date      value '6'.  
      *              type, date, job-nbr
      *      ===========================================
...