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
 
some questions in db2.

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

New User


Joined: 15 Feb 2004
Posts: 8

PostPosted: Thu Mar 18, 2004 11:03 am    Post subject: some questions in db2.
Reply with quote

hi,

plse answer the following questions

1.diff. between Repeatable Read(RR) and Cursor Steablity(CS)

2.what is TWO PHASE COMMIT.

3. hoe to see the alternative rows of a table(ie 1,3,5,7,etc).
Back to top
View user's profile Send private message

mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
Location: USA

PostPosted: Thu Mar 18, 2004 2:52 pm    Post subject:
Reply with quote

Hello elayarajack,

1) Diff. between Repeatable Read(RR) and Cursor Steablity(CS)

2) TWO PHASE COMMIT
This occurs when a programmer Issues a Exec CICS Syncpoint command. This is called two phase because CICS will first commit changes to the resources under its control like VSAM files and the DB2 changes are committed. Usually CICS signals DB2 to complete the next phase and release all the locks.

3) Display alternate rows of a table

Hope this helps,

Regards
Mayuresh Tendulkar
Back to top
View user's profile Send private message
Ananya

New User


Joined: 26 Feb 2004
Posts: 19
Location: Chennai

PostPosted: Thu Mar 18, 2004 5:10 pm    Post subject:
Reply with quote

Dear ,

Here is the query. try working out.

FOR ODD NUMBERS (1,3,5,7,....)

SELECT E, EMP.* FROM
(SELECT ROWNUM E, EMP.* FROM EMP) EMP
WHERE MOD(E,2)=1

FOR EVEN NUMBERS(2,4,6,8,.....)

SELECT E, EMP.* FROM
(SELECT ROWNUM E, EMP.* FROM EMP) EMP
WHERE MOD(E,2)=0


HOPE I HAVE ANSWERED UR QUERY 8)
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 Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts SAS Programming - Basic Questions Techelm All Other Mainframe Topics 3 Fri Mar 18, 2016 10:53 pm
No new posts Where can i find Interview questions ... Elixir Mainframe Interview Questions 4 Sat Feb 20, 2016 12:38 am

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