IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to change the user id which last changed a dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Tue Jun 01, 2004 1:50 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Jun 01, 2004 6:20 pm
Reply with quote

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
View user's profile Send private message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Wed Jun 02, 2004 7:22 am
Reply with quote

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
View user's profile Send private message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Wed Jun 02, 2004 7:22 am
Reply with quote

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
View user's profile Send private message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Wed Jun 02, 2004 7:23 am
Reply with quote

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
View user's profile Send private message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Wed Jun 02, 2004 7:23 am
Reply with quote

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
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Sat Jun 05, 2004 4:52 pm
Reply with quote

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
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Sat Jun 05, 2004 4:53 pm
Reply with quote

I forgot to mention that SDSF1 contains a valid PDS name,
Back to top
View user's profile Send private message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Sun Jun 06, 2004 12:35 pm
Reply with quote

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
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Jun 07, 2004 1:29 pm
Reply with quote

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
View user's profile Send private message
ankyhunk

Moderator


Joined: 05 May 2005
Posts: 98
Location: Navi Mumbai, India

PostPosted: Fri May 06, 2005 2:18 pm
Reply with quote

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
View user's profile Send private message
notonly4u

New User


Joined: 26 Apr 2005
Posts: 87
Location: Hyderabad

PostPosted: Fri May 06, 2005 2:41 pm
Reply with quote

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
View user's profile Send private message
maverick05

New User


Joined: 14 Apr 2005
Posts: 54
Location: Earth

PostPosted: Mon Jun 06, 2005 7:59 pm
Reply with quote

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
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Wed Jul 26, 2006 5:50 am
Reply with quote

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
View user's profile Send private message
stly
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Mon Aug 14, 2006 2:26 pm
Reply with quote

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
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Tue Sep 19, 2006 3:47 am
Reply with quote

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
View user's profile Send private message
autobox

New User


Joined: 19 Aug 2005
Posts: 51

PostPosted: Tue Sep 19, 2006 8:53 am
Reply with quote

Did you try the 'G' before the member name?
Back to top
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Wed Sep 20, 2006 12:18 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top