-gen_entry_dcl [file-name]
-gen_entry_dcl foo.dcl
The declaration of the ENTRY in the calling routine is generated from the definition, and includes the attributes of all the parameters. This enables the compiler to check that arguments match corresponding parameters, and if not, convert the actual argument for each non-matching argument/parameter pair to a dummy argument. When compiled again with the generated declarations, the compiler can then issue warning diagnostics or, when conversion is not possible, issue severe diagnostics.