Blog
DB2utor

Advertisement

« IBM Redbooks: DB2 9 Distributed Functions | Main | Point-in-Time Recovery Sans Quiesce »

July 14, 2009

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d83545a5d153ef01157202e9a6970b

Listed below are links to weblogs that reference Migrating from DB2 Private Protocol to DRDA:

Comments

Rob Jones

Troy,
Thanks for the reminder that we need to do this; but it reminds me of the big question:

How are people handling these 2 part binds when run through an automated solution like Endevor? When to run the 2 part bind? Where to run the second part? How to handle the allowed errors vs unexpected? These were issues that Private Protocaol binds never had to handle.

Troy Coleman

Hi Rob,
I don't have an environment I can test this out but from what I can remember you will get the following error: 1) On bind at the remote location you will get a -204 object not found if you do not define the alias at that location. The other problem you could see is -805 if you do not bind the package at the remote location. As for CA Endevor I would think you would change the bind option as I listed above and ensure you create the alias at both the local and remote systems.

Robert Plata

Troy,
I am heading this project for my company, in a DBA role. My management has taken the approach that the DBAs will handle the binds for all DB2 programs/plans from private protocol to DRDA. We use Endevor as well. However, we will be bypassing that process as a courtesy to our programmers.

The issue am running into is making sure that the bind cards specify DBPROTOCOL(DRDA) before the rebinds take place, so as not to revert back to private protocol. This became an issue because it was broadcast to the programmers that they would not have to do any work in this effort. It turns out this is not entirely true, if we do this under DB2 V8 and keep our zparms as is.

Robert Plata

An application programmer just verified that a -805 is received from the execution of the application program with the DB2 program specifying DRDA, and no supporting alias, nor DB2 program, residing on the remote DB2.

tonmoy dasgupta

Quote
"When executed, DSNTP2DP searches DB2 catalog tables SYSIBM.SYSPLANS and SYSIBM." for DBPROTCOL ='Y' "
End-Quote

You probably meant DBPROTCOL ='D' for 'Y' is not a valid value.

Thank you for the article though.

Troy Coleman

Hi Tonmoy,
Yes, The correct value would be "D" for DRDA or "P" for private. It must have been a late night. I'm not sure why I put "Y". Cheers!
Troy

Tina Bayer

A remote subsystem question: does only the PACKAGE get bound on the remote subsystem, or, does the entire PLAN also need to be bound on the remote subsystem ?

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.