Learning CICS + DB2. Program works but it is getting long and ugly. Figured I could shove the common paragraphs that have EXEC CICS and EXEC SQL into a copybook and reuse them.
Tried COPY, INCLUDE, even ++INCLUDE. Compile either ignores it or blows up in the precompiler step. Shop JCL still does DSNHPC then DFHECP1$ then IGYCRCTL.
Is putting executable CICS/SQL in a copybook even a thing people do, or am I fighting the wrong fight?