|
That appeared to be the problem. Thanks! How it works, but every second run, the call to CIPHER fails because the pointer to HASHCTXPTR is *NULL. d controls ds d function 5i 0 inz(5) d hashalg 1a inz(x'00') d sequence 1a inz(x'00') d datalength 10i 0 inz(15) d unused 8a inz(*loval) d hashctxptr * inz(%addr(hashworkarea)) d hashworkarea s 96a inz(*loval) This is unchanged from the original program. It may be due to my testing program, but I find it odd. Loyd -----Original Message----- From: Hall, Philip [mailto:phall@spss.com] Sent: Thursday, November 29, 2001 9:14 AM To: 'midrange-l@midrange.com' Subject: RE: Pointer question (long) > After this line executes, however: > c callp convert(%addr(inputdata) : > "Pointer not set for location referenced." It looks like you're passing a pointer to a pointer. As 'inputdata' is already a pointer, shouldn't it be; c callp convert(inputdata : --phil _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.