1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 dcl gcos_ufas_bcw_ptr ptr;
22
23 dcl 1 gcos_ufas_bcw aligned based (gcos_ufas_bcw_ptr),
24 2 block_sequence_number fixed bin (18) unsigned unaligned,
25 2 block_length fixed bin (18) unsigned unaligned;
26
27
28
29 dcl gcos_ufas_record_ptr ptr;
30
31 dcl 1 gcos_ufas_record aligned based (gcos_ufas_record_ptr),
32 2 rcw aligned like gcos_ufas_rcw,
33 2 data (0 refer (gcos_ufas_record.rcw.data_length)) bit (36) aligned;
34
35
36
37 dcl gcos_ufas_rcw_ptr ptr;
38
39 dcl 1 gcos_ufas_rcw aligned based (gcos_ufas_rcw_ptr),
40 2 data_length fixed bin (18) unsigned unaligned,
41 2 character_position fixed bin (2) unsigned unaligned,
42 2 end_of_file bit (4) unaligned,
43 2 mbz bit (2) unaligned,
44 2 media_code fixed bin (4) unsigned unaligned,
45 2 report_code fixed bin (6) unsigned unaligned;
46
47
48
49 dcl MAX_UFAS_BLOCK_SIZE fixed bin internal static options (constant) init (320);
50
51 dcl ASCII_HEADER_MEDIA_CODE fixed bin (4) unsigned internal static options (constant) init (8);
52 dcl ASCII_MEDIA_CODE fixed bin (4) unsigned internal static options (constant) init (6);
53 dcl EOF bit (4) internal static options (constant) init ("1111"b);
54 dcl EOF_RCW bit (36) aligned internal static options (constant) init ("000000170000"b3);
55
56