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

Static Subroutine for CICS and BAtch programs


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ravindra.ap

New User


Joined: 18 Jul 2011
Posts: 3
Location: UK

PostPosted: Mon Jul 18, 2011 9:21 pm
Reply with quote

We have scenario where we need to fetch the data from oracle, we had written a static subroutine which as Exec CICS call to call a CICS program and that CICS program has got HTTPS call to fetch the data from oracle (refer attachement for the daiagram
). Can structure is defined in the below diagram,

Problem we are facing is that static subroutine being called by both Batch programs and online programs . Our batch program will execute fine when we use the below load libraries in the batch JCLs,
SYSCICSX.OX0CICS.V620.SDFHEXCI.B
SYSCICSX.OX0CICS.V620/V650.SDFHCOB.B
SYS1.SCEELKED
SYS1.SCEERUN

But our online CICS programs are failing with error message 'CSV003I REQUESTED MODULE DFHXCPRX NOT FOUND'.


Could you please advise if we include above load libraries to the CICS job will the CICS program goes fine? Any other solution to get the above requirement achieved will be much helpful and appreciated.

Many thanks in advance for your help.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Jul 18, 2011 9:24 pm
Reply with quote

You need to speak to your own site support for site specific problems.

What if I said "yes, no problems" and you then procede to wipe out a load of production data.
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: Mon Jul 18, 2011 9:41 pm
Reply with quote

Why as you issuing an EXCI LINK from a native CICS program?

EXCI is used to issue a DPL (Distributed Program Link) from Batch (The Client) to CICS (The Server).

You should be able to access Oracle directly from CICS without the need of EXCI or ECI for that matter.

The Oracle folks should supply with an interface and/or instructions on how to write an interface.

Bill
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Jul 19, 2011 1:15 am
Reply with quote

There's an old topic which might be worth you reading
ibmmainframes.com/about50376.html
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts How to get a stack trace on a looping... ABENDS & Debugging 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
Search our Forums:

Back to Top