Elardus has given you good advice. In general, efforts of this sort should be confined to variables defined in the working-storage and---if unusually your shop is actually using it---local-storage sections.
Watch out too for REDEFINES and the use of pointers for aliasing, data-type punning, which is now possible in COBOL.. A word about your subject line too. For archival reference 'Unused COBOL variables' would have been much better. John Gilmore, Ashland, MA 01721 - USA ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
