OSH - hello world

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
thompsonp
Premium Member
Premium Member
Posts: 205
Joined: Tue Mar 01, 2005 8:41 am

OSH - hello world

Post by thompsonp »

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
Eric
Participant
Posts: 254
Joined: Mon Sep 29, 2003 4:35 am

Post by Eric »

I expect it's the DataStage licence that can't be found as you are not running the job though the DataStage interface.
T42
Participant
Posts: 499
Joined: Thu Nov 11, 2004 6:45 pm

Post by T42 »

You can not really run Orchestrate on a machine WITHOUT a full DataStage installation. You could call Orchestrate directly ($APT_ORCHHOME/bin/osh), but no, you can not run it independently.

Sorry, this is most likely part of the licensing agreement your company signed with Ascential.
Post Reply