Page 1 of 1

KeyMgtGetNextValue

Posted: Tue Mar 22, 2011 6:40 am
by rsunny
Hi ,

I am using KeyMgtGetNextValue and the Argument which i am passing is the tablename but in the Datastage transformer it is showing Red but still i ran the job i got a warning

DataStage Job 282 Phantom 2640
Program "DSX.KEYMGTGETNEXTVALUE": Line 58, Variable "Arg1" previously undefined. Empty string used.
Program "DSX.KEYMGTGETNEXTVALUE": Line 69, Variable "Arg1" previously undefined. Empty string used.
DataStage Phantom Finished

but it has generated a number for each row but with warning

Now when i use KeyMgtGetNextValue(1) , iam not getting any warnings.

Can anyone tell me how to get rid of the Warning if i use KeyMgtGetNextValue(tablename) as it also shows red in the transformer


Thanks in advance

Posted: Tue Mar 22, 2011 6:49 am
by chulett
Put quotes around the tablename.

Posted: Tue Mar 22, 2011 7:08 am
by rsunny
Thanks Craig for your help