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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Define declaration generator (dclgen).

1170


What is dbrm library?

1112


What is bufferpool in db2?

1093


What is the use of with ur in db2?

1108


What is the use of commit in db2?

1138


Name the lockable units in DB2?

1184


What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?

1232


What is db2 catalog database?

1087


What are the various isolation levels possible?

1177


What is the syntax for FETCH in DB2 ?

1263


What is the role of data manager in the db2 database?

1154


How many databases can be created inside an instance in db2 ?

1084


How is a typical db2 batch pgm executed?

1221


How to restart a DB2 program?

1953


How do we specify index to include or not during bind process.

2172