SPUFI

Ask question on - DataBase Concepts, IBM Mainframe DB2, DB2/UDB, DB2 Tools, SQL , DB2 programming with languages like COBOL, PL1.

Moderators: Kalicharan, Moderator Group

Post Reply
Giri12
Member
Posts: 10
Joined: Thu Apr 09, 2009 12:37 pm
Location: Bangalore

SPUFI

Post by Giri12 » Thu Nov 12, 2009 10:07 am

In the SPUFI, there is a Select command to fetch first 300 records, but after executing the command, the screen is showing only 200 records. What might be the problem?
Hi

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Thu Nov 12, 2009 11:04 am

Please check input parameters that you are passing, before executing query in SPUFI. i.e., check the SPUFI screen, next screen that contain input parameter values.
Natarajan
Chennai

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Fri Nov 13, 2009 3:25 pm

Do you have 300 records(rows?) in table at first place?
Last edited by Anuj Dhawan on Sat Nov 14, 2009 5:01 pm, edited 1 time in total.
Regards,
Anuj

Giri12
Member
Posts: 10
Joined: Thu Apr 09, 2009 12:37 pm
Location: Bangalore

Post by Giri12 » Fri Nov 13, 2009 7:53 pm

Hi Anuj. This question was asked in one of the interview. Assume that the table has 300 records.
Hi

nrajini
Member
Posts: 23
Joined: Sun Oct 05, 2008 4:35 pm

Post by nrajini » Thu Nov 19, 2009 1:39 pm

Hi,

The problem could be MAX SELECT LINES ===> 200 ..in spufi default screen. So it displays only 200 rows even if u specify fetch first 300 rows.

Solution :
=======
In Spufi screen give CHANGE DEFAULTS = YES ; u will got to spufi default screen

There u will find max select lines ( 3rd row )
MAX SELECT LINES ===> 300 (Max lines to be return from SELECT)

U need to specify 300 , then per page it displays 300 records..
Regards,
Rajini

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu Nov 19, 2009 8:33 pm

then per page it displays 300 records
Ranjini,

computers require accuracy; discussions about computers requires accuracy, also

there are no records in db2, only ROWS

and how are you going to display 300 lines on a terminal.

you would have been better off just repeating what the panel says: max select lines
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others