Page 1 of 1

identify CICS load vs IMS load

PostPosted: Mon Jun 03, 2013 3:06 pm
by srkmuthu
Is it possible to identify whether a load is CICS load or IMS/Batch load from its CSECT information? If so, what CSECT tells us that it is a CICS load and what CSECT tells us that it is IMS/Batch load?

Re: identify CICS load vs IMS load

PostPosted: Mon Jun 03, 2013 5:09 pm
by BillyBoyo
Are you using the integrated CICS translator in the COBOL compile? If so, there is a bit in one of the Compiler Information Bytes which will be set for that compiler option. Look at the Programming Guide to understand where the Compiler Information Bytes are held in the object code for your COBOL program.

Re: identify CICS load vs IMS load

PostPosted: Mon Jun 03, 2013 5:19 pm
by enrico-sorichetti
why not use a bit of ingenuity ...

find two modules which You know everything about ( a CICS one and an IMS one )
run an AMBLIST along the lines of
//IDR     EXEC PGM=AMBLIST
//SYSPRINT  DD SYSOUT=*
//SYSLIB    DD DISP=SHR,DSN=<YOUR LOAD LIBRARY>
//SYSIN     DD *
  LISTIDR DDN=SYSLIB,MEMBER=<YOUR LOAD MODULE NAME>


and find out Yourself about the differences