Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2014
    Posts
    7

    Unanswered: Error with cgnos and db2

    Getting below error when one of the user is trying to run a report from cognos:

    CNC-ASV-0025 Agent Condition invalid: RQP-DEF-0177 An error occurred while performing operation 'sqlPrepareWithOptions' status='-9'. UDA-SQL-0107 A general exception has occurred during the operation "prepare". [IBM][CLI Driver][DB2/NT] SQL1585N A system temporary table space with sufficient page size does not exist. SQLSTATE=54048

    however I have an 32K pagesize temp tablespace.

    When I run the query seperately through commandeditor it is giving the result. Am I missing anything?

  2. #2
    Join Date
    Apr 2012
    Posts
    1,035
    Provided Answers: 18
    Ensure that you have a systemp tablespace for each page size.
    Also ensure that the authid being used is able to access these tablespaces.

  3. #3
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    a tempspace for each pagesize is not needed
    at least have one for 32k - so you are safe in most cases
    maybe a user temspace is needed
    syntax on this page
    http://www-01.ibm.com/support/knowle...-7-102&lang=en
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  4. #4
    Join Date
    Jul 2013
    Location
    Moscow, Russia
    Posts
    666
    Provided Answers: 55
    Does your statement have parameters?
    Regards,
    Mark.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •