-vax コンパイラ オプションを使用する場合はデフォルトで有効になります。
この例の -proto では、次の診断が生成され、インクルードされたエントリ宣言と実際のプロシージャ宣言の間の一致しない宣言がコンパイラで認識されるようになります。
MFPLI00256W : Parameter "A" type conflicts with the parameter type and/or attributes declared in the EXTERNAL ENTRY declaration for the same PROCEDURE
myproc.dcl ------------ declare myproc external entry( fixed binary(31), fixed binary(15), fixed binary(15)); myproc.pli ------------ %include 'myproc.dcl'; myproc: procedure(a,b,c); declare a fixed binary(15); / * mismatch with “myproc.dcl” */ declare b fixed binary(15); declare c fixed binary(15); end; callmypr.pli ------------- callmypr:proc; %include 'myproc.dcl'; call myproc (1,2,3); end;