|
3 three basics are checked OK. I definitely checked this during this process. I tried copying the name and pasting it into the call, I did a dsppgm after unsuccessfully calling it interactively. Again, I also created a simple CL and placed it at the same location in the sub-procedure with the same results to the clp. My experience in the past is that it is usually a simple stupid mistake that causes the problem. This time around I'm stumped partly because, though I've been in RPG for 20+ years, I've only been working with ILE & sub-procedures a few months. This is also my first application utilizing embedding SQL. By the way, this new program call is only going to be a temporary addition designed to delete some records based on a condition in the LRN320 module. Then I was planning to remove it for production. Therefore I could make it work a different way, but I would like to know what the problem is for next time as well as this time. Thanks Don McIntyre ----- Original Message ----- From: "Tracy Ball" <TBall@xxxxxxxxxxxxxxxx> To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> Sent: Friday, May 09, 2003 4:00 PM Subject: RE: Calling RPGLE Program or Module from SQLRPGLE > Don, > > Three suggestions, and they are basic but necessary: > > 1. Make sure the object does in fact exist > 2. Make sure the object is in your library list > 3. Verify spelling :-) > > Tracy L. Ball > The Jackson Group > Sr. Programmer/Analyst > (317) 781-4600 ext. 3107 > > > > -----Original Message----- > From: McIntyre Don [mailto:dnmcin@xxxxxxxxx] > Sent: Friday, May 09, 2003 3:41 PM > To: RPG programming on the AS400 / iSeries > Subject: Calling RPGLE Program or Module from SQLRPGLE > > > I am having trouble calling a simple rpgle program > from an sqlrpgle module/program. I have several > modules beginning with lr101. This module(lr101) does > a callp to the sqlrpgle bld320 (pgm: Lrn320), when the > sqlrpgle module bld320 makes the call to the program > lrdlttch I get the error in the lr101 module on the > callp to bld320 (lrn320). > > The error is: Cannot resolve to object lrdlttch. Type > and Subtype X'0201' Authority > X'0000'. > > (lrdlttch is the program that I am trying to call from > within the bld320 sqlrpgle sub-procedure) > > I have tried making the lrdlttch program that I'm > trying to call, a standalone rpgle program using > *entry plist, then I made it an extpgm using > prototyping, and now made it a sub-procedure. I get > the same error in all 3 situations. > > I also tried creating a simple CL that just sends a > message, and tried calling it from the lrn320 module > with the same results. > > I have another similar > > Any clue? > > Thanks > Don McIntyre > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > _______________________________________________ > This is the RPG programming on the AS400 / 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.cgi/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 AS400 / 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.cgi/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.