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
 

 

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 CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
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