GS
Response Generator will optionally generate:
-
A new interchange envelope whenever a new interchange envelope is seen in the Instream output.
-
A new functional group at the beginning of the interchange, and then when functional groups are seen in the Instream output with different Sender (GS02) or Receiver (GS03) IDs.
Normally, Response Generator uses the Sender and Receiver IDs from the EDI data, and reverses them, since the response is going back. You can override the Sender and/or Receiver IDs on the command-line. These overrides remain in effect for the entire run.
Element |
Type and Length |
Contents |
|
---|---|---|---|
GS01 479 Functional Identifier Code |
ID 2 |
FA functional acknowledgment |
|
GS02 142 Application Sender’s Code |
AN 2/15 |
From initiating transaction’s GS03: Application Receiver’s Code |
|
GS03 124 Application Receiver’s Code |
AN 2/15 |
From initiating transaction’s GS02: Application Sender’s Code |
|
GS04 373 Date |
DT 8 |
Current date in YYYYMMDD format |
|
GS05 337 Time |
TM 4/8 |
Current time in HHMMSS format |
|
GS06 28 Group Control Number |
N0 1/9 |
Specified Group Control Number |
|
GS07 455 Responsible Agency Code |
ID 1/2 |
X Accredited Standards Committee X12 |
|
AN 1/12 |
This assumes that it isn't overridden on the command line with -fdo_gs08_passthrough or -dav. 997 005010 unless the source document is 4010, then 004010. 999 005010X231A1. 824 004050X166 if -fdo824x166 is set. 005010X186 if -fdo82x186 is set and source document is 5010. 004010 if the source document is 4010. 005010 if none of the above are true. 277 004010H01 if -fhm277 is set. 005010X214 if -fca277 is set and source is 5010. 003070X070A1 if -fdo277x070 is set. 00404X167 if -fdo277x167 is set. 004010 if the source document is 4010. 005010X212 if none of the above are true. 864 005010 unless the source document is 4010, then 004010. |