How should I run the ECS2TGL conversion utility in different Unix shells?

How should I run the ECS2TGL conversion utility in different Unix shells?

book

Article ID: KB0091704

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect EDI Protocol Powered by Instream -
Not Applicable -

Description

Resolution:
If you are running in C-shell:

The example is specified if you have installed BC & EDI under /local/tibco/bc. You should be in $BC_HOME/bin to run the ECS2TGLCon command.
1. set the environment variable BC_HOME: e.g. setenv BC_HOME /local/tibco/bc
2. set the environment variable ECRegistryPath to point to registryValidator.xml. e.g.
setenv ECRegistryPath /local/tibco/bc/EDI/Validator/Docs/Settings/Production/registryValidator.xml
3. set the LD_LIBRARY_PATH to point to the dynamic libraries for XEngine e.g.
setenv LD_LIBRARY_PATH /local/tibco/bc/EDI/lib:$LD_LIBRARY_PATH
4. run the ECS2TGLCon command: ./ECS2TGLCon 850.ecs /UN /PI

If you are running in k-shell/bash/shell:
1. set the environment variable BC_HOME: e.g. BC_HOME=/local/tibco/bc
2.set the LD_LIBRARY_PATH to point to the dynamic libraries for XEngine. e.g.
LD_LIBRARY_PATH=/local/tibco/bc/EDI/lib:$LD_LIBRARY_PATH
3. run the BC runENV: . runENV.sh
4. run the ECS2TGLCon command: ./ECS2TGLCon 850.ecs /UN /PI

Environment

Product: TIBCO BusinessConnect EDI Protocol Version: 2.x OS: Solaris 2.8 --------------------

Issue/Introduction

How should I run the ECS2TGL conversion utility in different Unix shells?