× 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: Re: Getting the field attributes of a subfile record
  • From: email@xxxxxxxxxxxxxxxxxxx (James W Kilgore)
  • Date: Thu, 04 Feb 1999 10:45:08 -0800
  • Organization: Progressive Data Systems, Inc.

Gads, I hate when this happens but a little voice said "redbooks ... redbooks"

I searched a dusty shelf of old RedBooks and found "Writing SAA Applications for
AS/400" GG24-3438 March 1990.

Now I've never done this, but in section 4.4.2 Indicators:

"If the file level keyword INDARA is specified in the DDS, all indicators 
defined
in the record format(s) for the file are passed to and from the program in a
separate indicator area, not in the record area."

<<snip>>

"If the INDARA in not specified, the indicators are included in the record area
of the I/O buffer. ..... The application programmer does not have to worry about
mapping these fields into additional variables defined within the program.  For
programmer productivity, this is a big bonus."

Their words, not mine. :-)

This may be a way of retrieving the indicator settings, don't know, never been
there.

James W. Kilgore
email@James-W-Kilgore.com

david.kahn@gbwsh.mail.abb.com wrote:

> Chandan Singh <SCHANDAN@INDIA.MASTECH.COM> wrote:
>
> >I am delighted seeing such a wonderful working solution. Thank You.
> >But at the same time I am also interested in knowing is there is any
> >system supported data structure for the same purpose.
>
> Chandan,
>
> Sorry, not as far as I know.  :-(
>
> Dave Kahn, ABB Steward Ltd.
>

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


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.