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



Simon,

Interesting! I'm still using it on V5R1 and the compiler (ILE C/400) is not
issuing any warning messages about it being deprecated. Do you know what
utility is used to to generate the file structures?

Patrick


----- Original Message -----
From: "Simon Coulter" <shc@flybynight.com.au>
To: <midrange-l@midrange.com>
Sent: Sunday, January 20, 2002 11:34 PM
Subject: Re: Accessing externally described file in a C program


>
> Hello patrick
>
> You wrote:
> >1) you can have the C compiler put automatically create a structure for
> >the database file like this:
>
> >  #pragma mapinc("sesn", "alsrvr(*all)", "both key", "d")
> >  #include "sesn"
>
> Be warned that #pragma mapinc has been deprecated/removed in newer
> versions of the compiler (IIRC from 510 onwards).  IBM have provided a
> command/program to create a #include file based on the external file
> definition but that's just an ugly work-around.
>
> That's part of the downside to PASE.  AIX compilers can be ported easily
> so we get a 'more compatible' C compiler but we lose support for AS/400
> specific stuff.
>
> Regards,
> Simon Coulter.
>
> --------------------------------------------------------------------
>    FlyByNight Software         AS/400 Technical Specialists
>    http://www.flybynight.com.au/
>
>    Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
>    Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /
>                                                              X
>                  ASCII Ribbon campaign against HTML E-Mail  / \
> --------------------------------------------------------------------
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.