|
Hey Trevor,
The rtncount is supposed to be an output only field, defined in the IWS,
so I'm not sending it a value, its supposed to just return a value.
I know I can't do an INZ on a parameter field so how would I get around this?
How are you calling the program? It looks like you're not passing it the
RtnCount parameter.
Trevor Briggs
Analyst/Programmer
Lincare, Inc.
(727) 431-1246
TBriggs2@xxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of RPGLIST
Sent: Wednesday, October 09, 2013 10:57 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Pointer not set for lcoation referenced error
I'm getting the above mentioned error but I'm not quite sure where its
coming from, any assistance would be appreciated.
D Row ds Qualified Inz
D Inv 5a
D Date 8s 0
D Name 25a
D Amount 9p 1
D Weight 9p 1
D SOAPXML2 pr ExtPgm('SOAPXML2')
D CustNo 4p 0
D StrDate 8p 0
D EndDate 8p 0
D RtnCount 10i 0
D RtnList LikeDs(Row) dim(5)
D SOAPXML2 pi
D CustNo 4p 0
D StrDate 8p 0
D EndDate 8p 0
D RtnCount 10i 0
D RtnList LikeDs(Row) dim(5)
My first line after /free is:
0028.00 RtnCount = 0;
that is where I'm getting the error.
Suggestions? I tried adding another var but that errored as I expected
it
to since it was already declared
It compiles but throws an exception when I try to run it in debug.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
************************************************************************************************************************************************************************************************************
This message originates from Lincare Holdings Inc. It contains information
which may be confidential or privileged and is intended only for the
individual or entity named above.
It is prohibited for anyone else to disclose, copy, distribute or use the
contents of this message.
All personal messages express views solely of the sender, which are not to
be attributed to Lincare Holdings Inc., and may not be copied or
distributed without this disclaimer.
If you received this message in error, please notify us immediately at
MailAdmin@xxxxxxxxxxx or (800) 284-2006.
************************************************************************************************************************************************************************************************************
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-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.