× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You need "Export" on your procedure interface "Begin" specification in order
for the other modules to find them.
P SomeProcedure   B                   Export   
D SomeProcedure   PI            10I 0         
D                               10    Value
D                               10    Value
... some stuff here
 * End of the procedure
P SomeProcedure   E    

You also need the Procedure Declaration:
D SomeProcedure  PR     
D  p_Parm1                      10    Value
D  p_Parm2                      10    Value
In the "D" specifications of any module where you are going to use the
procedure.




-----Original Message-----
From: Deepak Deshpande [mailto:deepak.deshpande@xxxxxxxxx]
Sent: Friday, May 09, 2003 10:00 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: ILE Procedure error


Hello,

I have one calling program SA203. It is using 2 procedures.
1. GetRefOrd - (Source code in member SA001)
2. GetOldWC - (Source code in member SA002)

I have created 3 modules, SA203, SA001 & SA002. But I can not create a
program. Following error occurs.

CRTPGM PGM(SADEEPAK/SA203) MODULE(SADEEPAK/SA203 SADEEPAK/SA001
SADEEPAK/SA002) TGTRLS(*CURRENT)
Definition not found for symbol 'SA001'.
Definition not found for symbol 'SA002'.
Program SA203 not created.

Thanks in advance.

Deepak Deshpande

_______________________________________________
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.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.478 / Virus Database: 275 - Release Date: 5/6/03
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.478 / Virus Database: 275 - Release Date: 5/6/03
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.