1 /* BEGIN INCLUDE FILE  dm_fm_postcommit_info.incl.pl1 */
 2 
 3 /* DESCRIPTION:
 4 
 5    This include file contains the structures which define the postcommit
 6    handlers for the creation and deletion of files.  They are used by
 7    file_manager_$postcommit_do.
 8 
 9    All structure elements are unaligned because we don't trust
10    before_journal_manager_ to align the buffer in which it places
11    the structure.
12 */
13 
14 /* HISTORY:
15 Written by Matthew Pierret, 10/16/84.
16 Modified:
17 03/07/85 by R. Michael Tague:  Added increment_postcommit_info.
18 */
19 
20 /****^  HISTORY COMMENTS:
21   1) change(87-01-15,Hergert), approve(87-04-01,MCR7632),
22      audit(87-01-30,Dupuis), install(87-04-02,MR12.1-1020):
23      For TR phx20754. Added element_id so that we can save the id of the
24      key_count_array and use it at post commit time, if necessary.
25                                                    END HISTORY COMMENTS */
26 
27 
28 /* format: style2,ind3 */
29 
30      dcl     1 postcommit_info_header
31                                     based (postcommit_info_ptr),
32                2 version            char (8) unal,
33                2 operation          char (8) unal;
34 
35      dcl     1 delete_postcommit_info
36                                     based (postcommit_info_ptr),
37                2 header             like postcommit_info_header,
38                2 sys_pn_tbl_index   fixed bin unal,
39                2 dir_path           char (168) unal,
40                2 file_name          char (32) unal;
41 
42      dcl     1 increment_postcommit_info
43                                     based (postcommit_info_ptr),
44                2 header             like postcommit_info_header,
45                2 increments_ptr     ptr,
46                2 element_id         bit (36),
47                2 number_of_words    fixed bin (35),
48                2 ci_number          fixed bin (27),
49                2 offset_in_bytes    fixed bin (35);
50 
51      dcl     postcommit_info_ptr    ptr init (null ());
52      dcl     (
53              POSTCOMMIT_INFO_VERSION_1
54                                     init ("PCInfo 1"),
55              DELETE_POSTCOMMIT_OPERATION
56                                     init ("deletion"),
57              CREATE_POSTCOMMIT_OPERATION
58                                     init ("creation"),
59              INCREMENT_POSTCOMMIT_OPERATION
60                                     init ("incremen")
61              )                      char (8) internal static options (constant);
62 
63 
64 /* END INCLUDE FILE  dm_fm_postcommit_info.incl.pl1 */