It would not be compatable with your current source, but have you considered using the C compiler's "preprocessor"? You use it's "macro" capability, run the original COBOL code through it, then run the resulting output through the COBOL compiler? The C preprocessor is relatively simple and I cannot think of a C compiler which does not support it. So you should be able to use a C preprocessor on z/OS, and UNIX, and Linux, and Windows to preprocess your COBOL code.
Another possibility <shudder> would be to look at the "m4" macro language. It is on z/OS and almost all UNIX variants (including Linux, of course). You can get it for Windows as well. http://www.gnu.org/software/m4/ http://www-03.ibm.com/servers/eserver/zseries/zos/unix/bpxa1ty1.html -- John McKown Senior Systems Programmer HealthMarkets Keeping the Promise of Affordable Coverage Administrative Services Group Information Technology The information contained in this e-mail message may be privileged and/or confidential. It is for intended addressee(s) only. If you are not the intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication is strictly prohibited and could, in certain circumstances, be a criminal offense. If you have received this e-mail in error, please notify the sender by reply and delete this message without copying or disclosing it. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

