This is probably a very simple question, but I want to check and act on certain SQLCODES obtained after a DBLOOKUP statement.
i.e DBLOOKUP(blah blah blah)....IF SQLCODE = +100 , "record isnt there" , IF SQLCODE = -803 , "Record already exists" etc etc etc...
Any Ideas???
Thanks in advance
i.e DBLOOKUP(blah blah blah)....IF SQLCODE = +100 , "record isnt there" , IF SQLCODE = -803 , "Record already exists" etc etc etc...
Any Ideas???
Thanks in advance