Results 1 to 3 of 3

Thread: Sqlcode -922

  1. #1
    Join Date
    Oct 2002
    Posts
    11

    Unanswered: Sqlcode -922

    CICS-COBOL-DB2 application, which we have developed new, we are getting the error sqlcode = -922.

    Here we are fetching data from DB2 table. (only select statement)

    We have created plan and package for the programs.

    What could be the cause of error, do we require some settings at CICS level or grant previledges for DB2 objects ?

    DB2 manual says its Authorization failure.

    Thanks & Regards

    Ashtyu

  2. #2
    Join Date
    Nov 2003
    Location
    Germany
    Posts
    62
    Hi

    What is the reason code associated with this SQLCODE? I suppose, the person, who wants to execute that plan, does not have the execute privilege for it.

  3. #3
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    If you have not used CICS/DB2 before, you need to look at setting up the RCT table in CICS to establish the DB2-CICS attach.

    For starters (and to find other references) refer to the DB2 Administration Guide, CICS design options.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

Posting Permissions

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