DPIN or DPUT - Report record in DP

   Name : DCLDPIN

   Function:
   Describes standard of layout for all daily planner report (including message) records.  There are
   several record types but they all have the same key size and record size.  The sort step that follows
   step1 of a daily planner run sorts the record on that key.

Offsets
Dec Hex Type Len Name (Dim) Description
0 (0) STRUCTURE 558 DPINREC DPIN RECORD
0 (0) CHARACTER 114 DPIKEY KEY OF DPIN RECORD
0 (0) SIGNED 2 DPITYPE

1 = HEADER RECORD SUBTYPE (DPH)
     1 = DPREC HDR SUBTYPE
     2 = DPRES HDR
2 = DAILY_OP RECORD (DAIOP)
3 = WS PLAN RECORDS SUBTYPE (WSP)
     1 = WSP_OP RCD SSTYPE
          1 = OPENTIME SSTYPE
          2 = OPERATION SUBTYPE
     2 = WSP_FOP RCD SUBTYPE
     3 = WSN RCD SUBTYPE
     4 = WSN_R1 SUBTYPE
     5 = WSN_R2
4 = SUMMARY TABLES RECORD (CSUM)
5 = COMPLETED OCCURRENCE|OP
      RECORD SUBTYPE (CAPP)
      1 = OLD 24-H SUBTYPE
      2 = CURR 24-H
6 = OPER IN ERROR REC (OPERR)
7 = WS ACTIVITY RECORD SUBTYPE (WSN)
      1 = WSNA RCD SUBTYPE
      2 = WSN_R1 SUBTYPE
      3 = WSN_R2
8 = COMPLETED OCCURRENCE ERR REC.
      SUBTYPE (ERRS)
      1 = ERROR SUM SUBTYPE
      2 = TOTAL SUM
9 = MISSED FEEDBACK (MFB)
13 = PLANNED UTIL HISTO (PRUH)
17 = PLANNED UTIL REPORT (PRUT)
20 = ACTUAL UTIL REPORT SUBTYPE (ARU)
      1 = INTERVAL SUBTYPE
      5 = DETAIL
30 = ERROR MESSAGE REC (DPMSG)
40 = CRITICAL PATH (CRIRP)

2 (2) CHARACTER 78 * TO ADD UP TO STD KEYSIZE
80 (50) CHARACTER 34 * TO ADD UP TO NEW KZ
114 (72) CHARACTER 444 DPIDATA DATA PART OF DPIN RECORD
114 (72) CHARACTER 444 * TO ADD UP TO STD REC SIZE