I am trying to bind a MVS Cobol with DB2 to an AIX database and I got this when binding the package. I can select the table thru SPUFI using the id FRF1TAY. Also, I had successfully bound another vendor package which handles only dynamic SQL and is working. Any helps will be appreciate. Thanks in advance.
READY
DSN SYSTEM(DB2A)
DSN
BIND PACKAGE ( PR0YPT01.FRPP900B) ACTION
RELEASE ( COMMIT ) ISOLATION ( CS ) VALIDAT
LIBRARY ( 'FRP1EKK.DBRMLIB' ) MEMBER ( FRPP
ERROR ( NOPACKAGE ) CURRENTDATA ( NO )
DSNT271I -DB2A THE FOLLOWING SQLCA INFORMATION WAS RETURNED FROM
SQLRPRIV
SQLCODE = -551
SQLSTATE = 42501
SQLERRMT = FRF1TAY SELECT IPSR0T00.PS_BUS_UNIT_TBL_GL
SQLWARN 0= ,1= ,2= ,3= ,4= ,5= ,6= ,7= ,8= ,9= ,A=
STATEMENT= 335
DSNT270I -DB2A THE FOLLOWING SQLCA INFORMATION WAS RETURNED FROM
SQLJSBND
SQLCODE = -917
SQLSTATE = 42969
SQLERRMT =
SQLWARN 0= ,1= ,2= ,3= ,4= ,5= ,6= ,7= ,8= ,9= ,A=
DSNT233I -DB2A UNSUCCESSFUL BIND FOR
PACKAGE = PR0YPT01.FRPP900B.FRPP900B.()
DSN
END
READY
END
Quote:
Originally posted by Rick-dba
I know it is possible to perform remote UDB database calls through mainframe Cobol.... Is that what you are trying to do? If so, Cobol on mainframe must perform a remote bind on UDB.
We got it working once a few years ago, but killed the project - If you decide this is what you want I can try and get more information on the procedures.
Rick
|