Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Copying ISRPROF member into other TSO profile
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Sudhir KL

New User


Joined: 15 Feb 2008
Posts: 17
Location: Safe Planet

PostPosted: Thu Apr 22, 2010 8:25 pm    Post subject: Copying ISRPROF member into other TSO profile
Reply with quote

Hi,

I was editing my userid.ISPPROF(ISRPROF) member

from other TSO ID...This member got deleted by mistake.

I revoked the RACF for the TSO ID that i used to edit the member.

Now, when i try...I am unable to get into ISPF editor.

Please help me copy ISRPROF member from other TSO profile into my profile

I tried SORT, IEBGENER jcl's by giving USER=*** and PASSWORD=**** in the jobcard


Thanks,
Sudhir

No luck. Please help
Back to top
View user's profile Send private message

Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Apr 22, 2010 8:41 pm    Post subject:
Reply with quote

What is the message when you try to start the editor?

I am not sure if you can use a ISPF profile copied from another user, without problems. If you start ISPF without a profile, I think a default one is created for you, but it may the contain values for your specific user account, which makes it unusable for other userids.
Back to top
View user's profile Send private message
Sudhir KL

New User


Joined: 15 Feb 2008
Posts: 17
Location: Safe Planet

PostPosted: Thu Apr 22, 2010 8:47 pm    Post subject: Reply to: Copying ISRPROF member into other TSO profile
Reply with quote

I am sure i can use other ID's ISPF profile. i have tried this. i just need to find a way how to copy it into my dataset.


This is the message I get.........

ISPI002 Following file could not be opened:
ISPPROF
READY
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Apr 22, 2010 8:57 pm    Post subject:
Reply with quote

You might be able to do the copying from your TSO command line, if you can get into TSO before ISPF opens, or if you free the profile data set from the command line and then reallocate it.
Back to top
View user's profile Send private message
Sudhir KL

New User


Joined: 15 Feb 2008
Posts: 17
Location: Safe Planet

PostPosted: Thu Apr 22, 2010 9:02 pm    Post subject: Reply to: Copying ISRPROF member into other TSO profile
Reply with quote

I am unable to go to TSO command line

It used to directly go to ISPF screen
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Apr 22, 2010 9:10 pm    Post subject:
Reply with quote

Quote:
I am unable to go to TSO command line
It used to directly go to ISPF screen


when you are in ispf, simply pf3 or x and you will be returned to native tso.
Back to top
View user's profile Send private message
Sudhir KL

New User


Joined: 15 Feb 2008
Posts: 17
Location: Safe Planet

PostPosted: Thu Apr 22, 2010 9:15 pm    Post subject: Reply to: Copying ISRPROF member into other TSO profile
Reply with quote

I cannot get into ISPF not TSO
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Apr 22, 2010 9:32 pm    Post subject: Re: Copying ISRPROF member into other TSO profile
Reply with quote

Sudhir KL wrote:
I was editing my userid.ISPPROF(ISRPROF) member

from other TSO ID...This member got deleted by mistake.
If the member is in such a PDS whose HLQ is your ID (RACF ID), some other ID should not be able to delete the member in that PDS? icon_confused.gif
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Thu Apr 22, 2010 9:39 pm    Post subject: Reply to: Copying ISRPROF member into other TSO profile
Reply with quote

Quote:
I was editing my userid.ISPPROF(ISRPROF) member from other TSO ID...


I do not think you are allowed to edit profile members. There is binary information contained and the structures are not documented.

Quote:
I revoked the RACF for the TSO ID that i used to edit the member.


I have no idea why you would need to revoke that TSO id.

Quote:
Now, when i try...I am unable to get into ISPF editor.


This is a vague error description. Are there any error messages? Any symptoms?

HSM should have a backup of the dataset. Try HRECOVER with REPLACE option.

Try this from TSO READY:
Code:

ALLOC F(ISPPROF) REUSE LIKE('your.ispprof') SPACE(1 1) TRACKS

Then get into ISPF and try your copies.
Back to top
View user's profile Send private message
Sudhir KL

New User


Joined: 15 Feb 2008
Posts: 17
Location: Safe Planet

PostPosted: Thu Apr 22, 2010 10:11 pm    Post subject: Reply to: Copying ISRPROF member into other TSO profile
Reply with quote

1. I was able to edit from other TSO ID coz...I had given RACF privelege ALTER to the ID. ..and I was not logged In in my TSO ID

2. Later, I deleted the RACF dataset profile that contained RACF privelege to the other TSO ID. Then on ...I was not able to edit my profile


Below the message I got when I tried

"ALLOC F(ISPPROF) REUSE LIKE('your.ispprof') SPACE(1 1) TRACKS "

ALLOC F(ISPPROF) REUSE LIKE dataset('USERID.ispprof') SPACE(1 1) TRACKS
ENTER MODEL DATASET NAME -
'USERID.ispprof'
DATA SET USERID.ISPPROF NOT ALLOCATED+
IGD308I DATA SET ALLOCATION REQUEST FAILED -
RACF FUNCTION: RACDEF FOR
DATA SET: USERID.ISPPROF WITH RETURN CODE 08 REASON CODE 04
OMVS - Enter a TSO/E command, or press PA1 to return to the shell.
Back to top
View user's profile Send private message
Sudhir KL

New User


Joined: 15 Feb 2008
Posts: 17
Location: Safe Planet

