× 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: Prototype *ENTRY PLIST
  • From: bmorris@xxxxxxxxxx
  • Date: Fri, 8 Sep 2000 09:43:30 -0400
  • Importance: Normal


>Date: Thu, 7 Sep 2000 14:49:14 -0700
>From: jerickson@800.com
>
>d Psc000        e ds                  ExtName(Oeps00) Based(pPsc000)
> ...
>d Oe1007ri10      pi
>d  OePsc000                           Like(Psc000)
>...
>d pPsc000         s               *   Inz(%Addr(Oepsc000))
>...
>
>*RNF7306 20        007700  The initial value for pointer field PPSC000 is
>not valid.
> ...

Jon, the address of a parameter isn't a constant value, so you can't
use it for initialization.  You'll have to use C specs to assign the
basing pointers.

Otherwise, what you're doing is fine.

Whenever you don't understand an error message, try compiling with
OPTION(*SECLVL) (it's available for all the CRT commands that produce
a listing).  It gives the full text of the error message in the
message summary section at the bottom of the listing.

Here's RNF7306:

The initial value for a pointer field is not valid.
  Cause . . . . . :   A basing-pointer field in static
    storage cannot be initialized with a non-constant
    address.  Fields with a non-constant address are:
    - entry parameters (a parameter in the *ENTRY PLIST, or a
      parameter in the procedure-interface definition)
    - fields in automatic storage
    The initial value for the field is ignored.
  Recovery  . . . :   Change the initial value of the basing
    pointer. Compile again.
  Technical description . . . . . . . . :   All fields
    defined in the main procedure are in static storage.
    Fields in subprocedures are in automatic storage unless
    the STATIC keyword is used on the definition of the field.

Barbara Morris


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


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.