I have to call stored Proc (PH1111) from another region to access some data. We have build DB2 program (PH2222) which is using CALL Statement to call PH1111. Below id the bind package & plan I have used. This has bind package for local package & another for remote one. Plan includes both.
BIND PACKAGE(ADC1DB2T.MA3_GS) -
QUALIFIER(PH6) -
MEMBER(PH1111) - This is stored proc name we
are calling from ADC1.
SQLERROR(NOPACKAGE) -
VALIDATE(BIND) -
FLAG(I) -
ISOLATION(UR) -
RELEASE(COMMIT) -
EXPLAIN(NO) -
ACTION(REPLACE)
BIND PACKAGE(MA3_GS) -
QUALIFIER(PN4652A) -
MEMBER(PH2222) - This is program on EDEV which calls PH1111.
SQLERROR(CONTINUE) -
VALIDATE(RUN) -
FLAG(I) -
ISOLATION(UR) -
RELEASE(COMMIT) -
EXPLAIN(NO) -
ACTION(REPLACE)
I am getting problem in Bind package as PH1111 is on another region & it says DBRM not found. I wanted to know if I am missing some basic concept which is required to bind in such cases. Usually we give DBRM library in our job but since in this case – it is on another region, I am not able to get how to do this.
It would be great if someone can give some pointer to resolve it.