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

What is the syntax for FETCH in DB2 ?

907


What is a Foreign Key?

853


How do I import a csv file into db2?

743


What is the result of open cursor statement?

823


What does db2 mean?

772


What is a dbrm in db2?

746


Mention the location where the output received from explain statement is stored.

848


What os does db2 run on?

747


What is runstats utility in db2?

759


What is a bind in db2?

768


What is the physical storage length of the data types date, time, and timestamp?

857


What is the maximum number of columns in a db2 table?

979


What is db2 purescale?

759


How can deadlocks be resolved?

727


What are db2 tables?

853