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
 
Return statement 100 in SQL and Fetch statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
ramesh_21
Warnings : 2

New User


Joined: 17 May 2006
Posts: 3

PostPosted: Thu Jun 01, 2006 5:02 pm    Post subject: Return statement 100 in SQL and Fetch statement
Reply with quote

Hai,

I have executed an SQL stmt and the return code is 100

I have executed FETCH stmt and the return code is 100.

pl. explain the difference between the two cases.

with thanks
sai
Back to top
View user's profile Send private message

Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Tue Jun 06, 2006 3:11 pm    Post subject: Re: Return statement 100 in SQL and Fetch statement
Reply with quote

Explanation: One of the following conditions occurred:

o No row met the search conditions specified in an UPDATE or DELETE
statement.

o The result of a SELECT INTO statement was an empty table.

o A FETCH statement was executed when the cursor was positioned after
the last row of the result table.

o The result of the subselect of an INSERT statement is empty.

When a SELECT statement is executed using SPUFI, this SQLCODE indicates
normal completion. icon_smile.gif
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fetch Previous month & year in MM... girishb2 DFSORT/ICETOOL 3 Thu Sep 21, 2017 9:54 pm
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts ON 2 AND EVERY 1 - Statement ??? UmeySan COBOL Programming 2 Tue Jul 25, 2017 1:20 pm

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