Jump to page titleUNITED STATES
hp.com home products and services support and drivers solutions how to buy
» contact hp

:

more options
 

hp.com home
End of Jump to page title
[DEC PL/I,VAX PL/I] PLI$STARLET.TLB Modules and Natural Alignment
Jump to content



» 

business support center

Home & Home Office Support:
» HP branded products
» Presario branded products
» Services & Warranties
Small & Medium Business Support:
» Small & Medium Business products
» Small & Medium Business services
Support for IT Professionals:
» Enterprise products (IT Resource Center)
» NonStop enterprise products
» Business & IT Services
Content starts here
Copyright (c) Digital Equipment Corporation 1996, 1998. All rights reserved.

PRODUCT:  DIGITAL DEC PL/I for OpenVMS Alpha, Version 4.0A-1
          DIGITAL VAX PL/I, Version 3.5-124

OP/SYS:   DIGITAL OpenVMS Alpha, Version 6.2
          DIGITAL OpenVMS VAX, Version 6.2

SOURCE:   Digital Equipment Corporation


SYMPTOM:

The PL/I compiler uses packed alignment by default.  The /ALIGN qualifier
(or the /DATA qualifier for DEC PL/I for OpenVMS Alpha) may be used to
specify the alternative natural alignment.

Some of the include modules in SYS$LIBRARY:PLI$STARLET.TLB declare
structures which have a different layout than what was intended if
compiled with natural alignment.  For example:

    $ TYPE test.pli
    %include $fabdef;
    test : procedure options(main);
        declare 1 fab like fabdef;
        put edit('size(fab) = ', size(fab))(a,f(3),skip);
    end test;
    $ PLI test
    $ LINK test
    $ RUN test
    size(fab) =  80
    $ PLI/align test      ! or, OpenVMS Alpha only, $ pli/data test
    $ LINK test
    $ RUN test
    size(fab) = 104


DIGITAL RESPONSE:

UniPrise[TM] Engineering has acknowledged this problem and plans to
address it in a future release.


WORKAROUND:

Check if the build procedures uses the /ALIGN or /DATA qualifiers.
Compile with the default packed alignment instead.


[TM]  UniPrise and the UniPrise logo are trademarks of UniPrise Systems
      Incorporated.

All other trademarks and registered trademarks are the property of
their respective owners.


buy online or call 1.800.AT.COMPAQ
privacy statementusing this site means you accept its terms