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.
P: 814-472-6066 x134
172 Gateway Road PO Box 568
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
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