Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Gentran:Director xprocess fail to run in unattended mode

Status
Not open for further replies.

manco

MIS
Oct 21, 1998
1
US
We have a trading partner who sends/receives X12 messages without the ~ segment terminator via Geis. Gentran's xprocess is not functioning as it is supposed to. I.E manual execution by hand is handled successfully but when run from unattended mode , it failed. In the mean time , we are manually adding & removing the ~ by hand. <br>
<br>
To recap the situation, in outbound, Geis expects the message to be terminated with CRLF. Running xprocess with -8 , -2 in unattended mode, did not result in removing of the ~, in fact no transformation of the file at all. Running xprocess from command mode, the utility ran successfully but with side effects. <br>
<br>
-2 parameter resulted in line terminated with CR <br>
-8 parameter resulted in line terminated with= LF<br>
<br>
According to Gentran knowledgeBase, -2 is supposed to result in CRLF, but the manual and our experience shown that it resulted in CR only. When the message sent to Geis, Geis aborted the transmission due to line terminator was not CRLF. As a last resort, we used -1, but found out later that the -1 parameter replaced a character with another character, but not drop a character. e.g. before ~CRLF , after xprocess, CRCRLF, which do not solve the transmission to Geis problem.<br>
<br>
In inbound, Gentran expects the message to be terminated in ~ for translation to begin. Our client receives both X12 & EDIFACT, Xprocess -1 or -3 automatically adds the ~ to both X12 & EDIFACT messages, not X12 messages only. <br>
<br>
so, our questions are <br>
1- why the xprocess failed in unattended mode? anyway to make it work or workaround it?<br>
2- anyway for xprocess to add CRLF to text<br>
3- anyway for xprocess to add ~ to x12 messages only<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top