IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

CICS precompiler option used in Non CICS program


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
akodakka

New User


Joined: 20 May 2010
Posts: 75
Location: India

PostPosted: Sat Feb 26, 2011 1:16 am
Reply with quote

Hi All

I have scenario like this

PROG A ------call -----PROG B { PROG A is a cics & PROG B is non cics)

I did some changes in PROG B & copiled with a CICS precompiler option and loaded. But the program gave ASRA during processing and the load was a big failure.

I am sharing this knowledge and please let me know if you think this is a wrong assumption
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Sat Feb 26, 2011 2:13 am
Reply with quote

Hello,

Suggest you look at your compile/link for the program and the compile/link of some other called program that works. . .
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Sat Feb 26, 2011 3:38 am
Reply with quote

If it's a CALLED sub-program from a CICS program and the sub-program does NOT contain ANY CICS commands or references (I'm sure there must be internal program comments), then it needs to be compiled as if it were a Batch program and linked into a Load Lib, which is shared by both Batch and CICS or, into the CICS Load Lib itself.

Multi-purpose programs are very common in many shops (allows programs to be used in both Batch and CICS), so you need to familiarize yourself with this concept.

Bill
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts CICS - Resource limiting using omegam... CICS 0
No new posts Upgrade CICS TS to 6.2: authorization... CICS 0
No new posts PL/1 SEND CICS MAP first time, attrib... CICS 6
No new posts CICS UCTRAN=NO not working, need syst... CICS 3
No new posts CICS-Db2 connection issue CICS 1
Search our Forums:


Back to Top