Hello,
I am writing some PX jobs that will need calling from a script that will need to include some osh commands.
I am trying to get the osh commands to work on their own but even the example Hello World gives an error:
osh "echo 'hello, world'"
##I TFCN 000001 16:26:25(000) <main_program>
DataStage XE Parallel Extender V7.0.1
Copyright (C) 2003, 1997 - 2002 Ascential Software, Inc.
All Rights Reserved
##I TUTL 000031 16:26:25(001) <main_program> The open files limit is 256; raising to 1024.
##I TOSH 000002 16:26:26(000) <main_program> orchgeneral: loaded
##I TOSH 000002 16:26:26(001) <main_program> orchsort: loaded
##I TOSH 000002 16:26:26(002) <main_program> orchstats: loaded
##E TCOS 000001 16:26:26(005) <main_program> Licensing Error: Could not find a license
Ascential support think this might be a problem with the C++ compiler license rather than datastage.
Has anyone seen this before or got any ideas how I can find out where the problem lies.
It would help if I knew what command was being run by osh that gave rise to this error. Does osh even use the C++ compiler for such a simple osh script that is just wrapping UNIX script?
Regards
Paul
OSH - hello world
Moderators: chulett, rschirm, roy