1
2
3 dcl alloc_text_length fixed bin (21);
4 dcl alloc_subject_length fixed bin (21);
5 dcl forum_user_trans_ptr ptr;
6
7 dcl 1 forum_user_trans based (forum_user_trans_ptr) aligned,
8 2 type fixed bin,
9 2 person_id char (22),
10 2 project_id char (9),
11 2 time fixed bin (71),
12 2 trans_no fixed bin,
13 2 next_trans_ptr ptr,
14 2 prev_trans_ptr ptr,
15 2 subject_length fixed bin (21),
16 2 text_length fixed bin (21),
17 2 unfilled bit (1) aligned,
18 2 subject char (alloc_subject_length refer (forum_user_trans.subject_length)) unaligned,
19 2 text char (alloc_text_length refer (forum_user_trans.text_length)) unaligned;
20
21 declare user_trans_type fixed bin static options (constant) initial (1);
22 declare message_type fixed bin static options (constant) initial (2);
23
24 declare (ONLY_UNDELETED init (0),
25 INCLUDE_DELETED init (1),
26 ONLY_DELETED init (2))
27 fixed bin static options (constant);
28
29