DS commands

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

DS commands

Post by kollurianu »

Hi All,

Could some please explain me what does
" DSU.CommonInitKeys " in the following command do

DSU.CommonInitKeys(workdir:" ":oradb:" ":orauser:" ":orapwd:" ":SeqIdName, returncode)


is it a user defined Routine , where can i find the details about the routine.

Thank you all
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

Post by kollurianu »

adding to the above message

what does the following command do

Call DSU.DSWaitForFile(AvaOutfilePath:" timeout=-1", returncode)

Thank you,
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Kollurianu,

the first sounds like a user-written routine, the second is a DataStage routine which, when I tried using the search function, has been referenced 11 times already.
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

Post by kollurianu »

Hi Arnd,

i didnot find this function CommonInitKeys in the in routines folders

does DSU indicate it is an user defined function if so what does the following mean , can some one explain please,

Call DSU.DSWaitForFile(AvaOutfilePath:" timeout=-1", returncode)


Thank you all,
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

DSWaitForFile is a function, not a subroutine, so you would not use Call. Instead, you need a DEFFUN declaration. This is in the JOBCONTROL.H header file, so put at the top of your routine

Code: Select all

$IFNDEF JOBCONTROL.H
$INCLUDE DSINCLUDE JOBCONTROL.H
$ENDIF
You should be able to find a routine called CommonInitKeys in the Routines branch of your repository.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply