I am trying to call a pure DB2 program from IMSDB2 program.
At the time of first query in the called program(Pure DB2) i am getting SQLCODE of -927. I have calling program compiled with IMS/DB2 processor group and called program with DB2 processor group in ENDEVOR.
I have my JCL setup to process IMS/DB2 then why am i getting error only in the called module? is there any other JCL changes required? Can any one help me?
When I compile the called program also with IMSDB2 processor group, I am not getting this error.