edi4r 0.9.4.1 → 0.9.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/AuthorCopyright +3 -3
  3. data/{ChangeLog → Changelog} +60 -0
  4. data/README +15 -10
  5. data/Tutorial +2 -3
  6. data/VERSION +1 -1
  7. data/bin/edi2xml.rb +12 -16
  8. data/bin/editool.rb +9 -5
  9. data/bin/sedas2eancom02.rb +1385 -0
  10. data/bin/xml2edi.rb +7 -12
  11. data/data/edifact/iso9735/SDCD.20000.csv +1 -0
  12. data/data/edifact/iso9735/SDCD.3for2.csv +1 -0
  13. data/data/edifact/iso9735/SDED.20000.csv +6 -0
  14. data/data/edifact/iso9735/SDED.30000.csv +43 -43
  15. data/data/edifact/iso9735/SDED.3for2.csv +6 -0
  16. data/data/edifact/iso9735/SDED.40000.csv +129 -129
  17. data/data/edifact/iso9735/SDED.40100.csv +130 -130
  18. data/data/edifact/iso9735/SDMD.20000.csv +6 -0
  19. data/data/edifact/iso9735/SDMD.30000.csv +6 -6
  20. data/data/edifact/iso9735/SDMD.3for2.csv +6 -0
  21. data/data/edifact/iso9735/SDMD.40000.csv +17 -17
  22. data/data/edifact/iso9735/SDMD.40100.csv +17 -17
  23. data/data/edifact/iso9735/SDSD.20000.csv +5 -0
  24. data/data/edifact/iso9735/SDSD.3for2.csv +5 -0
  25. data/data/edifact/untdid/EDMD.d01b.csv +1 -1
  26. data/data/sedas/EDCD..csv +0 -0
  27. data/data/sedas/EDED..csv +859 -0
  28. data/data/sedas/EDMD..csv +16 -0
  29. data/data/sedas/EDSD..csv +44 -0
  30. data/lib/edi4r.rb +147 -67
  31. data/lib/edi4r/ansi_x12-rexml.rb +91 -0
  32. data/lib/edi4r/ansi_x12.rb +1684 -0
  33. data/lib/edi4r/diagrams.rb +75 -14
  34. data/lib/edi4r/edifact-rexml.rb +4 -3
  35. data/lib/edi4r/edifact.rb +505 -202
  36. data/lib/edi4r/rexml.rb +13 -7
  37. data/lib/edi4r/sedas.rb +854 -0
  38. data/lib/edi4r/standards.rb +150 -33
  39. data/test/damaged_file.edi +1 -0
  40. data/test/eancom2webedi.rb +1 -0
  41. data/test/groups.edi +1 -1
  42. data/test/test_basics.rb +16 -9
  43. data/test/test_edi_split.rb +30 -0
  44. data/test/test_loopback.rb +7 -2
  45. data/test/test_rexml.rb +34 -2
  46. data/test/test_service_messages.rb +190 -0
  47. data/test/test_streaming.rb +167 -0
  48. data/test/test_tut_examples.rb +3 -1
  49. data/test/webedi2eancom.rb +1 -0
  50. metadata +121 -77
@@ -1,17 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
-
3
- # $Id: xml2edi.rb,v 1.1 2006/08/01 11:20:56 werntges Exp $
4
-
5
- # $Log: xml2edi.rb,v $
6
- # Revision 1.1 2006/08/01 11:20:56 werntges
7
- # Initial revision
8
- #
2
+ # -*- encoding: ISO-8859-1 -*-
9
3
  #
10
- # Author: Heinz W. Werntges (edi@informatik.fh-wiesbaden.de)
4
+ # Author: Heinz W. Werntges (edi@cs.hs-rm.de)
11
5
  #
12
6
  # License: This code is put under the Ruby license
13
7
  #
14
- # Copyright (c) 2006 Heinz W. Werntges, FH Wiesbaden
8
+ # Copyright (c) 2006, 2011 Heinz W. Werntges, RheinMain University of Applied Sciences, Wiesbaden
15
9
  #
16
10
 
17
11
  # SYNOPSIS:
@@ -23,14 +17,15 @@
23
17
  #
24
18
  # DESCRIPTION:
25
19
  #
26
- # This script turns XML files into EDI (EDIFACT or SAP IDOC) documents.
20
+ # This script turns XML files into EDI (EDIFACT or ANSI X12 or SAP IDOC) documents.
27
21
  #
28
22
 
29
23
  require "rubygems"
30
- require_gem "edi4r"
31
- require_gem "edi4r-tdid"
24
+ require "edi4r"
25
+ require "edi4r-tdid"
32
26
  # require_gem "edi4r-idoc"
33
27
  require "edi4r/edifact"
28
+ require "edi4r/ansi_x12"
34
29
  require "edi4r/rexml"
35
30
 
36
31
  def to_edi( xdoc )
