Hi All,
I am trying to create the osh script for some small logic.
Following is the code that I have written in the osh script:-
transform -outputschemafile 'out_schema'
-inputschemafile 'schemaforos'
-expressionfile expfile
-flag compile -dir '/home/dsadm/testDS/OshTestSal' -name transferfile;
import
-schemafile 'schemaforos'
-file 'InpFileLeft.txt'
|tsort -key 'var1' -hash -desc
|transform -flag run -name transferfile.so >| OutOsh3.txt
While I am trying to run this script I am getting the following error:-
##F TUXX 000001 14:47:36(000) <main_program> Internal Error: (obj): transform/transform.C: 1526
Traceback: Could not obtain stack trace; check that 'gdb' and 'sed' are installed and on your PATH
I have checked and found that no gdb is installed on the PATH but sed is already there.
If anyone has any idea about this error, please help me
Regards
dsusr
Error while running the orchestrate scripts
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Hi Ray,ray.wurlod wrote:Find where gdb is and make sure that its parent directory is in the PATH.
I have searched on my Unix machine and there is no executable with the name gdb.
I dont know if this problem is exactly related to gdb only or some other thing since if it is a gdb problem then I would not have been able to run the PX transformer also but I am able to run the PX transformer.
Regards
dsusr
Hi Eric,Eric wrote:This is a message that the osh is wrong in some way.
Why are you trying to write in Osh?
Why don't you create your job using the Designer?
The requirement is such that my output schema is fixed, but the input schema may vary for each file. Also I am having one file that will give which output field is mapped to which input field.
So now what I am trying is to mix osh and unix scripting to dynamically create this mapping job. In the osh I will modify the expfile using Unix sed command. Problem here is that this logic cannot be implemented in transformer so just using osh for this.
If you have any suggestions, then do provide that.
Thanks
dsusr