LTP - Long-term plan

   Name : DCLLTP

   Function:
   This is the long-term plan record layout. The main type is declared  as LTP.
   The second type of record is the header record.

Offsets
Dec Hex Type Len Name (Dim) Description
0 (0) STRUCTURE * LTP
0 (0) CHARACTER 192 LTPDP
0 (0) CHARACTER 2 * reserved by io-routines
2 (2) CHARACTER 26 LTPKEY
2 (2) CHARACTER 6 LTPRDAY run date ===key
8 (8) CHARACTER 16 LTPAID application name ===key
24 (18) CHARACTER 4 LTPSTIME input arrival time===key
28 (1C) CHARACTER 4 LTPEYE ltp eye catcher
32 (20) UNSIGNED 1 LTPVERS ltp version number
33 (21) CHARACTER 8 LTPAUTH authority group
41 (29) CHARACTER 16 LTPOWNER application owner id
57 (39) CHARACTER 10 LTPORIA original input arrival
57 (39) CHARACTER 6 LTPORDAY original run date
63 (3F) CHARACTER 4 LTPORTIM original ia time
67 (43) CHARACTER 10 LTPDEADL occurrence deadline
67 (43) CHARACTER 6 LTPDDAY deadline date
73 (49) CHARACTER 4 LTPDTIME deadline time
77 (4D) CHARACTER 1 LTPPRT priority
78 (4E) CHARACTER 4 LTPERCOD error code
82 (52) CHARACTER 1 LTPADM flags set by online ltp
 1...  ....
LTPDEL marked 'DELETED' by online
 .1..  ....
LTPADD added by online function
 ..1.  ....
LTPMOD occ. modified online
 ...1  ....
LTPMOV rundatetime modified=move
 ....  1...
LTPDEPCH dependency changed manual
 ....  .1..
LTPCOMPL occurrence completed in jt
 ....  ..11
*
83 (53) CHARACTER 1 LTPFLGS
 1...  ....
LTPOPTRU moved due to optional rule
 .1..  ....
LTPEXPRE external predecessor
 ..11  1111
* free to use
84 (54) SIGNED 4 LTPPRED number of external preds
88 (58) SIGNED 4 LTPSUCC number of external succs
92 (5C) SIGNED 4 LTPCHOP number of changed ops
96 (60) CHARACTER 1 LTPDSTAT runday status
97 (61) CHARACTER 16 LTPJVTAB variable table name
113 (71) CHARACTER 1 * free
114 (72) CHARACTER 16 LTPGROUPID group application id
130 (82) CHARACTER 16 LTPCAL calendar name
146 (92) CHARACTER 8 LTPLUTS last update timestamp
154 (9A) SIGNED 2 LTPRUNID run cycle id
156 (9C) SIGNED 4 LTPCONDPRED num of ext cond preds
160 (A0) SIGNED 4 LTPCONDSUCC num of ext cond succs
164 (A4) SIGNED 4 LTPPNDPRED num mand. pending pred
168 (A8) CHARACTER 8 LTPFILLER free
176 (B0) CHARACTER * LTPVARS variable section

  
   LTP occurrence predecessors variable part
  

Offsets
Dec Hex Type Len Name (Dim) Description
176 (B0) STRUCTURE * LTPPREDS the predecessor sections
176 (B0) CHARACTER 35 LTPPRED (*)
176 (B0) CHARACTER 27 LTPPREDI predecessor id part
176 (B0) CHARACTER 26 LTPPRID predecessor key part
176 (B0) CHARACTER 6 LTPPRDAY run date
182 (B6) CHARACTER 16 LTPPAID application name
198 (C6) CHARACTER 4 LTPPIAT input arrival time
202 (CA) CHARACTER 1 LTPPFLGS pred dependency flags
 1...  ....
LTPPDEL dependency deleted
 .1..  ....
LTPPADD dependency manually added
 ..1.  ....
LTPPDONE predecessor has completed
 ...1  ....
LTPMANDPEND is mandatory pending
 ....  1111
* free to use
203 (CB) CHARACTER 1 LTPPEYE eye catcher 'P'
204 (CC) CHARACTER 1 LTPPPRMAND PCN
205 (CD) CHARACTER 6 * free to use

  
   LTP occurrence predecessors variable part
  

Offsets
Dec Hex Type Len Name (Dim) Description
0 (0) STRUCTURE * LTPSUCCS
0 (0) CHARACTER 35 LTPSUCC (*) a successor section
0 (0) CHARACTER 27 LTPSUCCI successor id part
0 (0) CHARACTER 26 LTPSUID successor key part
0 (0) CHARACTER 6 LTPSRDAY run date
6 (6) CHARACTER 16 LTPSAID application name
22 (16) CHARACTER 4 LTPSIAT input arrival time
26 (1A) CHARACTER 1 LTPSFLGS succ dependency flags
 1...  ....
LTPSDEL dependency deleted
 .1..  ....
LTPSADD dependency manually added
 ..11  1111
* free to use
27 (1B) CHARACTER 1 LTPSEYE eye catcher 'S'
28 (1C) CHARACTER 7 * free to use

  
   LTP occurrence conditional predecessors variable part
  

