Can you do an object check before calling the CLP? You can use the QUSROBJD API in RPGLE to do the check.
If the check object fails you'll have an indication of what your issue actually is.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of wjohnson@xxxxxxxxxx
Sent: Thursday, September 27, 2012 1:28 PM
To: RPG programming on the IBM i / System i
Cc: rpg400-l-bounces@xxxxxxxxxxxx
Subject: Re: called program not being called
for more clarification , the rpgle programs are compiled with
Dftactgrp(*NO) Actgrp(*CALLER) ....the pgm preceding the failed call to the CLP pgm is a JDE unmodified program (RPG)...
in our current production environment, it all works fine.......we are upgrading to a92 and testing in the new environment and this where we are having this problem.....anyone else on A92? Thanks
From: wjohnson@xxxxxxxxxx
To: rpg400-l@xxxxxxxxxxxx
Date: 09/27/2012 03:51 PM
Subject: called program not being called
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
Need some input . We have a rpgle opm program that calls another program
that in turn call s a clp program. The call to the CLP program crashes with this error:
Cannot resolve to object 000. Type and Subtype X'0201' Authority X'0000'.
Error occurred while calling program or procedure *LIBL/000 (C G D F).
It appears it does not find the object; yet if i qualify the call with Lib/obj, it works fine.
Any suggestions would be greatly appreciated...Thanks. Steve J
--
This is the RPG programming on the IBM i / System i (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 is the RPG programming on the IBM i / System i (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.