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



why is complier not able to recognize that factor 2 on 'CALLP  genChgA(ix)' 
statement is an array of procptr?  What did I do wrong?  Other than using 
CALLB, is there a better way to go around it.  

Partial program list: 

D  genChg1        pr                                                   
D  genChg2        pr                                                   
D  genChg3        pr                                                   
                                                                       
 * -- procedure pointer -----------------------------------------      
D genChgDs        ds                                                   
D  genChg1Ptr                     *   procptr inz(%paddr('genChg1'))   
D  genChg2Ptr                     *   procptr inz(%paddr('genChg2'))   
D  genChg3Ptr                     *   procptr inz(%paddr('genChg3'))   
D  genChgA                        *   dim(3) procptr overlay(genChgDS) 
                                                                       
D ix              s              1s 0              
                                                   
C     *entry        plist                          
C                   parm                    ix     
                                                   
C                   callp     genChgA(ix)          
                                         

Complier error: *RNF5410 30     21 006150  The prototype for the call is not 
defined.          


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.