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
 
How do we handle tables in CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
lekshmi_ci

New User


Joined: 14 Mar 2007
Posts: 60
Location: Thiruvananthapuram

PostPosted: Tue Jun 12, 2007 9:57 am    Post subject: How do we handle tables in CICS
Reply with quote

How do we handle tables in CICS.
Is there any manuals available?
Back to top
View user's profile Send private message

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Jun 12, 2007 10:11 am    Post subject:
Reply with quote

Which tables you are referring?
FCT
TCT
PCT
DCT
RCT
Back to top
View user's profile Send private message
lekshmi_ci

New User


Joined: 14 Mar 2007
Posts: 60
Location: Thiruvananthapuram

PostPosted: Tue Jun 12, 2007 10:19 am    Post subject:
Reply with quote

No...I just wanted to know the general commands used in a CICS DB2 program.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Jun 12, 2007 10:35 am    Post subject:
Reply with quote

Still your question is not clear.

Are you asking what are the possible SQL statements used in CICS/DB2 program?
Back to top
View user's profile Send private message
lekshmi_ci

New User


Joined: 14 Mar 2007
Posts: 60
Location: Thiruvananthapuram

PostPosted: Tue Jun 12, 2007 10:41 am    Post subject:
Reply with quote

Yes, The possible SQl statements used iin a DB2 pgm.
Eg: To read a record from the table,write a record,update,delete.
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Tue Jun 12, 2007 10:46 am    Post subject:
Reply with quote

Use the regular EXEC SQL END-EXEC blocks to code your SQL statements. DB2 code remain as that for a cobol program, the implementation part(CAF) is transparent to application programmer.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Jun 12, 2007 10:47 am    Post subject:
Reply with quote

DECLARE CURSOR
OPEN CURSOR
CLOSE CURSOR
FETCH

SELECT
INSERT
DELETE
UPDATE

COMMIT
ROLLBACK

For syntax you can refer to manuals..
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 147
Location: Columbia, MO

PostPosted: Tue Jun 12, 2007 9:10 pm    Post subject: Re: Handling tables in CICS
Reply with quote

I highly recommend Murach's DB2 For the COBOL Programmer, Part 2. There is an excellent example of a CICS program used to access a DB2 table for Add, Change and Delete transactions.

www.murach.com

They also have a book called CICS for the COBOL Programmer and a CICS Desk Reference. They have saved my rear end on several occasions.
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 -> CICS 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