 |
» |
|
 |
|
 |

Copyright (c) Digital Equipment Corporation 1992. All rights reserved
PRODUCT: VAX PLI OP/SYS: VMS
SOURCE: Digital Customer Support Center
VERSION INFORMATION:
Symptom Identified On: VAX PLI V3.n
SYMPTOM:
At runtime, a PLI program will fail with these error messages on line 1:
%PLI-F-ERROR, PL/I ERROR condition.
-PLI-F-AUTOINIT, Error in automatic initialization.
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name routine name line rel PC abs PC
000041EF 000041EF
ML ML 1 00000025 00000225
ANALYSIS:
The following program will exhibit the AUTOINIT error message when
STEPping to the first line of code in the debugger. The program was
compiled and linked:
$pli/noopt/debug ml
$link/debug ml
$run ml
ml: proc options(main);
dcl my_array(10) fixed bin(31) initial(0);
dcl i fixed bin(31);
do i = 1 to 10;
my_array(i) = i;
end;
end ml;
SOLUTION:
The initialization of the array causes the AUTOINIT error. It should be
corrected to: initial ((10) 0).
DIGITAL RESPONSE:
This issue has been elevated for further review.
|
buy online or call 1.800.AT.COMPAQ
|
|