DSGetStageInfo () return -7 while trying to get the Dataset

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
shivadas
Participant
Posts: 48
Joined: Tue Jun 12, 2007 12:10 am

DSGetStageInfo () return -7 while trying to get the Dataset

Post by shivadas »

Hi All,

I am getting the following error while trying to read the Dataset Description.

I have use DSJ.FULLSTAGELIST/DSJ.STAGELIST/DSJ.STAGELIST2 and passing the dataset name to the DSGetStageinfo(), but it gives me error as -7, i am able to get the count of records fetched, not name/Desc

I have refered the old posting ... and tryed all the option like triming leading and before, hardcoding the stage name,...

I am facing this error with the Dataset.

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

Post by ArndW »

DSGetStageInfo() doesn't take a DataSet name, it takes a stage name as input. You can get the row information from the DSGetLinkInfo() routine, using the input link name and stage name.
Post Reply