SQLCOD is zeros until it attempts the first FETCH, then is 100.

I changed the QSYS2. To QSYS2/ with no difference.

The variables I pass in, record number and file, match what the page reports.

Someone had asked how this is compiled. I use CRTSQLRPGI.
This is an open access program, so I pass COMILEOPT('DEFINE(WITHWINGS)')
We use ASNA WINGS as our web interface with their handler.

The program does execute and bring the page up that you normally see after I compile it.
So I would think there would not be a handler issue.
There are no pre-compiler warnings.
The RPG program compiles error free.

Tom Deskevich


Tom Deskevich
P: 814-472-6066 x134
F: 814-472-5019
E: TDeskevich@xxxxxxxxxxxxxxxxxx
172 Gateway Road PO Box 568
Ebensburg, Pennsylvania
This message has been sent on behalf
of a company that is part of the Harris Operating Group of
Constellation Software Inc. These companies are listed at the
following link:
Unsubscribe Option:

If you do not wish to receive any future email, please unsubscribe
by clicking on the following link:
This message is
intended exclusively for the individual or entity to which it is
addressed. This communication may contain information that is
proprietary, privileged or confidential or otherwise legally exempt
from disclosure. If you are not the named addressee, you are not
authorized to read, print, retain, copy or disseminate this message
or any part of it. If you have received this message in error,
please notify the sender immediately by e-mail and delete all copies
of the

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].