Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In SPUFI suppose you want to select maximum of 1000 rows,
but the select returns only 200 rows. What are the 2
SQLCODEs that are returned?



In SPUFI suppose you want to select maximum of 1000 rows, but the select returns only 200 rows. Wh..

Answer / rajesh melwani

Spufi returns two SQLCODEs as following:
{1} Return code of query
{2} Return code based on limit of Spufi

In the above case, if rows returned are less than limit,
then SQLCODE will be +0 for {1} and +100 for {2}.

If rows fetched are more but because of Spufi limit only
few rows are displayed and +0 will be returned for {1} and
{2}.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More DB2 Interview Questions

What are the disadvantages of using VARCHAR?

3 Answers  


Which command is used to remove all rows from a table?

0 Answers  


how to resolve -818 error. how to see timestamp token in load module and plan

4 Answers   IBM,


Once you create a view, where would information about the view be stored?

1 Answers  


How would you print the output of an SQL statement from SPUFI?

2 Answers  


What is the purpose of coding FETCH in a SQL SELECT query? Explain with an example in Detail?

4 Answers  


What is role in db2?

0 Answers  


I use CS and update a page. Will the lock be released after I am done with that page?

2 Answers  


What's the difference between DB2 active log and archive log? Thanks a lot...

2 Answers   IBM,


Can there be more than one cursor open for any program?

0 Answers  


How is the SUBSTR keyword used in sql?

1 Answers  


Name some fields from SQLCA.

2 Answers  


Categories