I need to find a way to support mainframe COBOL Teradata precompile. The standard COBOL compile fails when SQL is encountered. Below is the JCL used and the Precompile output. Teradata DB is licensed on a different CPU than where the precompile needs to be done. There must be a way to bypass the validating of SQL calls at precompile time?
You don't need to have a Teradata system connected to the mainframe where you do the compile, but you do have to start a TDP on that system. The TDP does not need to ATTACH or START any IFPs, it just has to initialize and build a global control block in CSA.
SQLCHECK(NOSYNTAX) does bypass the CONNECT at precompile time but the program initialization unfortunately always wants to validate the TDPID parameter you specify or determine the system default TDPID - even if it never connects using that ID.