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


  • Subject: prototype parameters
  • From: "Ray, Adam" <aray@xxxxxxx>
  • Date: Tue, 13 Mar 2001 15:16:02 -0600

This is boggling my mind...

I have a prototype defined as follows:

DPRR50130         PR                  EXTPGM('PRR50130')
D p01                           30A                     
D p02                           90A                     
D p03                            9A                     
D p04                            8S 0                   
D p05                            8S 0

I am calling the program as follows:

C                   CALLP     PRR50130(prvds   : cptds   : CPTTHRU :
C                                      DOSFROM : DOSTHRU)

I get the following compile error:

*RNF7535 30    257 015200  The type and attributes of parameter 4 do not
match those
                           of the prototype.

*RNF7535 30    257 015200  The type and attributes of parameter 5 do not
match those
                           of the prototype.

The 2 parameters in error (DOSFROM and DOSTHRU) are from a Display file and
are defined there as follows:

A            DOSFROM        8S 0B 20 37
A            DOSTHRU        8S 0B 20 54

I don't understand why I'm getting this error message. It looks to me like
the type and attributes are the same.
Maybe I'm missing something. Can anyone help me?

- Adam

application/ms-tnef


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.