Page 1 of 1

where can we find the code for dsjob

Posted: Tue Aug 02, 2011 11:33 am
by saj
Can any one please let me know where we can find the code for dsjob ?

Posted: Tue Aug 02, 2011 1:28 pm
by chulett
From what I recall, it's in the same chapter where the various options are explained - the Command Line Interface chapter in the Server Job Developer's Guide pdf in your version.

Posted: Tue Aug 02, 2011 1:43 pm
by PaulVL
cat /.dshome

Location of dsjob

$DSHOME/bin

:)

Posted: Tue Aug 02, 2011 2:11 pm
by chulett
I assumed they are looking for the C++ code for dsjob (which is actually published) rather than where the executable lives... but I guess we'll see. :wink:

Posted: Tue Aug 02, 2011 3:40 pm
by ray.wurlod
From memory it's to be found in the sample directory.

Posted: Wed Aug 03, 2011 12:25 am
by saj
chulett wrote:I assumed they are looking for the C++ code for dsjob (which is actually published) rather than where the executable lives... but I guess we'll see. :wink:
Yes Craig ,I am looking for the C++ code for dsjob . If it is published could you please let me know where I can find the same .

Posted: Wed Aug 03, 2011 1:59 am
by ray.wurlod
dsjob began life as an example of how to program using the DataStage C API. Note that it is a C program, not a C++ program. From memory (since I'm not in a position to check) complete source code was provided in the programming manual, and on disk in the sample directory.

Posted: Wed Aug 03, 2011 7:18 am
by chulett
saj wrote:If it is published could you please let me know where I can find the same .
Already did. :?