|
meanwhile back at the ranch.... bizarre stuff below:
I'm testing this program that calls the QDBRTVFD api (retrieve
database file description) and updates a file with info retrieved from
the API.
It loops through reading records from an UF file - calls the API,
updates the record.
After the second read, second call to the API (which didn't error
out), the second update bombs with the following errors:
Pointer not set for location referenced.
Function check. MCH3601 unmonitored by QRNXIE at statement 0000000045,
instruction X'0000'.
Pointer not set for location referenced.
Pointer not set for location referenced.
Exception recursion detected.
Application error. *N unmonitored by *N at statement *N, instruction
X'4000'.
Application error. *N unmonitored by *N at statement *N, instruction
X'4000'.
secondary text on the MCH3601:
Message . . . . : Function check. MCH3601 unmonitored by QRNXIE at
statement
0000000045, instruction X'0000'.
Cause . . . . . : An escape exception message was sent to a program
which
did not monitor for that message. The full name of the program to
which the
unmonitored message was sent is QRNXIE QRNXMSG SetRepText. At the
time the
message was sent the program was stopped at higher level language
statement
number(s) 0000000045. If more than one statement number is shown, the
program was a bound program. Optimization does not allow a single
statement
number to be determined. If *N is shown as a value, it means the
actual
value was not available.
If I take the call to the API out, it
the only things I do in this program that are out of the ordinary:
I run a CHGLIBL command several times during this job
The file I'm updating is a DSPPGMREF *outfile that I've used SQL to
add fields to the end of.
Any ideas?
On Fri, Jul 2, 2010 at 1:51 PM, rick baird <rick.baird@xxxxxxxxx> wrote:
hey all,using an API?
has anyone retrieved the format level ID for a display file record
dspfname.
for database files, I use QDBRTVFD format FILD0200, but it doesn't
work for display files.
I looked and looked for that info in the doc for QDFRTVFD api, but I
don't see it.
I know it's out there - you can see the info at the bottom of DSPFD
--
thanks,
Rick
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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.