Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2004
    Posts
    24

    Unanswered: Java calls REXX Stored Procedure

    Hello,

    I'm using the DB2 Universal Driver Type 4 to connect from a Java program to a DB2 on z/OS Version 8 in CM mode. I have to call a REXX Stored Procedure that delivers two open cursors as resultsets. I'm not sure if these two open cursors are really resultsets. The meta data of the Stored Procedure say yes - i say no, these are not nativ resultsets. Whenever i call a method on one of these "resultsets" i get the lovly NullPointerException.
    My question is how can i associate these cursors in a Java program?
    I wouldn't ask this if i have not tried everything - please help.

    regards

    Marc Gaines

  2. #2
    Join Date
    Aug 2003
    Posts
    2
    Quote Originally Posted by disaster View Post
    Hello,

    I'm using the DB2 Universal Driver Type 4 to connect from a Java program to a DB2 on z/OS Version 8 in CM mode. I have to call a REXX Stored Procedure that delivers two open cursors as resultsets. I'm not sure if these two open cursors are really resultsets. The meta data of the Stored Procedure say yes - i say no, these are not nativ resultsets. Whenever i call a method on one of these "resultsets" i get the lovly NullPointerException.
    My question is how can i associate these cursors in a Java program?
    I wouldn't ask this if i have not tried everything - please help.

    regards

    Marc Gaines
    Hi Mark - did you get anywhere with this? I'm getting the same issue.
    Marcus

Posting Permissions

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