Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us