Re: Question regarding uniqueness
- From: "William M. Klein" <wmklein@xxxxxxxxxxxxxxxxx>
- Date: Sat, 28 Jul 2007 03:33:02 GMT
You can ignore my last post (which was a different change). The change that
relates to this is in the '02 Standard, page 827 which states,
"67) Implicit qualification of data-names within the same group. Data-names
referenced in a data description entry need not be qualified when they are
defined in the same group as the subject of the entry, unless qualifiers are
needed to establish uniqueness within that group."
--
Bill Klein
wmklein <at> ix.netcom.com
"Roger While" <simrw@xxxxxxxxxxxx> wrote in message
news:f8cm2c$vpa$00$1@xxxxxxxxxxxxxxxxxxxx
IDENTIFICATION DIVISION.
PROGRAM-ID. t11.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 K525-AII-DRVR-RSTRT-DATA.
03 VARIABLE1 PIC X(8) VALUE SPACES.
03 K525-FRMT-FILE-ARRAY.
06 K525-FRMT-FILE-ARRAY-ROW
OCCURS 6 TIMES
ASCENDING KEY IS VARIABLE1.
09 VARIABLE1 PIC X(8) VALUE SPACES.
09 OTHER-DATA-ITEM PIC S9(5).
PROCEDURE DIVISION.
GOBACK.
This compiles with big iron and MF.
Why?
Of course, this is a stupid definition.
Any attempt in the PROC div to reference any field
would lead to a compile failure.
OC throws this out at compile time.
.
- References:
- Question regarding uniqueness
- From: Roger While
- Question regarding uniqueness
- Prev by Date: Re: Question regarding uniqueness
- Next by Date: Re: Code problems with Perform Thru Exit causes fall through
- Previous by thread: Re: Question regarding uniqueness
- Next by thread: Mainframe developer required immediately - permanent position - Dublin Ireland
- Index(es):
Relevant Pages
|
|