 |
The Question is:
I have a couple of Fortran programs that use
the CLI routines. They more or less follow
example 4-1 on page CLI-2 of the Utility Routines
Manual (June 2002 edition). The programs work
fine on VAX or Alpha but fail with a INVTAB,
"command tables have invalid format" error. I've
tried the example program form the manual, and
that fails with the same message. Should at least
the example still work on I64? (Note I've asked
this question in note 3387 of the VMS Conference
on DECUSserver and received several hints, but
I still haven't gotten the Fortran programs to work.)
The Answer is :
Because of a change in the object file formats on OpenVMS I64 the table
needs to defined as data, not as a routine. For example, if the name
of your CLD module is MYCLD use the following syntax:
FORTRAN
ATTRIBUTES EXTERN :: MYCLD
C
EXTERN MYCLD;
In C you'll also need to change the way the table is referenced in the
DCL$CLI_PARSE routine: DCL$CLI_PARSE (0, &MYCLD, ...);
|