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
 

 

calling db2 in cics

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: calling db2 in cics
Reply with quote

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

Deepa.m
Warnings : 1

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Mon May 30, 2005 2:20 pm    Post subject: Re: calling db2 in cics
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    Post subject:
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    Post subject: Re: calling db2 in cics
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    Post subject:
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    Post subject: hi all
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    Post subject: version number concept regarding gds
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    IBMMAINFRAMES.com Support Forums -> DB2 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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm


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