|
|
Archives of the TeradataForum
Message Posted: Wed, 18 Aug 2004 @ 20:22:32 GMT
Subj: | | Re: PP2 to DB2 to Cobol Process |
|
From: | | Robert D Meunier |
One way you can handle the same COBOL program using two different preprocessors is to comment out one of the DBMS's SQL statements, run it
through the other DBMS's preprocessor, take the output from that preprocessor and un-comment the remaining DBMS's SQL statements and then run it
through the remaining preprocessor.
This isn't ideal, but it does work. However, utilizing two separate sub-programs as Fred suggested would be my first choice.
Robert Meunier
| |