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

Copying ISRPROF member into other TSO profile


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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
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
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
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
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
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
Reply with quote

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

Superior Member


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

PostPosted: Thu Apr 22, 2010 9:32 pm
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

Global Moderator


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

PostPosted: Thu Apr 22, 2010 9:39 pm
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
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
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Apr 22, 2010 11:27 pm
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
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

Moderator Emeritus


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

PostPosted: Thu Apr 22, 2010 11:47 pm
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
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

Senior Member


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

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

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

Global Moderator


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

PostPosted: Thu Apr 22, 2010 11:58 pm
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: 1353
Location: Israel

PostPosted: Fri Apr 23, 2010 12:09 am
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: 8797
Location: Welsh Wales

PostPosted: Fri Apr 23, 2010 11:30 am
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
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Apr 23, 2010 11:51 am
Reply with quote

Quote:
would HRECOVER have worked?


but the TS may not have had authority to do that
Back to top
View user's profile Send private message
Sudhir KL

New User


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

PostPosted: Fri Apr 23, 2010 2:36 pm
Reply with quote

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.


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

ISPI002 Following file could not be opened:
ISPPROF
READY


RCA...
Dataset profile 'myuserid.**' was deleted from RACF.

The reason I tried editing ISRPROF member is coz... I was not able to Edit KEYS.

If I type KEYS in ISPF and hit Enter, it says, "Updates not allowed". Any Idea what might be the reason and how to fix it?

BTW...I have authority for both ID's icon_smile.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Apr 23, 2010 2:58 pm
Reply with quote

have you tried the point and shoot dropdowns at the top of the screen
of primary panel?

what is your version of ISPF
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Apr 23, 2010 3:11 pm
Reply with quote

why don' t You start from scratch ?

after all the messing You have done, to find out why something does not work is impossible

have somebody with the proper authorities rename Your profiles to a backup copy
USER1.ISPF.PROFILE ==> USER1.ISPF.PROFILE.ORIGINAL
USER2.ISPF.PROFILE ==> USER2.ISPF.PROFILE.ORIGINAL

allocate two new
USER1.ISPF.PROFILE
USER2.ISPF.PROFILE
start with a clean ISPF profile and try to copy things from the ORIGINAL ones

and since You say You have the proper authorities to update both datasets

start using for example USER2 to copy/Replace things
from USER1.ISPF.PROFILE.ORIGINAL to USER1.ISPF.PROFILE

after some logoff/logons of USER1 You might be able to rebuild the original profile to a working state

anyway ISPF profile should be expendable!
in my too many years of MVS and zOS losing an ISPF profile was never an issue
and since I would do lots of experiments I used to start quite often with a clean ISPF profile
without any loss of productivity
Back to top
View user's profile Send private message
Sudhir KL

New User


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

PostPosted: Fri Apr 23, 2010 3:31 pm
Reply with quote

dbzTHEdinosauer wrote:
have you tried the point and shot dropdowns at the top of the screen
of primary panel?

what is your version of ISPF


Checked "point and shoot options". You can only edit color here.

ISPF: 5.9.0000

I want to update KEYS panel
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 -> TSO/ISPF Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts Library member auto insert option TSO/ISPF 3
Search our Forums:

Back to Top