for AS/400 V5R2

60 pts.
Tags:
AS/400 errors
RDO
VB
HI THIS IS BHAVESH I AM GETTING ERROR WHILE EXECUTING RDO PREPARED STATEMENT THROUGH VB6 ODBC CONECTIVITY ON AS/400 SERVER PL. NOTE THAT IT IS WHEN I HAVE CHANGED MY SERVER BOX FROM V4R5 TO V5R2 MODEL STRING FOR PREPARED STATEMENT I AM USING AS FOLLOWS Public SosRdoEnv As rdoEnvironment Public SosRdoCon As rdoConnection Public SosPrpStmt1 As rdoPreparedStatement Public SosResultset1 As rdoResultset Public MjobNo As String Public MjobName As String Set SosRdoEnv = rdoEngine.rdoCreateEnvironment("", "", "") SQuery = "DSN=TIMRDO;UID=ASHIMA;PWD=ASHIMA;" On Error GoTo ErrorHandler Set SosRdoCon = SosRdoEnv.OpenConnection("", rdDriverNoPrompt, False, SQuery) SosRdoCon.QueryTimeout = 3600 SQuery = "CALL REPLIB.REPSTOR(?,?)" Set SosPrpStmt1 = SosRdoCon.CreatePreparedStatement("", SQuery) SosPrpStmt1(0).Value = "" SosPrpStmt1(1).Value = "" SosPrpStmt1(0).Direction = rdParamInputOutput SosPrpStmt1(1).Direction = rdParamInputOutput SosPrpStmt1.Execute MjobNo = SosPrpStmt1(0).Value MjobName = SosPrpStmt1(1).Value ERROR IS INTERNAL DRIVER ERROR

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Any chance you could tell us what driver was being used? Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following