Problem: What "/U DUMMY" is used for in BIND40N command? Example: BIND40N /CY /U DUMMY /L DB2LOC /EXPLAIN ALL /BUTTON BIND /ACTION REPLACE /GRANTEXECUTE NONE /REPLACEAUTH RETAIN /ISOLATIONLEVEL CS /EXISTANCECHECKING REQUIRED /CHANGECONTROL NOERR /DEFAULTQUALIFIER %QUALIFIER% /PACKAGEOWNER %OWNER% /COLLECTION %COLLECTION_ID% /D "D:\Documents and Settings\All Users\Micro Focus\mfuser\config\%DBRM%.DBR" Solution: "/U UserID" in the XDB BIND command is used to specify the UserID for the DB2 Location on the Mainframe. If DUMMY is specified as UserID, this means that the user set in the SQL for DB2 Client Options will be used as a login ID to the DB2 on the Mainframe. Here is some information: ************************************************** The XDBLOGM executable will log the user into the XDB Server and save the user ID and password. This executable is executed by the IDE when using the menu entry "Tools - SQL for DB2 - Log On". When using XDBLOGM, no user ID or password has to be supplied on the XDB Bind command line. Without XDBLOGM, a user ID and password must be supplied on the command line using the /U and rem /P arguments. The location will default to the value set in the XDB Client Options dialog. Location can also be specified on the BIND40N command line with the /L argument. BIND40N /CY /L %LOCATION% /U %USERNAME% /P %PASSWORD% ****************************************** Also security works with authentication done on DB2 z/OS, and programmers should have BINDADD on the package owners (applications) they are binding on.
↧