I suspect DB2 needs SYSOPER or SYSADM DB2 authorization. This is DB2
security and it is maintained by DB2. Talk to the DB2 install sysprog's.
My memory was console commands came in with userid SYSOPR but there are
other circumstances that the userid is passed.
Mike
On Jan 13, 2008 8:56 PM, Yan Ying <[EMAIL PROTECTED]> wrote:
> Hi all,
> Thanks for you reply.What confused me is I can send MVS/JES2
> cmd in my rexx program and get the return msg.The pgm look like that :
> CMD = '$D SPL'
> "CONSPROF SOLDISP(NO) SOLNUM(800)"
> "CONSOLE ACTIVATE NAME(DALCMD)"
> "CONSOLE SYSCMD("||CMD||") CART('DAL001')"
> GETCODE = GETMSG('DAL1.',,'DAL001','',10)
> "CONSOLE DEACTIVATE"
> The program is sub in JCL by IKJEFT01.
> Why DB2 cmd need special auth and how to get the auth.
> Yan Ying
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
--
Mike
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html