Page 1 of 1

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

Posted: Fri Jan 04, 2008 11:08 am
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

Posted: Fri Jan 04, 2008 11:23 am
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.