Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2504
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 FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm
No new posts Need to track the CICS transaction fr... sam8051 CICS 3 Mon Aug 07, 2017 3:11 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us