Anda di halaman 1dari 8

GENTRAN:Director

Steps To create Process Control

Gentran:Director Work Station:

Note: I have picked up a simple business scenario to show the working of


process control.
Scenario: To run a command line script to manipulate the input file and
process the file and move the output file from one folder to another
folder.

Solution:

* Go to the work station and click the “Process Control” tab you will get a
“GENTRAN:Director Process Control” window.

* Then go to the “New” tab to get the “New Session” window. Enter a new session
name.
* Go to the “Ins” tab in the “GENTRAN:Director Process Control” window to get
the “Action Setup” window open.

* Open the “Action Setup” window and select the “Exec_Program” command.

* In the “Execute Program” text box browse the .bat file which is to be excuted.
* In the “Working Directory” browse the path of the input file.

* Next open the “Action Setup” window again and select the “GDW_Import” command.

* In Process Control, the GDW_Import command translates data from an application


file to EDI.

* In the “File Name” text box give the path of the input file to be translated.

* Select the “File_Copy” command from the “Command” drop down box.
*Give the path and the name of the input file from the source folder.
*Give the path and the name of the input file from the target folder.

Note: This ends the creation of the required session. Next we need to create the
“Events” to execute the session.

* Go to the “Events” tab in the “GENTRAN:Director Process Control” to create a new


event.
* Go to the “New” tab to open the “Event Setup” window.

* Give an appropriate description in the “Description” text box.

* From the “Session” drop down select the session which you have created for this
event.

* The start time and the end time can be set up as required. The calendar can also be set
up.
* Then activate the event by clicking the “Activate” tab as shown below. You can also
manually execute the event by clicking the “Execute” tab.

************************************End********************************

Please find below the function of all the commands in the Process Control.

1. Exec_Program : Run a specified program during the Process Control session.


Specify command line arguments needed to execute the program. The session
execution does not continue until the program completes.

2. File_Copy : File_Copy command to copy an output file of your EDI data to your
hard drive.

3. File_Delete : File_Delete command to delete a file.

4. File_Rename : File_Rename command to rename a file.

5. GDW_Audit_Purge : GDW_Audit_Purge command is used to delete all audit


records and reset the SystemAuditNextEntry value in the database tables program
to zero. No applicable parameters exist for this command.

6. GDW_Audit_Rpt : GDW_Audit_Rpt command is used to copy the designated number


of audit records to a specified file.
7. GDW_Document_Purge : GDW_Document_Purge command to purge documents
from the GENTRAN:Director database according to age, date, location, and status. If all
the documents in a group or interchange are purged, group database records and
interchange database record are also purged.

8. GDW_Document_Rpt : GDW_Document_Rpt command to create a file that contains


formatted document data, as well as group and interchange data for documents in the
GENTRAN:Director database according to status, location, and age or date.

9. GDW_Export : GDW_Export command to export documents from In Documents.

10. GDW_Import : GDW_Import command to perform the GENTRAN:Director Import


function. In Process Control, the GDW_Import command translates data
from an application file to EDI.

11. GDW_Partner_Delete : GDW_Partner_Delete command to remove a partner profile


from the GENTRAN:Director database.

12. GDW_Partner_Export : GDW_Partner_Export command to download data from a


partner on the GENTRAN:Director partner database to a file.

13. GDW_Partner_Import : GDW_Partner_Import command to import partner details


to the GENTRAN:Director partner database.

14. GDW_Print : GDW_Print command to print documents from In Documents.

15. GDW_Process_File : GDW_Process_File command to invoke the post-


communications process with an EDI file, just as if the file was received during a
communications session.

16. GDW_Receive : GDW_Receive command to establish a receive-only


communications session with one or all of your defined connections.

17. GDW_Send_Receive : GDW_Send_Receive command to establish a send-receive


communications session with one or all of your defined connections.

18. Terminate_Script : Terminate_Script command to stop processing a session.

Anda mungkin juga menyukai