|
[EDI-L Mailing List Archive Home]
[Message List]
[Reply To This Message]
Re: Gentran Question

We have Gentran to handle our EDI traffic. The in-bound EDI documents
are translated into a flat format and saved into a file. My questions
is that could Gentran automate the following tasks:
Ans :-Yes Gentran can automaticaly export (Go to Partner Editor -> Inbound
->Translation ) then select Export File(Your Map) and Click the Auto check box
if you want the export file created automatically upon receipt of the document.
If the Auto box is not selected, the received document will remain in the In
Documents until it is selected for processing.
Whenever there are in-bound EDI documents, Getran pick up right map
to translate. Then Getran will save the translated document into a
file of a unique filename. After the file save is complete, Gentran
move the file to a different directory.
Ans:- Go to Patner Editor and create inboud relationship. If the Export File
Name is defined for this relationship, each document can be exported
individually to a unique file. If you use formatting characters in the file
name, the document key changes for each document that is exported, the Process
ID stays the same (for all documents exported from the same interchange), and
the unique ID changes. Therefore, using the "document key" and "unique ID"
special characters (defined below), a unique file name can be derived.
Formatting characters supported in export file name.
%y (two-digit year)
%Y (four-digit year)
%m (abbreviated month name)
%M (month as a decimal number)
%d (abbreviated weekday name)
%D (day of the month as a decimal number)
%H (hour in 24-hour format)
%N (minutes)
%S (seconds)
%K (document key)
%P (process identifier)
%U (unique number derived using the current time, export filename, process
identifier, and the rand() function)
Currently we have a concurrent problem with Gentran. Whenever Gentran
gets an in-bound document, it translates it and append the result to
a predefined file(if the file does not exist, it will create the
file). There is another application renames the file and process it.
Sometimes the application ends up with a corrupt file.
Ans :- You can use here any kind of scripting and check the file is not in use.
If you needed this type of script then please let me know I will send you.
Thanks
Kamalesh
610-925-5956
610-880-9645(Cell)
yliuaaa < wrote:We have Gentran to handle our EDI traffic.
The in-bound EDI documents
are translated into a flat format and saved into a file. My questions
is that could Gentran automate the following tasks:
Whenever there are in-bound EDI documents, Getran pick up right map
to translate. Then Getran will save the translated document into a
file of a unique filename. After the file save is complete, Gentran
move the file to a different directory.
Currently we have a concurrent problem with Gentran. Whenever Gentran
gets an in-bound document, it translates it and append the result to
a predefined file(if the file does not exist, it will create the
file). There is another application renames the file and process it.
Sometimes the application ends up with a corrupt file.
Let me know if you could help and thanks in advance.
--Yajun
Yahoo! Groups SponsorADVERTISEMENT
To unsubscribe from this group, send an email to:
Message Identifiers: <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>,
<OFF-TOPIC>
Access the list online at: http://groups.yahoo.com/group/EDI-L
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com
[Non-text portions of this message have been removed]
|
 |
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|