I think you mean -553, right?
Danny Davis wrote in message ...
Cheers,
Terry
>>> "Salvatore, Joe" <Salva...@mail.dnb.com> 04/16 7:52 AM >>>
If you are using RACF,
1.) Create a RACF group
2.) Connect the users that you want to do the similar functions to that
group.
3.) Grant the DB2 Permissions to the DB2 resources needed
4.) Set current sqlid to "racf group".
----------
From: Danny Davis
To: DB...@AMERICAN.EDU
Subject: set current sqlid
Date: Wednesday, April 15, 1998 11:05AM
George Peters
Principal Consultant
Strategic Database Systems, Inc.
***Design and Implementation of Relational Systems since 1985***
DB2/MVS, UDB, Oracle: VLDB and Data Warehousing specialists
IBM Certified Solutions Expert: DB2 UDB V5 Database Administration
Email: gpe...@idt.net <mailto:gpe...@idt.net>
> -----Original Message-----
> From: DB2 Data Base Discussion List [mailto:DB...@AMERICAN.EDU]On Behalf
> Of Danny Davis
> Sent: Wednesday, April 15, 1998 11:06 AM
> To: DB...@AMERICAN.EDU
> Subject: set current sqlid
>
>
>Can someone tell me how to allow a user (USER1) to be able to issue the command
>'SET CURRENT SQLID = USER2'. Based on the manuals I haven't seen a clear cut
>way to assign USER1 the rights to become USER2. I'm getting a -533 sql return
code
>when issuing the SET command. Can someone please help? TIA.
My response is based on DB2/MVS only...
The only ways USER1 can "become" USER2 are (1) if USER1 knows USER2's user-id
and password and has permission to logon as USER2 or (2) if USER1 is a SYSADM.
Otherwise, you will have to use RACF security groups. Members of the group use
the group name for the SQLID and create all the objects with the group name as
the creator. This is preferable to using regular user-IDs anyway.
DB2 allows the creator of an object to have rights to grant permission to other
to use the object. If you use regular user-IDs to create objects and that user
leaves the company, you've may have a little mess on your hands.
If possible, use RACF groups. If you don't have RACF or Top-Secret, then you are
out of luck (as far as I know) and you may have to resort to one of the two
options mentioned earlier.
Greg DiGiorgio
DB Analyst
City of Newport News
gdi...@ci.newport-news.va.us
> -----Original Message-----
> From: Danny Davis [SMTP:DTD...@PCMH.COM]
> Sent: Wednesday, April 15, 1998 10:06 AM
> To: DB...@AMERICAN.EDU
> Subject: set current sqlid
>
For example, If USER1 is in SMF or SPUFI, USER1 should be able to SET
CURRENT SQLID to any secondary authorization group or the primary ID
(USER1); however to SET CURRENT SQLID to another primary userid (USER2),
USER1 would need SYSADM authority on the primary ID or a secondary ID.
Later!
Gary Rue
Commonwealth of KY
Department of Information Systems
gr...@mail.state.ky.us
In the RACF world, USER1 needs to be connected to RACF Group USER2.
I assume there's some comparable facility in ACF2/Top Secret or that folks using
those auth-schemes will reply there.
David Seibert
Compuware Corporation
Dave_S...@Compuware.com
Pillay
-------------
Original Text
From: "Danny Davis" <DTD...@PCMH.COM>, on 4/15/98 11:05 AM:
Can someone tell me how to allow a user (USER1) to be able to issue the
command 'SET CURRENT SQLID = USER2'. Based on the manuals I haven't seen a
clear cut way to assign USER1 the rights to become USER2. I'm getting a
Wayne Driscoll
Product Developer
Platinum Technology Inc.
dris...@platinum.com
NOTE: All opinions are strictly my own
---------------------- Forwarded by TRUMAN G. BROWN/EMPL/MD/Bell-Atl on
04/16/98 09:30 AM ---------------------------
From: owner...@AMERICAN.EDU AT INTERNET on 04/16/98 03:41 AM
To: WILLIAM C. MOONEY, TRUMAN G. BROWN/EMPL/MD/Bell-Atl, STEVEN
MAZER/MD/NSI/Bell-Atl, MICHAEL C. MILLER AT BAPLAZ11@CCDOMAIN,
DEBAPRATIM MUKHERJEE/EMPL/VA/Bell-Atl, DAVID E E.
WILL/EMPL/MD/Bell-Atl, CAROL L. THOMAS/EMPL/VA/Bell-Atl,
DB...@AMERICAN.EDU AT INTERNET@CCDOMAIN
cc:
Subject: set current sqlid
Attachment file number 1, file name
Creation date: April 16, 1998 03:41:36
Document Type: ASCI, Document Class: MEMO
Author:
Comment: set current sqlid
Level: 1, Number : 1
Can someone tell me how to allow a user (USER1) to be able to issue the
command 'SET CURRENT SQLID = USER2'. Based on the manuals I haven't seen a
clear cut way to assign USER1 the rights to become USER2. I'm getting a
-533 sql return code when issuing the SET command. Can someone please
help? TIA.
----------------------------------------------------------------
Paul
>>> Danny Davis <DTD...@PCMH.COM> 16/04/98 1:05:31 >>>
Real life experience is always better than words in a book!
> -----Original Message-----
> From: Rue, Gary [SMTP:gr...@MAIL.STATE.KY.US]
> Sent: Thursday, April 16, 1998 5:13 PM
> To: DB...@AMERICAN.EDU
> Subject: Re: set current sqlid
>
> Danny, the SQL REFERENCE states that unless the primary ID or
> secondary
> group ID of the user has SYSADM authority, then USER2 can only
> connected
> to if it is one of the IDs of the application process. SYSADM can SET
> CURRENT SQLID to any ID (except maybe the INSTALL SYSADM?!).
>
> For example, If USER1 is in SMF or SPUFI, USER1 should be able to SET
> CURRENT SQLID to any secondary authorization group or the primary ID
> (USER1); however to SET CURRENT SQLID to another primary userid
> (USER2),
> USER1 would need SYSADM authority on the primary ID or a secondary ID.
>
> Later!
>
> Gary Rue
> Commonwealth of KY
> Department of Information Systems
> gr...@mail.state.ky.us
>
>
> -----Original Message-----
> From: Danny Davis [mailto:DTD...@PCMH.COM]
> Sent: Wednesday, April 15, 1998 11:06 AM
> To: DB...@AMERICAN.EDU
> Subject: set current sqlid
>