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: 7251

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 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
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm


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