× 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: Sources for External Data Structures
  • From: "Roger Vicker, CCP" <rvicker@xxxxxxxxxxxxx>
  • Date: Mon, 23 Jun 1997 13:08:32 -0500
  • Organization: Vicker Programming

Greetings,

I would like to drum up some support for a change in how the RPG
(III/IV/ILE) compilers handle external data structure definitions.
Currently, you can only effectively reference a *PF or *LF. If you
reference a *PRTF it will compile but tell you:
+----------------------------------------------------------------------------------+
:                               Additional Message
Information                        :
:                                                                               
:   :
:  Message ID . . . . . . : RNF3530       Severity . . . . . . . :
00              :
:  Message type . . . . . :
Diagnostic                                                 :
:                                                                               
:  
:
:  Message . . . . :   Data structure has no valid
subfields.                      :
:  Cause . . . . . :   The data structure does not have any valid
subfields.       :
:    Since a length has been specified for the data structure, the
definition is   :
:   
accepted.                                                                    
:
:  Recovery  . . . :   Specify valid subfields for the data structure.
Compile     :
:   
again.                                                                       
:
+----------------------------------------------------------------------------------+
and it will not bring any field definitions (even if your are
referencing them. Ex. INZ) into the program.

>The EXTNAME keyword is used to specify the name of the file which contains the 
>field descriptions used as the subfield description for the data structure 
>being defined.
The v3r7 CD-ROM does not mention any restrictions on this for ILE.
 
Please let IBM (Hans are you still following the list?) know that RPG
<SHOULD> accept any type of externally described file and pull in the
field definitions. I know this is not a major item but is in the same
line as being to rename fields for an *OUTPUT only file. It would make
some things much easier or clearer.

TIA 

Roger Vicker, CCP

-- 
*** Vicker Programming and Service *** Have bits will byte ***
Lynch's Law: When the going gets tough, everybody leaves.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


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.