You may want to look at your program call. You showed the *entry parm list
for the called program, but you aren't passing a parm in your program
CALL. This won't cause the problem your seeing, I would try the 2 things
already posted, authority and CAPS. but after you get the call to work The
program may still fail because you didn't pass the required information.
From:
"Denis Robitaille" <denis_robitaille@xxxxxxxxxxxx>
To:
<rpg400-l@xxxxxxxxxxxx>
Date:
07/25/2008 01:57 PM
Subject:
Rép. : Calling another program from within a program
The name of the program must be in uppercase :
call 'TRNSEQNO'
Denis Robitaille
Directeur services technique TI
819 363 6130
SUPPORT
Jour (EST) Daytime : 819-363-6134
En-dehors des heures (EST) After hour : 819-363-6158
Network Status : 819-363-6157
"Willie J. Moore" <WJMoore@xxxxxxxxxxxx> 2008-07-25 14:23 >>>
I am getting the following error messages when trying to do a call from
within an RPGLE program.
"Cannot resolve to object trnseqno. Type and Subtype X'0201' Authority
X'0000'."
"Error occurred while calling program or procedure *LIBL/trnseqno."
Here is the code for the call program:
C*
C call 'trnseqno'
C*
Here is the code for the program being called:
C*
C *entry plist
C parm ftrnno
7 0
C*
I have made sure that the library list is correct. I have other
programs that do a 'call' and are working fine. I cannot see any
difference between these programs and the others that are working.
Would appreciate any and all help or iteals on this.
Thanks,
William Moore