Offsets
Dec Hex Type Len Name (Dim) Description
0 (0) STRUCTURE * LTPCONDPREDS
0 (0) CHARACTER 35 LTPCONDPRED (*) cond pred section
0 (0) CHARACTER 27 LTPCONDPREDI predecessor id part
0 (0) CHARACTER 26 LTPCONDPRID predecessor key part
0 (0) CHARACTER 6 LTPCONDPRDAY run date
6 (6) CHARACTER 16 LTPCONDPAID application name
22 (16) CHARACTER 4 LTPCONDPIAT input arrival time
26 (1A) CHARACTER 1 LTPCONDPFLGS pred dependency flags
 1...  ....
LTPCONDPDEL dependency deleted
 .1..  ....
LTPCONDPADD dependency added
 ..1.  ....
LTPCONDPDONE pred has completed
 ...1  ....
LTPCMANDPEND is mandatory pending
 ....  1111
* free to use
27 (1B) CHARACTER 2 LTPCONDPEYE eye catcher 'PC'
29 (1D) CHARACTER 1 LTPCONDPMAND PCN
30 (1E) CHARACTER 5 * free to use


   LTP occurrence conditional successors variable part
  

Offsets
Dec Hex Type Len Name (Dim) Description
0 (0) STRUCTURE * LTPCONDSUCCS
0 (0) CHARACTER 35 LTPCONDSUCC (*) cond succ section
0 (0) CHARACTER 27 LTPCONDSUCCI successor id part
0 (0) CHARACTER 26 LTPCONDSUID successor key part
0 (0) CHARACTER 6 LTPCONDSRDAY run date
6 (6) CHARACTER 16 LTPCONDSAID application name
22 (16) CHARACTER 4 LTPCONDSIAT input arrival time
26 (1A) CHARACTER 1 LTPCONDSFLGS succ dependency flags
 1...  ....
LTPCONDSDEL dependency deleted
 .1..  ....
LTPCONDSADD dependency added
 ..11  1111
* free to use
27 (1B) CHARACTER 2 LTPCONDSEYE eye catcher 'SC'
29 (1D) CHARACTER 6 * free to use

  
   LTP occurrence changed operation variable part
  

Offsets
Dec Hex Type Len Name (Dim) Description
0 (0) STRUCTURE * LTPCHOPS
0 (0) CHARACTER 58 LTPCHOP (*) changed operation data
0 (0) CHARACTER 6 LTPCHOID operation id
0 (0) CHARACTER 4 LTPCHWS workstation name
4 (4) SIGNED 2 LTPCHOIN operation number
6 (6) CHARACTER 10 LTPCHIA op input arrival
6 (6) CHARACTER 6 LTPCHIAD op input arrival date
12 (C) CHARACTER 4 LTPCHIAT op input arrival time
16 (10) CHARACTER 10 LTPCHD op deadline
16 (10) CHARACTER 6 LTPCHDD op deadline date
22 (16) CHARACTER 4 LTPCHDT op deadline time
26 (1A) CHARACTER 24 LTPCHTXT op text description
50 (32) CHARACTER 1 LTPSCR centralized script
51 (33) CHARACTER 7 * free to use

  
   LTP HEADER record
  

Offsets
Dec Hex Type Len Name (Dim) Description
0 (0) STRUCTURE 92 LTPHEAD header record
0 (0) CHARACTER 2 * reserved by io-routines
2 (2) CHARACTER 26 LTPHDKEY ltp key === key equal ' HEADER '
28 (1C) CHARACTER 4 LTPHEYE ltp eye catcher
32 (20) UNSIGNED 1 LTPHVERS ltp version number
33 (21) UNSIGNED 1 LTPREMSHIFT
34 (22) CHARACTER 2 *
36 (24) CHARACTER 6 LTPSDAY ltp start day
42 (2A) CHARACTER 6 LTPEDAY ltp end day
48 (30) CHARACTER 6 LTPLUP latest update
54 (36) CHARACTER 6 LTPFNONC date with first non complete occurrence
60 (3C) CHARACTER 10 LTPPNEN
60 (3C) CHARACTER 6 LTPPNEND plan next period end date
66 (42) CHARACTER 4 LTPPNENT and time
70 (46) SIGNED 2 LTPREPL number of replans since last plan next
72 (48) BITSTRING 1 LTPHFLGS header flags
 1...  ....
LTPBUILD LTP build is complete
 .111  11..
* free to use
 ....  ..1.
LTPOIA all days in op ia
 ....  ...1
LTPODA all days in op dl
73 (49) CHARACTER 3 * free to use
76 (4C) SIGNED 4 LTPMAXSZ (dialog) max LT size
80 (50) CHARACTER 10 LTPLEVEL level of lt plan ds
80 (50) CHARACTER 2 LTPLEV_VER version of lt plan ds
82 (52) CHARACTER 8 LTPLEV_FMID fmid of lt plan ds
90 (5A) CHARACTER 1 LTPHEADFLAG Y header variable part existing
91 (5B) CHARACTER 1 * free to use
92 (5C) CHARACTER LTPHEADVAR variable section

  
   LTP HAEDER variable part
  

Offsets
Dec Hex Type Len Name (Dim) Description
0 (0) STRUCTURE 36 LTPHEADV
0 (0) UNSIGNED 2 LTPRUN_NUMBER
2 (2) UNSIGNED 2 *
4 (4) CHARACTER 8 LTPRUN_TOD
12 (C) CHARACTER 24 *