Thanks! We'll email you
when relevant content is
added and updated.
The prototype for an API to retrieve the contents of a data area is defined like this:
d apirtvdta_ pr 2559 varying
d name 10 const
d lib 10 const
d opt_start 4b 0 const options(*nopass)
d opt_length 4b 0 const options(*nopass)
The execution is coded as:
c eval apirtvdta = apirtvdta_(name:lib)
The first call works successfully, but subsequent calls indicate that the optional parameters have been given addresses at some point even though the first call showed the addresses as *NULL. I have put the subprocedure into debug mode (it is in a service program) and the addresses are still null as of RETURN.
May 2, 2005 11:49 AM
October 24, 2010 4:48 AM