× 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: Storage Initialization
  • From: "Leif Svalgaard" <leif@xxxxxxxx>
  • Date: Wed, 6 Dec 2000 16:06:59 -0600

From: <Gene_Gaunt/ReviewWorks@reviewworks.com>
To: <MI400@midrange.com>
Sent: Wednesday, December 06, 2000 3:34 PM
Subject: RE: Storage Initialization
> Extrapolate this thought:
>
> MORE-FLAGS value X'10' means use the 'seperate indicator area' pointer at
> POS(H'61').
> MORE-FLAGS value X'80' means use the 'acquire program device control block'
> pointer at POS(H'71').
> MORE-FLAGS value X'40' means use the 'next UFCB' pointer at POS(H'51')?
> Maybe MORE-FLAGS value X'00' instead of X'40' will fix the problem.

the value of MORE-FLAGS was x'04' not x'40'. Gene, the code you are
looking at actually came from my old SCRNIO program which was carried
over from S/38. You may remember that I used that program when I gave
MI-classes back in 1990 in Amarillo. SCRNIO has been used in production
by hundreds of installations since 1989, but was recomplied at PentaSafe
in 1999. Maybe the meanings on the MORE-FLAGS have changed slightly
over time. If you list the MI-code produced by RPG today, you'll see this
declaration of MORE-FLAGS (including the comments):

DCL DD .UFCBFLG2 CHAR(1) DIR /* FLAGS */
/*BIT 0 COUNT INVOC MARKS */
/*BIT 1 TAPE CLOSE PARMS */
/*BIT 2 MULTIRCD SPECIFIED */
/*BIT 3-7  UNSED */     (sic)

somewhat different from what you have.
I don't know what the correct settings should be.
In my newest version of SCRNIO more-flags is
set to x'00'.



+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.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.