[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: invalid expression on USAGE POINTER item
From: |
J Leslie Turriff |
Subject: |
Re: error: invalid expression on USAGE POINTER item |
Date: |
Mon, 15 May 2023 11:16:33 -0500 |
User-agent: |
KMail/1.9.10 |
On 2023-05-15 10:45:24 Ron Norman wrote:
> The group item has a USAGE which is applied to subfields with no USAGE.
>
> Cheers,
> Ron Norman
>
> > On May 15, 2023, at 11:42, James K. Lowden <jklowden@schemamania.org>
> > wrote:
> >
> > On Mon, 15 May 2023 08:29:13 -0400
> >
> > Ron Norman <rjn@inglenet.com> wrote:
> >> Microfocus Cobol does accept this and works as if C-W is a POINTER.
> >
> > Interesting. ISO doesn't allow it.
> >
> > What is the MF rule? That the USAGE of any name, if missing, can be
> > inferred from the one before it, if at the same level?
> >
> > If so, does that hold for the PICTURE, too?
> >
> > --jkl
Ah, yes; I didn't notice that. From z/OS Language Reference 6.2:
|"When specified at the group level, the USAGE clause applies to each
elementary item in the
group. The usage of elementary items must not contradict the usage of a group
to which the
elementary items belongs.
Leslie
--
Platform: Linux
Distribution: openSUSE Leap 15.4 (x86_64)
I/O operation failed for file
/home/leslie/.trinity/share/apps/kmail/SystemIDs/SystemID.txt:
I/O operation failed for file /usr/local/etc/SystemID.txt:
ERROR:13 Permission denied
- error: invalid expression on USAGE POINTER item, Michael Potter, 2023/05/14
- Re: error: invalid expression on USAGE POINTER item, J Leslie Turriff, 2023/05/15
- Re: error: invalid expression on USAGE POINTER item, Ron Norman, 2023/05/15
- Re: error: invalid expression on USAGE POINTER item, Simon Sobisch, 2023/05/15
- Re: error: invalid expression on USAGE POINTER item, Michael Potter, 2023/05/15
- Re: error: invalid expression on USAGE POINTER item, Michael Potter, 2023/05/20
- Re: [GnuCOBOL-Dev] error: invalid expression on USAGE POINTER item, Ron Norman, 2023/05/22
Re: error: invalid expression on USAGE POINTER item, James K. Lowden, 2023/05/15