Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
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
References
PostPosted: Mon May 30, 2005 12:39 pm    Post subject: Re: calling db2 in cics Reply with quote

Deepa.m
Warnings : 1

Active User


Joined: 28 Apr 2005
Posts: 88

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

Active User


Joined: 01 Apr 2005
Posts: 59

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

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1