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.

Simon Coulter.

   FlyByNight Software         AS/400 Technical Specialists

   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /
                 ASCII Ribbon campaign against HTML E-Mail  / \

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