KeyMgtGetNextValue

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
rsunny
Participant
Posts: 223
Joined: Sat Jul 03, 2010 10:22 pm

KeyMgtGetNextValue

Post 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
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Put quotes around the tablename.
-craig

"You can never have too many knives" -- Logan Nine Fingers
rsunny
Participant
Posts: 223
Joined: Sat Jul 03, 2010 10:22 pm

Post by rsunny »

Thanks Craig for your help
Post Reply