View previous topic :: View next topic
|
Author |
Message |
siddhuhandsome
New User
Joined: 28 Feb 2004 Posts: 12 Location: Hyderabad
|
|
|
|
Hi all,
Is there any way to change the ID of the user who last changed a dataset.
Just curious if it can be done by some means. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Let me see if I understand the requirements properly.
If user "A" logs into TSO and changes a dataset (any dataset, or a specific one?), you want to change their ID? To what? User "B"?
I suppose that their current TSO ID could be suspended and that they could be forced off of their TSO session, but I wonder how easily the security system (ACF/2, RACF, Top-Secret) could be invoked to make the ID change, and how the user would then be notified of that change? |
|
Back to top |
|
|
siddhuhandsome
New User
Joined: 28 Feb 2004 Posts: 12 Location: Hyderabad
|
|
|
|
Sorry mate, You misunderstood.
Let me give an example.
Lets assume a dataset ABC123 exists in the pds @SYS1.SIDDHU.ABC
I edited this dataset and saved. After this if you see the member list of the PDS, you will see that my user id will be displayed in the field "ID" which is the last modified by field.
I wanted to know if there are any means of changing this. I understand that it is highly impossible because the security restrictions may not allow us to modify such attributes, but just curious to know if some one had done it. |
|
Back to top |
|
|
siddhuhandsome
New User
Joined: 28 Feb 2004 Posts: 12 Location: Hyderabad
|
|
|
|
Sorry mate, You misunderstood.
Let me give an example.
Lets assume a dataset ABC123 exists in the pds @SYS1.SIDDHU.ABC
I edited this dataset and saved. After this if you see the member list of the PDS, you will see that my user id will be displayed in the field "ID" which is the last modified by field.
I wanted to know if there are any means of changing this. I understand that it is highly impossible because the security restrictions may not allow us to modify such attributes, but just curious to know if some one had done it. |
|
Back to top |
|
|
siddhuhandsome
New User
Joined: 28 Feb 2004 Posts: 12 Location: Hyderabad
|
|
|
|
Let me explain with an example.
Lets assume a dataset ABC123 exists in the pds @SYS1.SIDDHU.ABC
I edited this dataset and saved. After this if you see the member list of the PDS, you will see that my user id will be displayed in the field "ID" which is the last modified by field.
I wanted to know if there are any means of changing this. I understand that it is highly impossible because the security restrictions may not allow us to modify such attributes, but just curious to know if some one had done it. |
|
Back to top |
|
|
siddhuhandsome
New User
Joined: 28 Feb 2004 Posts: 12 Location: Hyderabad
|
|
|
|
Let me explain with an example.
Lets assume a dataset ABC123 exists in the pds @SYS1.SIDDHU.ABC
I edited this dataset and saved. After this if you see the member list of the PDS, you will see that my user id will be displayed in the field "ID" which is the last modified by field.
I wanted to know if there are any means of changing this. I understand that it is highly impossible because the security restrictions may not allow us to modify such attributes, but just curious to know if some one had done it. |
|
Back to top |
|
|
bluebird
Active User
Joined: 03 Feb 2004 Posts: 127
|
|
|
|
If you are using ISPF and editing a dataset then those are ISPF variables.. and it is possible to change them.
I don't think security is an issue here.
here is an example I acutally use :
Code: |
Address ispexec
"control errors return"
"lminit dataid(did) dataset('"sdsfd1"') enq(shrw)"
"lmmstats dataid("did") version(1) modlevel(1)",
"moddate("tod") member("jobid") user("jobn")"
say zerrmsg rc 'on ' tod
say zerrsm 'on stats for' jobid
|
it will modify the mod-date the user fields.
you should do some research on ispf lmservices (here lmmstats)
hope it helps. |
|
Back to top |
|
|
bluebird
Active User
Joined: 03 Feb 2004 Posts: 127
|
|
|
|
I forgot to mention that SDSF1 contains a valid PDS name, |
|
Back to top |
|
|
siddhuhandsome
New User
Joined: 28 Feb 2004 Posts: 12 Location: Hyderabad
|
|
|
|
Hey bluebird,
Thanks for your response.
Can you please let me know where do I execute the code you specified.
Thanks,
Siddhu |
|
Back to top |
|
|
bluebird
Active User
Joined: 03 Feb 2004 Posts: 127
|
|
|
|
u execute it from TSO. !! (ispf command line.
but u definitely should read LM services part of IBM's ISPF documentation
before starting anything. |
|
Back to top |
|
|
ankyhunk
Moderator
Joined: 05 May 2005 Posts: 98 Location: Navi Mumbai, India
|
|
|
|
You can change the userid of a member of a PDS using the G Option. Type 1 in the window that appears & put the new userid in it. |
|
Back to top |
|
|
notonly4u
New User
Joined: 26 Apr 2005 Posts: 87 Location: Hyderabad
|
|
|
|
Yeah...Ankur is right.
While editing a member Iam sure that you'll be given a E on the left side of PDS name. So after editing it, Give a 'G' over there and it'll help you in changing the ID
Regards
Tanden |
|
Back to top |
|
|
maverick05
New User
Joined: 14 Apr 2005 Posts: 54 Location: Earth
|
|
|
|
Hi,
There is a option called Reset ISPF Statistics in ISPF Primary Option Menu
in which not only reset the userid of ur wish but also u can change the no of lines ,date/time etc.
Thanks
Venkat |
|
Back to top |
|
|
graswant
New User
Joined: 29 Apr 2006 Posts: 93 Location: Singapore
|
|
|
|
I agree with Ankur about using G option however Security is an issue here.... that's y people like me are sitting in companies for Mainframe Security.... ha ha ha ha ha... |
|
Back to top |
|
|
stly Warnings : 1 New User
Joined: 25 Jul 2005 Posts: 93
|
|
|
|
hi aswant is there any way to find the user who has changed the id of the PDS using G option.if so can u share how to do that???????? |
|
Back to top |
|
|
graswant
New User
Joined: 29 Apr 2006 Posts: 93 Location: Singapore
|
|
|
|
Hi
I am afraid there is no way if someone changes the Id...however the Id who can use G to edit the ID needs proper rights and there will be very less people with the rights in your company or team...try checking Log to see what they are doing...you can get each and every information from Log...
Correct me if I am wroing... |
|
Back to top |
|
|
autobox
New User
Joined: 19 Aug 2005 Posts: 51
|
|
|
|
Did you try the 'G' before the member name? |
|
Back to top |
|
|
graswant
New User
Joined: 29 Apr 2006 Posts: 93 Location: Singapore
|
|
|
|
Hi Autobox,
We are talking about the same...When someone uses G and change the ID...Is there a way to find out who did it...
Correct me if I am wrong... |
|
Back to top |
|
|
|