@@ -8,3 +8,4 @@ S007;APPLICATION RECIPIENTS IDENTIFICATION;010;0044;M;an..35;020;0007;C;an..4;
8
8
  S008;MESSAGE VERSION;010;0052;M;an..3;020;0054;M;an..3;030;0057;C;an..6;
9
9
  S009;MESSAGE IDENTIFIER;010;0065;M;an..6;020;0052;M;an..3;030;0054;M;an..3;040;0051;M;an..2;050;0057;C;an..6;
10
10
  S010;STATUS OF THE TRANSFER;010;0070;M;n..2;020;0073;C;a1;
11
+ S011;DATA ELEMENT IDENTIFICATION;010;0098;M;n..3;020;0104;C;n..3;
@@ -0,0 +1 @@
1
+ S011;DATA ELEMENT IDENTIFICATION;010;0098;M;n..3;020;0104;C;n..3;
@@ -35,3 +35,9 @@
35
35
  0077;an3;C;Text reference code
36
36
  0078;an..70;M;Free form text
37
37
  0081;a1;C;Section identification
38
+ 0013;a3;C;Service segment tag, coded
39
+ 0083;an..3;C;Action, coded
40
+ 0085;an..3;C;Syntax error, coded
41
+ 0096;n..6;C;Segment position in message
42
+ 0098;n..3;C;Erroneous data element position in segment
43
+ 0104;n..3;C;Erroneous component data element position
@@ -1,43 +1,43 @@
1
- 0001;a4;C;Syntax identifier
2
- 0002;n1;C;Syntax version number
3
- 0004;an..35;C;Sender identification
4
- 0007;an..4;C;Partner identification code qualifier
5
- 0008;an..14;C;Address for reverse routing
6
- 0010;an..35;C;Recipient identification
7
- 0013;a3;C;Service segment tag, coded
8
- 0014;an..14;C;Routing address
9
- 0017;n6;C;Date of preparation
10
- 0019;n4;C;Time of preparation
11
- 0020;an..14;C;Interchange control reference
12
- 0022;an..14;C;Recipient's reference/password
13
- 0025;an2;C;Recipient's reference/password qualifier
14
- 0026;an..14;C;Application reference
15
- 0029;a1;C;Processing priority code
16
- 0031;n1;C;Acknowledgement request
17
- 0032;an..35;C;Communications agreement ID
18
- 0035;n1;C;Test indicator
19
- 0036;n..6;C;Interchange control count
20
- 0038;an..6;C;Functional group identification
21
- 0040;an..35;C;Sender identification
22
- 0044;an..35;C;Recipient's identification
23
- 0048;an..14;C;Functional group reference number
24
- 0051;an..2;C;Controlling agency
25
- 0052;an..3;C;Message version number
26
- 0054;an..3;C;Message release number
27
- 0057;an..6;C;Association assigned code
28
- 0058;an..14;C;Application password
29
- 0060;n..6;C;Number of messages
30
- 0062;an..14;C;Message reference number
31
- 0065;an..6;C;Message type
32
- 0068;an..35;C;Common access reference
33
- 0070;n..2;C;Sequence of transfers
34
- 0073;a1;C;First and last transfer
35
- 0074;n..6;C;Number of segments in the message
36
- 0077;an3;C;Text reference code
37
- 0078;an..70;C;Free form text
38
- 0081;a1;C;Section identification
39
- 0083;an..3;C;Action, coded
40
- 0085;an..3;C;Syntax error, coded
41
- 0096;n..6;C;Segment position in message
42
- 0098;n..3;C;Erroneous data element position in segment
43
- 0104;n..3;C;Erroneous component data element position
1
+ 0001;a4;C;Syntax identifier
2
+ 0002;n1;C;Syntax version number
3
+ 0004;an..35;C;Sender identification
4
+ 0007;an..4;C;Partner identification code qualifier
5
+ 0008;an..14;C;Address for reverse routing
6
+ 0010;an..35;C;Recipient identification
7
+ 0013;a3;C;Service segment tag, coded
8
+ 0014;an..14;C;Routing address
9
+ 0017;n6;C;Date of preparation
10
+ 0019;n4;C;Time of preparation
11
+ 0020;an..14;C;Interchange control reference
12
+ 0022;an..14;C;Recipient's reference/password
13
+ 0025;an2;C;Recipient's reference/password qualifier
14
+ 0026;an..14;C;Application reference
15
+ 0029;a1;C;Processing priority code
16
+ 0031;n1;C;Acknowledgement request
17
+ 0032;an..35;C;Communications agreement ID
18
+ 0035;n1;C;Test indicator
19
+ 0036;n..6;C;Interchange control count
20
+ 0038;an..6;C;Functional group identification
21
+ 0040;an..35;C;Sender identification
22
+ 0044;an..35;C;Recipient's identification
23
+ 0048;an..14;C;Functional group reference number
24
+ 0051;an..2;C;Controlling agency
25
+ 0052;an..3;C;Message version number
26
+ 0054;an..3;C;Message release number
27
+ 0057;an..6;C;Association assigned code
28
+ 0058;an..14;C;Application password
29
+ 0060;n..6;C;Number of messages
30
+ 0062;an..14;C;Message reference number
31
+ 0065;an..6;C;Message type
32
+ 0068;an..35;C;Common access reference
33
+ 0070;n..2;C;Sequence of transfers
34
+ 0073;a1;C;First and last transfer
35
+ 0074;n..6;C;Number of segments in the message
36
+ 0077;an3;C;Text reference code
37
+ 0078;an..70;C;Free form text
38
+ 0081;a1;C;Section identification
39
+ 0083;an..3;C;Action, coded
40
+ 0085;an..3;C;Syntax error, coded
41
+ 0096;n..6;C;Segment position in message
42
+ 0098;n..3;C;Erroneous data element position in segment
43
+ 0104;n..3;C;Erroneous component data element position
@@ -0,0 +1,6 @@
1
+ 0013;a3;C;Service segment tag, coded
2
+ 0083;an..3;C;Action, coded
3
+ 0085;an..3;C;Syntax error, coded
4
+ 0096;n..6;C;Segment position in message
5
+ 0098;n..3;C;Erroneous data element position in segment
6
+ 0104;n..3;C;Erroneous component data element position
@@ -1,129 +1,129 @@
1
- 0001;a4;C;Syntax identifier
2
- 0002;an1;C;Syntax version number
3
- 0004;an..35;C;Interchange sender identification
4
- 0007;an..4;C;Identification code qualifier
5
- 0008;an..35;C;Interchange sender internal identification
6
- 0010;an..35;C;Interchange recipient identification
7
- 0014;an..35;C;Interchange recipient internal identification
8
- 0017;n8;C;Date
9
- 0019;n4;C;Time
10
- 0020;an..14;C;Interchange control reference
11
- 0022;an..14;C;Recipient reference/password
12
- 0025;an2;C;Recipient reference/password qualifier
13
- 0026;an..14;C;Application reference
14
- 0029;a1;C;Processing priority code
15
- 0031;n1;C;Acknowledgement request
16
- 0032;an..35;C;Interchange agreement identifier
17
- 0035;n1;C;Test indicator
18
- 0036;n..6;C;Interchange control count
19
- 0038;an..6;C;Message group identification
20
- 0040;an..35;C;Application sender identification
21
- 0042;an..35;C;Interchange sender internal sub-identification
22
- 0044;an..35;C;Application recipient identification
23
- 0046;an..35;C;Interchange recipient internal sub-identification
24
- 0048;an..14;C;Group reference number
25
- 0051;an..3;C;Controlling agency, coded
26
- 0052;an..3;C;Message version number
27
- 0054;an..3;C;Message release number
28
- 0057;an..6;C;Association assigned code
29
- 0058;an..14;C;Application password
30
- 0060;n..6;C;Group control count
31
- 0062;an..14;C;Message reference number
32
- 0065;an..6;C;Message type
33
- 0068;an..35;C;Common access reference
34
- 0070;n..2;C;Sequence of transfers
35
- 0073;a1;C;First and last transfer
36
- 0074;n..10;C;Number of segments in a message
37
- 0080;an..6;C;Service code list directory version number
38
- 0081;a1;C;Section identification
39
- 0083;an..3;C;Action, coded
40
- 0085;an..3;C;Syntax error, coded
41
- 0087;an..4;C;Anti-collision segment group identification
42
- 0096;n..6;C;Segment position in message body
43
- 0098;n..3;C;Erroneous data element position in segment
44
- 0104;n..3;C;Erroneous component data element position
45
- 0110;an..6;C;Code list directory version number
46
- 0113;an..6;C;Message type sub-function identification
47
- 0115;an..14;C;Message subset identification
48
- 0116;an..3;C;Message subset version number
49
- 0118;an..3;C;Message subset release number
50
- 0121;an..14;C;Message implementation guideline identification
51
- 0122;an..3;C;Message implementation guideline version number
52
- 0124;an..3;C;Message implementation guideline release number
53
- 0127;an..14;C;Scenario identification
54
- 0128;an..3;C;Scenario version number
55
- 0130;an..3;C;Scenario release number
56
- 0133;an..3;C;Character encoding, coded
57
- 0135;an..3;C;Service segment tag, coded
58
- 0136;n..6;C;Erroneous data element occurrence
59
- 0138;n..6;C;Security segment position
60
- 0300;an..35;C;Initiator control reference
61
- 0303;an..35;C;Initiator reference identification
62
- 0304;an..35;C;Responder control reference
63
- 0306;an..35;C;Transaction control reference
64
- 0311;an..14;C;Dialogue identification
65
- 0314;an..15;C;Event time
66
- 0320;n..6;C;Sender sequence number
67
- 0323;a1;C;Transfer position, coded
68
- 0325;a1;C;Duplicate Indicator
69
- 0331;an..3;C;Report function, coded
70
- 0332;an..70;C;Report reason text
71
- 0333;an..3;C;Report reason, coded
72
- 0335;an..3;C;Report language, coded
73
- 0336;n4;C;Time offset
74
- 0338;n..8;C;Event date
75
- 0340;an..35;C;Interactive message reference number
76
- 0342;an..3;C;Dialogue version number
77
- 0344;an..3;C;Dialogue release number
78
- 0501;an..3;C;Security service, coded
79
- 0503;an..3;C;Response type, coded
80
- 0505;an..3;C;Filter function, coded
81
- 0507;an..3;C;Original character set encoding, coded
82
- 0509;an..3;C;Role of security provider, coded
83
- 0511;an..512;C;Security party identification
84
- 0513;an..3;C;Security party code list qualifier
85
- 0515;an..3;C;Security party code list responsible agency, coded
86
- 0517;an..3;C;Date and time qualifier
87
- 0518;an..35;C;Encryption reference number
88
- 0520;an..35;C;Security sequence number
89
- 0523;an..3;C;Use of algorithm, coded
90
- 0525;an..3;C;Cryptographic mode of operation, coded
91
- 0527;an..3;C;Algorithm, coded
92
- 0529;an..3;C;Algorithm code list identifier
93
- 0531;an..3;C;Algorithm parameter qualifier
94
- 0533;an..3;C;Mode of operation code list identifier
95
- 0534;an..14;C;Security reference number
96
- 0536;an..35;C;Certificate reference
97
- 0538;an..35;C;Key name
98
- 0541;an..3;C;Scope of security application, coded
99
- 0543;an..3;C;Certificate original character set repertoire, coded
100
- 0545;an..3;C;Certificate syntax and version, coded
101
- 0546;an..35;C;User authorisation level
102
- 0548;an..4;C;Service character for signature
103
- 0551;an..3;C;Service character for signature qualifier
104
- 0554;an..512;C;Algorithm parameter value
105
- 0556;n..18;C;Length of data in octets of bits
106
- 0558;an..70;C;List parameter
107
- 0560;an..512;C;Validation value
108
- 0563;an..3;C;Validation value, qualifier
109
- 0565;an..3;C;Message relation, coded
110
- 0567;an..3;C;Security status, coded
111
- 0569;an..3;C;Revocation reason, coded
112
- 0571;an..3;C;Security error, coded
113
- 0572;n..4;C;Certificate sequence number
114
- 0575;an..3;C;List parameter qualifier
115
- 0577;an..3;C;Security party qualifier
116
- 0579;an..3;C;Key management function qualifier
117
- 0582;n..2;C;Number of padding bytes
118
- 0586;an..35;C;Security party name
119
- 0588;n..10;C;Number of security segments
120
- 0591;an..3;C;Padding mechanism, coded
121
- 0601;an..3;C;Padding mechanism code list identifier
122
- 0800;an..35;C;Package reference number
123
- 0802;an..35;C;Reference identification number
124
- 0805;an..3;C;Object type qualifier
125
- 0808;an..256;C;Object type attribute
126
- 0809;an..256;C;Object type attribute identification
127
- 0810;n..18;C;Length of object in octets of bits
128
- 0813;an..3;C;Reference qualifier
129
- 0814;n..3;C;Number of segments before object
1
+ 0001;a4;C;Syntax identifier
2
+ 0002;an1;C;Syntax version number
3
+ 0004;an..35;C;Interchange sender identification
4
+ 0007;an..4;C;Identification code qualifier
5
+ 0008;an..35;C;Interchange sender internal identification
6
+ 0010;an..35;C;Interchange recipient identification
7
+ 0014;an..35;C;Interchange recipient internal identification
8
+ 0017;n8;C;Date
9
+ 0019;n4;C;Time
10
+ 0020;an..14;C;Interchange control reference
11
+ 0022;an..14;C;Recipient reference/password
12
+ 0025;an2;C;Recipient reference/password qualifier
13
+ 0026;an..14;C;Application reference
14
+ 0029;a1;C;Processing priority code
15
+ 0031;n1;C;Acknowledgement request
16
+ 0032;an..35;C;Interchange agreement identifier
17
+ 0035;n1;C;Test indicator
18
+ 0036;n..6;C;Interchange control count
19
+ 0038;an..6;C;Message group identification
20
+ 0040;an..35;C;Application sender identification
21
+ 0042;an..35;C;Interchange sender internal sub-identification
22
+ 0044;an..35;C;Application recipient identification
23
+ 0046;an..35;C;Interchange recipient internal sub-identification
24
+ 0048;an..14;C;Group reference number
25
+ 0051;an..3;C;Controlling agency, coded
26
+ 0052;an..3;C;Message version number
27
+ 0054;an..3;C;Message release number
28
+ 0057;an..6;C;Association assigned code
29
+ 0058;an..14;C;Application password
30
+ 0060;n..6;C;Group control count
31
+ 0062;an..14;C;Message reference number
32
+ 0065;an..6;C;Message type
33
+ 0068;an..35;C;Common access reference
34
+ 0070;n..2;C;Sequence of transfers
35
+ 0073;a1;C;First and last transfer
36
+ 0074;n..10;C;Number of segments in a message
37
+ 0080;an..6;C;Service code list directory version number
38
+ 0081;a1;C;Section identification
39
+ 0083;an..3;C;Action, coded
40
+ 0085;an..3;C;Syntax error, coded
41
+ 0087;an..4;C;Anti-collision segment group identification
42
+ 0096;n..6;C;Segment position in message body
43
+ 0098;n..3;C;Erroneous data element position in segment
44
+ 0104;n..3;C;Erroneous component data element position
45
+ 0110;an..6;C;Code list directory version number
46
+ 0113;an..6;C;Message type sub-function identification
47
+ 0115;an..14;C;Message subset identification
48
+ 0116;an..3;C;Message subset version number
49
+ 0118;an..3;C;Message subset release number
50
+ 0121;an..14;C;Message implementation guideline identification
51
+ 0122;an..3;C;Message implementation guideline version number
52
+ 0124;an..3;C;Message implementation guideline release number
53
+ 0127;an..14;C;Scenario identification
54
+ 0128;an..3;C;Scenario version number
55
+ 0130;an..3;C;Scenario release number
56
+ 0133;an..3;C;Character encoding, coded
57
+ 0135;an..3;C;Service segment tag, coded
58
+ 0136;n..6;C;Erroneous data element occurrence
59
+ 0138;n..6;C;Security segment position
60
+ 0300;an..35;C;Initiator control reference
61
+ 0303;an..35;C;Initiator reference identification
62
+ 0304;an..35;C;Responder control reference
63
+ 0306;an..35;C;Transaction control reference
64
+ 0311;an..14;C;Dialogue identification
65
+ 0314;an..15;C;Event time
66
+ 0320;n..6;C;Sender sequence number
67
+ 0323;a1;C;Transfer position, coded
68
+ 0325;a1;C;Duplicate Indicator
69
+ 0331;an..3;C;Report function, coded
70
+ 0332;an..70;C;Report reason text
71
+ 0333;an..3;C;Report reason, coded
72
+ 0335;an..3;C;Report language, coded
73
+ 0336;n4;C;Time offset
74
+ 0338;n..8;C;Event date
75
+ 0340;an..35;C;Interactive message reference number
76
+ 0342;an..3;C;Dialogue version number
77
+ 0344;an..3;C;Dialogue release number
78
+ 0501;an..3;C;Security service, coded
79
+ 0503;an..3;C;Response type, coded
80
+ 0505;an..3;C;Filter function, coded
81
+ 0507;an..3;C;Original character set encoding, coded
82
+ 0509;an..3;C;Role of security provider, coded
83
+ 0511;an..512;C;Security party identification
84
+ 0513;an..3;C;Security party code list qualifier
85
+ 0515;an..3;C;Security party code list responsible agency, coded
86
+ 0517;an..3;C;Date and time qualifier
87
+ 0518;an..35;C;Encryption reference number
88
+ 0520;an..35;C;Security sequence number
89
+ 0523;an..3;C;Use of algorithm, coded
90
+ 0525;an..3;C;Cryptographic mode of operation, coded
91
+ 0527;an..3;C;Algorithm, coded
92
+ 0529;an..3;C;Algorithm code list identifier
93
+ 0531;an..3;C;Algorithm parameter qualifier
94
+ 0533;an..3;C;Mode of operation code list identifier
95
+ 0534;an..14;C;Security reference number
96
+ 0536;an..35;C;Certificate reference
97
+ 0538;an..35;C;Key name
98
+ 0541;an..3;C;Scope of security application, coded
99
+ 0543;an..3;C;Certificate original character set repertoire, coded
100
+ 0545;an..3;C;Certificate syntax and version, coded
101
+ 0546;an..35;C;User authorisation level
102
+ 0548;an..4;C;Service character for signature
103
+ 0551;an..3;C;Service character for signature qualifier
104
+ 0554;an..512;C;Algorithm parameter value
105
+ 0556;n..18;C;Length of data in octets of bits
106
+ 0558;an..70;C;List parameter
107
+ 0560;an..512;C;Validation value
108
+ 0563;an..3;C;Validation value, qualifier
109
+ 0565;an..3;C;Message relation, coded
110
+ 0567;an..3;C;Security status, coded
111
+ 0569;an..3;C;Revocation reason, coded
112
+ 0571;an..3;C;Security error, coded
113
+ 0572;n..4;C;Certificate sequence number
114
+ 0575;an..3;C;List parameter qualifier
115
+ 0577;an..3;C;Security party qualifier
116
+ 0579;an..3;C;Key management function qualifier
117
+ 0582;n..2;C;Number of padding bytes
118
+ 0586;an..35;C;Security party name
119
+ 0588;n..10;C;Number of security segments
120
+ 0591;an..3;C;Padding mechanism, coded
121
+ 0601;an..3;C;Padding mechanism code list identifier
122
+ 0800;an..35;C;Package reference number
123
+ 0802;an..35;C;Reference identification number
124
+ 0805;an..3;C;Object type qualifier
125
+ 0808;an..256;C;Object type attribute
126
+ 0809;an..256;C;Object type attribute identification
127
+ 0810;n..18;C;Length of object in octets of bits
128
+ 0813;an..3;C;Reference qualifier
129
+ 0814;n..3;C;Number of segments before object
@@ -1,130 +1,130 @@
1
- 0001;a4;C;Syntax identifier
2
- 0002;an1;C;Syntax version number
3
- 0004;an..35;C;Interchange sender identification
4
- 0007;an..4;C;Identification code qualifier
5
- 0008;an..35;C;Interchange sender internal identification
6
- 0010;an..35;C;Interchange recipient identification
7
- 0014;an..35;C;Interchange recipient internal identification
8
- 0017;n8;C;Date
9
- 0019;n4;C;Time
10
- 0020;an..14;C;Interchange control reference
11
- 0022;an..14;C;Recipient reference/password
12
- 0025;an2;C;Recipient reference/password qualifier
13
- 0026;an..14;C;Application reference
14
- 0029;a1;C;Processing priority code
15
- 0031;n1;C;Acknowledgement request
16
- 0032;an..35;C;Interchange agreement identifier
17
- 0035;n1;C;Test indicator
18
- 0036;n..6;C;Interchange control count
19
- 0038;an..6;C;Message group identification
20
- 0040;an..35;C;Application sender identification
21
- 0042;an..35;C;Interchange sender internal sub-identification
22
- 0044;an..35;C;Application recipient identification
23
- 0046;an..35;C;Interchange recipient internal sub-identification
24
- 0048;an..14;C;Group reference number
25
- 0051;an..3;C;Controlling agency, coded
26
- 0052;an..3;C;Message version number
27
- 0054;an..3;C;Message release number
28
- 0057;an..6;C;Association assigned code
29
- 0058;an..14;C;Application password
30
- 0060;n..6;C;Group control count
31
- 0062;an..14;C;Message reference number
32
- 0065;an..6;C;Message type
33
- 0068;an..35;C;Common access reference
34
- 0070;n..2;C;Sequence of transfers
35
- 0073;a1;C;First and last transfer
36
- 0074;n..10;C;Number of segments in a message
37
- 0076;an2;C;Syntax release number
38
- 0080;an..6;C;Service code list directory version number
39
- 0081;a1;C;Section identification
40
- 0083;an..3;C;Action, coded
41
- 0085;an..3;C;Syntax error, coded
42
- 0087;an..4;C;Anti-collision segment group identification
43
- 0096;n..6;C;Segment position in message body
44
- 0098;n..3;C;Erroneous data element position in segment
45
- 0104;n..3;C;Erroneous component data element position
46
- 0110;an..6;C;Code list directory version number
47
- 0113;an..6;C;Message type sub-function identification
48
- 0115;an..14;C;Message subset identification
49
- 0116;an..3;C;Message subset version number
50
- 0118;an..3;C;Message subset release number
51
- 0121;an..14;C;Message implementation guideline identification
52
- 0122;an..3;C;Message implementation guideline version number
53
- 0124;an..3;C;Message implementation guideline release number
54
- 0127;an..14;C;Scenario identification
55
- 0128;an..3;C;Scenario version number
56
- 0130;an..3;C;Scenario release number
57
- 0133;an..3;C;Character encoding, coded
58
- 0135;an..3;C;Service segment tag, coded
59
- 0136;n..6;C;Erroneous data element occurrence
60
- 0138;n..6;C;Security segment position
61
- 0300;an..35;C;Initiator control reference
62
- 0303;an..35;C;Initiator reference identification
63
- 0304;an..35;C;Responder control reference
64
- 0306;an..35;C;Transaction control reference
65
- 0311;an..14;C;Dialogue identification
66
- 0314;an..15;C;Event time
67
- 0320;n..6;C;Sender sequence number
68
- 0323;a1;C;Transfer position, coded
69
- 0325;a1;C;Duplicate Indicator
70
- 0331;an..3;C;Report function, coded
71
- 0332;an..70;C;Status
72
- 0333;an..3;C;Status, coded
73
- 0335;an..3;C;Language, coded
74
- 0336;n4;C;Time offset
75
- 0338;n..8;C;Event date
76
- 0340;an..35;C;Interactive message reference number
77
- 0342;an..3;C;Dialogue version number
78
- 0344;an..3;C;Dialogue release number
79
- 0501;an..3;C;Security service, coded
80
- 0503;an..3;C;Response type, coded
81
- 0505;an..3;C;Filter function, coded
82
- 0507;an..3;C;Original character set encoding, coded
83
- 0509;an..3;C;Role of security provider, coded
84
- 0511;an..1024;C;Security party identification
85
- 0513;an..3;C;Security party code list qualifier
86
- 0515;an..3;C;Security party code list responsible agency, coded
87
- 0517;an..3;C;Date and time qualifier
88
- 0518;an..35;C;Encryption reference number
89
- 0520;an..35;C;Security sequence number
90
- 0523;an..3;C;Use of algorithm, coded
91
- 0525;an..3;C;Cryptographic mode of operation, coded
92
- 0527;an..3;C;Algorithm, coded
93
- 0529;an..3;C;Algorithm code list identifier
94
- 0531;an..3;C;Algorithm parameter qualifier
95
- 0533;an..3;C;Mode of operation code list identifier
96
- 0534;an..14;C;Security reference number
97
- 0536;an..35;C;Certificate reference
98
- 0538;an..35;C;Key name
99
- 0541;an..3;C;Scope of security application, coded
100
- 0543;an..3;C;Certificate original character set repertoire, coded
101
- 0545;an..3;C;Certificate syntax and version, coded
102
- 0546;an..35;C;User authorisation level
103
- 0548;an..4;C;Service character for signature
104
- 0551;an..3;C;Service character for signature qualifier
105
- 0554;an..512;C;Algorithm parameter value
106
- 0556;n..18;C;Length of data in octets of bits
107
- 0558;an..70;C;List parameter
108
- 0560;an..1024;C;Validation value
109
- 0563;an..3;C;Validation value qualifier
110
- 0565;an..3;C;Message relation, coded
111
- 0567;an..3;C;Security status, coded
112
- 0569;an..3;C;Revocation reason, coded
113
- 0571;an..3;C;Security error, coded
114
- 0572;n..4;C;Certificate sequence number
115
- 0575;an..3;C;List parameter qualifier
116
- 0577;an..3;C;Security party qualifier
117
- 0579;an..3;C;Key management function qualifier
118
- 0582;n..2;C;Number of padding bytes
119
- 0586;an..35;C;Security party name
120
- 0588;n..10;C;Number of security segments
121
- 0591;an..3;C;Padding mechanism, coded
122
- 0601;an..3;C;Padding mechanism code list identifier
123
- 0800;an..35;C;Package reference number
124
- 0802;an..35;C;Reference identification number
125
- 0805;an..3;C;Object type qualifier
126
- 0808;an..256;C;Object type attribute
127
- 0809;an..256;C;Object type attribute identification
128
- 0810;n..18;C;Length of object in octets of bits
129
- 0813;an..3;C;Reference qualifier
130
- 0814;n..3;C;Number of segments before object
1
+ 0001;a4;C;Syntax identifier
2
+ 0002;an1;C;Syntax version number
3
+ 0004;an..35;C;Interchange sender identification
4
+ 0007;an..4;C;Identification code qualifier
5
+ 0008;an..35;C;Interchange sender internal identification
6
+ 0010;an..35;C;Interchange recipient identification
7
+ 0014;an..35;C;Interchange recipient internal identification
8
+ 0017;n8;C;Date
9
+ 0019;n4;C;Time
10
+ 0020;an..14;C;Interchange control reference
11
+ 0022;an..14;C;Recipient reference/password
12
+ 0025;an2;C;Recipient reference/password qualifier
13
+ 0026;an..14;C;Application reference
14
+ 0029;a1;C;Processing priority code
15
+ 0031;n1;C;Acknowledgement request
16
+ 0032;an..35;C;Interchange agreement identifier
17
+ 0035;n1;C;Test indicator
18
+ 0036;n..6;C;Interchange control count
19
+ 0038;an..6;C;Message group identification
20
+ 0040;an..35;C;Application sender identification
21
+ 0042;an..35;C;Interchange sender internal sub-identification
22
+ 0044;an..35;C;Application recipient identification
23
+ 0046;an..35;C;Interchange recipient internal sub-identification
24
+ 0048;an..14;C;Group reference number
25
+ 0051;an..3;C;Controlling agency, coded
26
+ 0052;an..3;C;Message version number
27
+ 0054;an..3;C;Message release number
28
+ 0057;an..6;C;Association assigned code
29
+ 0058;an..14;C;Application password
30
+ 0060;n..6;C;Group control count
31
+ 0062;an..14;C;Message reference number
32
+ 0065;an..6;C;Message type
33
+ 0068;an..35;C;Common access reference
34
+ 0070;n..2;C;Sequence of transfers
35
+ 0073;a1;C;First and last transfer
36
+ 0074;n..10;C;Number of segments in a message
37
+ 0076;an2;C;Syntax release number
38
+ 0080;an..6;C;Service code list directory version number
39
+ 0081;a1;C;Section identification
40
+ 0083;an..3;C;Action, coded
41
+ 0085;an..3;C;Syntax error, coded
42
+ 0087;an..4;C;Anti-collision segment group identification
43
+ 0096;n..6;C;Segment position in message body
44
+ 0098;n..3;C;Erroneous data element position in segment
45
+ 0104;n..3;C;Erroneous component data element position
46
+ 0110;an..6;C;Code list directory version number
47
+ 0113;an..6;C;Message type sub-function identification
48
+ 0115;an..14;C;Message subset identification
49
+ 0116;an..3;C;Message subset version number
50
+ 0118;an..3;C;Message subset release number
51
+ 0121;an..14;C;Message implementation guideline identification
52
+ 0122;an..3;C;Message implementation guideline version number
53
+ 0124;an..3;C;Message implementation guideline release number
54
+ 0127;an..14;C;Scenario identification
55
+ 0128;an..3;C;Scenario version number
56
+ 0130;an..3;C;Scenario release number
57
+ 0133;an..3;C;Character encoding, coded
58
+ 0135;an..3;C;Service segment tag, coded
59
+ 0136;n..6;C;Erroneous data element occurrence
60
+ 0138;n..6;C;Security segment position
61
+ 0300;an..35;C;Initiator control reference
62
+ 0303;an..35;C;Initiator reference identification
63
+ 0304;an..35;C;Responder control reference
64
+ 0306;an..35;C;Transaction control reference
65
+ 0311;an..14;C;Dialogue identification
66
+ 0314;an..15;C;Event time
67
+ 0320;n..6;C;Sender sequence number
68
+ 0323;a1;C;Transfer position, coded
69
+ 0325;a1;C;Duplicate Indicator
70
+ 0331;an..3;C;Report function, coded
71
+ 0332;an..70;C;Status
72
+ 0333;an..3;C;Status, coded
73
+ 0335;an..3;C;Language, coded
74
+ 0336;n4;C;Time offset
75
+ 0338;n..8;C;Event date
76
+ 0340;an..35;C;Interactive message reference number
77
+ 0342;an..3;C;Dialogue version number
78
+ 0344;an..3;C;Dialogue release number
79
+ 0501;an..3;C;Security service, coded
80
+ 0503;an..3;C;Response type, coded
81
+ 0505;an..3;C;Filter function, coded
82
+ 0507;an..3;C;Original character set encoding, coded
83
+ 0509;an..3;C;Role of security provider, coded
84
+ 0511;an..1024;C;Security party identification
85
+ 0513;an..3;C;Security party code list qualifier
86
+ 0515;an..3;C;Security party code list responsible agency, coded
87
+ 0517;an..3;C;Date and time qualifier
88
+ 0518;an..35;C;Encryption reference number
89
+ 0520;an..35;C;Security sequence number
90
+ 0523;an..3;C;Use of algorithm, coded
91
+ 0525;an..3;C;Cryptographic mode of operation, coded
92
+ 0527;an..3;C;Algorithm, coded
93
+ 0529;an..3;C;Algorithm code list identifier
94
+ 0531;an..3;C;Algorithm parameter qualifier
95
+ 0533;an..3;C;Mode of operation code list identifier
96
+ 0534;an..14;C;Security reference number
97
+ 0536;an..35;C;Certificate reference
98
+ 0538;an..35;C;Key name
99
+ 0541;an..3;C;Scope of security application, coded
100
+ 0543;an..3;C;Certificate original character set repertoire, coded
101
+ 0545;an..3;C;Certificate syntax and version, coded
102
+ 0546;an..35;C;User authorisation level
103
+ 0548;an..4;C;Service character for signature
104
+ 0551;an..3;C;Service character for signature qualifier
105
+ 0554;an..512;C;Algorithm parameter value
106
+ 0556;n..18;C;Length of data in octets of bits
107
+ 0558;an..70;C;List parameter
108
+ 0560;an..1024;C;Validation value
109
+ 0563;an..3;C;Validation value qualifier
110
+ 0565;an..3;C;Message relation, coded
111
+ 0567;an..3;C;Security status, coded
112
+ 0569;an..3;C;Revocation reason, coded
113
+ 0571;an..3;C;Security error, coded
114
+ 0572;n..4;C;Certificate sequence number
115
+ 0575;an..3;C;List parameter qualifier
116
+ 0577;an..3;C;Security party qualifier
117
+ 0579;an..3;C;Key management function qualifier
118
+ 0582;n..2;C;Number of padding bytes
119
+ 0586;an..35;C;Security party name
120
+ 0588;n..10;C;Number of security segments
121
+ 0591;an..3;C;Padding mechanism, coded
122
+ 0601;an..3;C;Padding mechanism code list identifier
123
+ 0800;an..35;C;Package reference number
124
+ 0802;an..35;C;Reference identification number
125
+ 0805;an..3;C;Object type qualifier
126
+ 0808;an..256;C;Object type attribute
127
+ 0809;an..256;C;Object type attribute identification
128
+ 0810;n..18;C;Length of object in octets of bits
129
+ 0813;an..3;C;Reference qualifier
130
+ 0814;n..3;C;Number of segments before object