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
 

 

Static Subroutine for CICS and BAtch programs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Static Subroutine for CICS and BAtch programs
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: 8593
Location: Back in jolly old England

PostPosted: Mon Jul 18, 2011 9:24 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Mon Jul 18, 2011 9:41 pm    Post subject: Reply to: Static Subroutine for CICS and BAtch programs
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Tue Jul 19, 2011 1:15 am    Post subject: Reply to: Static Subroutine for CICS and BAtch programs
Reply with quote

There's an old topic which might be worth you reading
http://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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm


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