[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | Digital Fortran |
Notice: | Read notes 1.* for important information |
Moderator: | QUARK::LIONEL |
|
Created: | Thu Jun 01 1995 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 1333 |
Total number of notes: | 6734 |
1333.0. "CDD once more, note 1212 more questions" by PRSSOS::DEGAGE () Fri Jun 06 1997 06:31
Hello,
When you read note 1212, the conclusion is : all records from CDD ( with or
whithout RDB records) are aligned like in CDD, that'is to say , are packed...
and even if you say FOR/ALIGN=RECORD=NATURAL , the DEC FORTRAN compiler does
not take care of it and maintains packed alignment .
Am I right or not ?
Further questions :
- one customer used to work with DEC FORTRAN 6.3-711 and said that with this old
version, the choice was possible ( like CDD or not like CDD)
now this customer uses version 7.1 of the compiler and no choice is possible
anymore
Is it true or not ?
- for other compilers ( like DEC C version 5.5 ), the choice is possible .
Why not with DEC FORTRAN ?
Thanks for your answers.
This cutomer is very annoyed with this behaviour of DEC FORTRAN because
they have a big application with DEC COBOL, DEC FORMS, DEC C, ORACLE RDB...
involved and only DEC FORTRAN has got this "one-way" behaviour.
Marielle Degage CSC France
T.R | Title | User | Personal Name | Date | Lines |
---|
1333.1 | I think DF77AV v7.1 is correct | TLE::WHITLOCK | Stan Whitlock | Fri Jun 06 1997 09:52 | 18 |
| DF77AV v7.1 fixed the processing of CDD record definitions brought in by the
DICTIONARY statement to obey whatever alignment property the record definition
had been given inside CDD. That's what you want: if the definition in the CDD
says the record is packed, then DF77 has to treat it as packed, even if the
compilation has been done with /ALIGN=RECORD=NATURAL.
Here's what the DF/AV v7.1 release notes say:
o Let DICTIONARY definitions use their own /ALIGN setting
(instead of forcing /ALIGN=RECORD=PACKED).
Is that fix what your customer is complaining about? Do they want DF77 to pad
the CDD record items to natural boundaries when the compilation is done
/ALIGN=RECORD=NATURAL even if the CDD definition says the record is packed?
The behavior in DF77AV v7.1 seems correct to me.
/Stan
|
1333.2 | | WIBBIN::NOYCE | Pulling weeds, pickin' stones | Fri Jun 06 1997 10:39 | 8 |
| > they have a big application with DEC COBOL, DEC FORMS, DEC C, ORACLE RDB...
The only way such an application can work is if all the products follow the
same rules, and lay out the data the same way.
CDD is the place where "the same way" is defined. Fortran was recently fixed
to follow the rules. Are you saying all the other products can lay out the
data differently from the way CDD specifies??
|