I have a set of Online COBOL-CICS programs which have around 97 copybooks.. These copybooks have EXEC statements which are not getting translated as the copybooks are getting compiled only after translation... It is giving the follwing error:
IGYPS0228-S An "EXEC CICS" statement was found, but the "CICS"
compiler option was not in effect. The statement was discarded.
Can anybody tell me how to go abt this?
CICS translator can not resolve EXEC CICS statement present in copybooks as COPY statements are processed by compiler and it is step after the Translator, may be this is your problem.
Try to follow ofer's sugestion if you have enterprise cobol compiler in your shop otherwise manually copy all the copybooks in the source.
If your shop uses Panvalet for source management , use ++INCLUDE instead of COPY.
Do let know which of these ways work for you.
CICS translator can not resolve EXEC CICS statement present in copybooks as COPY statements are processed by compiler and it is step after the Translator, may be this is your problem.
Try to follow ofer's sugestion if you have enterprise cobol compiler in your shop otherwise manually copy all the copybooks in the source.
If your shop uses Panvalet for source management , use ++INCLUDE instead of COPY.
Do let know which of these ways work for you.
That is the exact problem that I am facing. I have to ask weather we have that enterprise COBOL compiler. If yes iu guess the problem will be solved. Thanks a lot guys! will keep u updated.
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
By chance, is this for VisionPlus/PaySys?
If so, they should be able to assist you.
The reason I ask is because they began using pre-translated (not compiled) copybooks in the late 1980's as the norm and store these translated copybooks in a separate copylib, which is then used in the SYSLIB concatenation step of a compile/assembly.
If some body could help me provide a jcl for compiling copybooks (precompiling). I searched a lot, but in vain.
Modify your existing JCL. Remove the translate step. Add the CICS compiler option to the Compiler step. I have given the link in my last post which tells more about integrated translator/compiler. Nobody will give you ready made JCL, you have to do it yourself as this whole process should take 5 mins.
If some body could help me provide a jcl for compiling copybooks (precompiling). I searched a lot, but in vain.
Modify your existing JCL. Remove the translate step. Add the CICS compiler option to the Compiler step. I have given the link in my last post which tells more about integrated translator/compiler. Nobody will give you ready made JCL, you have to do it yourself as this whole process should take 5 mins.
Hey thanks a lot! will try that out and let u know.
Modify your existing JCL. Remove the translate step. Add the CICS compiler option to the Compiler step. I have given the link in my last post which tells more about integrated translator/compiler. Nobody will give you ready made JCL, you have to do it yourself as this whole process should take 5 mins.[/quote]
Hey,
I followed the same methodology as said by you. I modified the existing JCL and precompiled the copybooks. They are working fine now. Thanks a lot!