IBM Support

PM44149: DSNT408I SQLCODE = -501, ERROR: THE CURSOR IDENTIFIED IN A FETCH OR CLOSE STATEMENT IS NOT OPEN

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the -CSTMT n statement on a DB transaction on the
    z/OS platform, after the map has finished, you may find the
    following error in the SYSPRINT queue:
    
     Error in: CLOSE
    +
     SQLCODE : -501
    +
     SQLSTATE: 24501
    +
     MESSAGE :
    0 DSNT408I SQLCODE = -501, ERROR:  THE CURSOR IDENTIFIED IN A
    FETCH OR CLOSE STATEMENT IS NOT OPEN
    DSNT408I SQ
     LCODE = -501, ERROR:  THE CURSOR IDENTIFIED IN A FETCH OR CLOSE
    STATEMENT IS NOT OPEN
    
    This ONLY occurs after the DBRM and the package are re-bound
    with the KEEPDYNAMIC(YES) specified on both.
    
    (Without the re-bind, a -514 would be encountered after 'n'
    rows)
    

Local fix

  • WTXCQ - WTX00038108
    PB / PB
    Circumvention: None
    

Problem summary

  • Users Affected:
    WebSphere Transformation Extender customers using DB2 adapter on
    z/OS
    
    Problem Description:
    The example DTXBIND does not include KEEPDYNAMIC(YES) keyword.
    The adapter fails with the error that follows:
    DSNT408I SQLCODE = -518
    
    Platforms Affected:
     OS_Batch(32 BITS)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM44149

  • Reported component name

    WTX COMMON COMP

  • Reported component ID

    5655R9500

  • Reported release

    830

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-07-21

  • Closed date

    2011-09-27

  • Last modified date

    2012-02-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WTX COMMON COMP

  • Fixed component ID

    5655R9500

Applicable component levels

  • R830 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSD8","label":"IBM Transformation Extender"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"830","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"830","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
03 February 2012