DSGetStageLinks Error

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
KPReddy
Participant
Posts: 28
Joined: Wed Jan 25, 2006 12:41 pm
Location: Philadelphia,PA

DSGetStageLinks Error

Post by KPReddy »

I am getting an error DSGetStageLinks never dimensioned.

I searched the forum and added the below line to my routine then the function is not returning anything.

DEFFUN DSGetStageLinks(JOB.NAME, STAGE.NAME, LINKMODE).

Please suggest a solution.
Thanks in advance
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

That would be because it doesn't exist. DSGetStageInfo and DSGetLinkInfo exist though.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
KPReddy
Participant
Posts: 28
Joined: Wed Jan 25, 2006 12:41 pm
Location: Philadelphia,PA

Post by KPReddy »

Hi kbcland,
But i found this function in the server jobs documentation.
If not is there any other way to get output links of a stage.

Thanks.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Go to your Start button, Ascential, Online Documentation, and open the BASIC manual. Go to the functions section, everything is alphabetically listed. If you look at the two functions I listed, you'll find them in the documentation in detail. This is your API documentation. I suggest you use this instead of any other source.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

KPReddy wrote: But i found this function in the server jobs documentation.
Where?
KPReddy wrote:If not is there any other way to get output links of a stage.
DSGetStageInfo(hJob, DSJ.LINKLIST)
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