|
Here's my prototype: d WdwTmp pr extpgm('WDWTMP') d $wdwtmp_stdprm like($wdwtmp_stdds) d* Parameters used to call the window program d $wdwtmp_stdds e ds extname(stdintparm) d prefix($wdwtmp_) d $wdwtmp_hsas 1a d $wdwtmp_desc 45a StdIntParm = the name of a physical file Here's my CallP statement: c callp wdwtmp($wdwtmp_stdprm) The called program has the prototype /copy in it (shown above), and the PI statement has the data structure defined in it. This program compiles without a problem. But, when I try to compile the calling program, it tells me that $wdwtmp_stdprm isn't defined. When I scan for $wdwtmp_stdprm in the compiled source, it shows it defined in the D specs. Am I missing something? +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.