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

calling db2 in cics


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
knpk_prem

New User


Joined: 30 May 2005
Posts: 9

PostPosted: Mon May 30, 2005 12:39 pm
Reply with quote

how do call db2 program in cics....
Back to top
View user's profile Send private message
Deepa.m

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Mon May 30, 2005 2:20 pm
Reply with quote

you can use XCTL incase you don't want to return back or LINK if you want to returnback to the calling program

EXEC CICS LINK
PROGRAM (xxxxxxxx)
COMMAREA (xxxxxxxxx)
LENGTH (xxxxxxxxx)
RESP (xxxxxxxxx)
END-EXEC
Back to top
View user's profile Send private message
vasanthanc

New User


Joined: 01 Apr 2005
Posts: 58

PostPosted: Mon May 30, 2005 2:21 pm
Reply with quote

what do you mean by a db2 program? a cobol program retrieves db2 data or a stored procedure icon_question.gif
Back to top
View user's profile Send private message
knpk_prem

New User


Joined: 30 May 2005
Posts: 9

PostPosted: Tue May 31, 2005 10:24 am
Reply with quote

hi deepa ,
thanks for ur reply.

prem.
Back to top
View user's profile Send private message
senthilkumar selvaraju

New User


Joined: 30 May 2005
Posts: 16

PostPosted: Wed Jun 01, 2005 12:20 pm
Reply with quote

Hi prem,

You mean online porgram with DB2 query right?.... For this situation, we dont have any change in syntax for calling because it's only related with cics and application program.
Back to top
View user's profile Send private message
mkiranmai
Warnings : 1

New User


Joined: 31 May 2005
Posts: 5
Location: hyd

PostPosted: Sat Jun 04, 2005 3:35 pm
Reply with quote

how can i call a c program using cobol.
plz help me out
Back to top
View user's profile Send private message
mkiranmai
Warnings : 1

New User


Joined: 31 May 2005
Posts: 5
Location: hyd

PostPosted: Sat Jun 04, 2005 3:37 pm
Reply with quote

i need info about version number concept in the creation of gds
plz help me out
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 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