Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

CICS precompiler option used in Non CICS program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: CICS precompiler option used in Non CICS program
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

Site Director


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

PostPosted: Sat Feb 26, 2011 2:13 am    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Sat Feb 26, 2011 3:38 am    Post subject: Reply to: CICS precompiler option used in Non CICS program
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us