PostPosted: Thu Apr 22, 2010 11:12 pm    Post subject: Reply to: Copying ISRPROF member into other TSO profile
Reply with quote

Can someone please tell me how I add RACF dataset profile ( From TSO)
and then grant ALTER permission to another user ..
so that he can refresh my ISRPROF member
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Apr 22, 2010 11:18 pm    Post subject:
Reply with quote

Quote:
how I add RACF dataset profile


unless you are a RACF Administrator,
your game is up
and you will have to explain to someone
WHY WERE YOU TRYING TO MODIFY YOUR ISRPROF
and also explain why you were using another users ID


I am not sure if this is a tragedy or a comedy....
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Thu Apr 22, 2010 11:27 pm    Post subject:
Reply with quote

Lessons to be learned:
Rule 1: do not directly edit ISRPROF
Rule 2: if you do mess it up, contact your site support group immediately
Rule 3: if you don't contact your site support group, don't post on a forum and expect to be told how to issue commands you probably do not have authority to issue to fix a problem you should not have had anyway

Bottom line: contact your site support group (security administrator) and get their help in unscrambling this mess you've created.
Back to top
View user's profile Send private message
Sudhir KL

New User


Joined: 15 Feb 2008
Posts: 17
Location: Safe Planet

PostPosted: Thu Apr 22, 2010 11:33 pm    Post subject: Reply to: Copying ISRPROF member into other TSO profile
Reply with quote

Hurrahhh

Finally I got it. This is what i did...
1)
Added Dataset profile...
ADDSD 'USERID.**' UACC(ALTER) AUDIT(ALL(ALTER))
2)
TSO PERMIT USERID.** ID(USER1) ACCESS(ALTER) CLASS(DATASET) GEN

From the other TSO ID refreshed ISRPROF

Presto!!!! All is Well

Thanks a ton for all you guys!!!!
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Apr 22, 2010 11:47 pm    Post subject: Reply to: Copying ISRPROF member into other TSO profile
Reply with quote

Quote:
I am not sure if this is a tragedy or a comedy....
Depends on whose system this is permitted. . .

If on their system a comedy.

On most systems i've been involved with since security was implemented, this is one of the cardinal security sins and people have been dismissed for playing permission games with multiple userids. I guess it could be a tragedy for the ones dismissed, , ,

d
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Apr 22, 2010 11:48 pm    Post subject:
Reply with quote

Sudhir KL wrote:
Presto!!!! All is Well


The GREAT ESCAPE
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 961
Location: Richmond, Virginia

PostPosted: Thu Apr 22, 2010 11:55 pm    Post subject:
Reply with quote

would HRECOVER have worked?
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2019
Location: Silicon Valley

PostPosted: Thu Apr 22, 2010 11:58 pm    Post subject: Reply to: Copying ISRPROF member into other TSO profile
Reply with quote

Quote:
I do not think you are allowed to edit profile members.

I meant that, even you have permission, you should not do it.

Regarding:
Code:
"ALLOC F(ISPPROF) REUSE LIKE('your.ispprof') SPACE(1 1) TRACKS "

ALLOC F(ISPPROF) REUSE LIKE dataset('USERID.ispprof') SPACE(1 1) TRACKS
ENTER MODEL DATASET NAME -
'USERID.ispprof'

LIKE and DATASET are different parameters... you seemed not to issue the command in the way I suggested. And you should have replaced the name with the actual ds name that you were editing.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1219
Location: Israel

PostPosted: Fri Apr 23, 2010 12:09 am    Post subject: Re: Copying ISRPROF member into other TSO profile
Reply with quote

Sudhir KL wrote:
I was editing my userid.ISPPROF(ISRPROF) member
from other TSO ID...This member got deleted by mistake.
I revoked the RACF for the TSO ID that i used to edit the member.
Now, when i try...I am unable to get into ISPF editor.
Please help me copy ISRPROF member from other TSO profile into my profile
I tried SORT, IEBGENER jcl's by giving USER=*** and PASSWORD=**** in the jobcard
Sudhir KL wrote:
I am sure i can use other ID's ISPF profile. i have tried this. i just need to find a way how to copy it into my dataset.
Sudhir KL wrote:
I am unable to go to TSO command line
Sudhir KL wrote:
I cannot get into ISPF not TSO
Sudhir KL wrote:
I was able to edit from other TSO ID coz...I had given RACF privelege ALTER to the ID.
Sudhir KL wrote:
Hurrahhh

Finally I got it.

Presto!!!! All is Well
Definitely a tragedy!
...or a Bollywood movie (there is a happy ending after all).

Reedited: The GREAT ESCAPE!!! Dick, I loved that!!!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Apr 23, 2010 11:30 am    Post subject:
Reply with quote

Phrzby Phil wrote:
would HRECOVER have worked?

Yes, recover the dataset to a newname and then copy in the missing member. That would have been my choice of recovery.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts RACF profile access vasanthz All Other Mainframe Topics 11 Fri Sep 23, 2016 5:51 am
No new posts File Stauts 92 with member of PDS sandip_mainframe COBOL Programming 4 Fri Jun 10, 2016 12:06 pm
No new posts Differences between copying members b... E.LAI TSO/ISPF 8 Wed Mar 30, 2016 12:35 pm
No new posts how to extract the member name ? jackzhang75 CLIST & REXX 1 Wed Feb 17, 2016 9:21 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us