|
View previous topic :: View next topic
|
| Author |
Message |
Adamhan
New User
Joined: 26 Oct 2006 Posts: 1
|
|
|
|
hello everyone,
when i try BIND of my COBOL DB2 program, sometimes its works successfully. But other times i get this error,
READY
DSN SYSTEM(DSNA)
DSN
BIND PLAN(PLAN001) MEMBER(TRN07D1) ACT(REP) ISO(CS) ACQUIRE(USE)
DSNT210I @ BIND AUTHORIZATION ERROR
USING TRN07 AUTHORITY
PLAN = PLAN001
PRIVILEGE = BIND
DSNT201I @ BIND FOR PLAN PLAN001 NOT SUCCESSFUL
DSN
END
READY
END
i.e. authorization error...
why is this....what should i do. I find that this plan is used by another id if i do a
Select * on SYSIBM.SYSPLAN table
thanks in advance |
|
| Back to top |
|
 |
priyesh.agrawal
Senior Member

Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
| Quote: |
| sometimes its works successfully. But other times i get this error, |
This is strange...
| Quote: |
| why is this....what should i do. |
The indicated authorization ID does not have the BIND privilege and therefore cannot invoke the BIND subcommand against the indicated application plan (PLAN001).
The privilege to invoke a BIND subcommand against the indicated application plan must be granted to the indicated authorization ID. |
|
| Back to top |
|
 |
|
|