Can I get control on Browse/Edit of a dataet?

Time Sharing Option, Interactive System Productivity Facility and REstructured eXtended eXecutor

Moderator: mickeydusaor

Post Reply
RolfD
New Member
Posts: 7
Joined: Thu Apr 02, 2015 6:36 pm

Can I get control on Browse/Edit of a dataet?

Post by RolfD »

Hello,

is there any opportunity to get control whenever a dataset is browsed or edited with SPF? I would like to store the name of the dataset. One Idea is to use a edit-macro, this works fine but it can't be used with browse.
Is there anything like an exit or something else where I can do this?

Thanks for your comments,
Rolf
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Can I get control on Browse/Edit of a dataet?

Post by enrico-sorichetti »

is there any opportunity to get control whenever a dataset is browsed or edited with SPF? I would like to store the name of the dataset.
You will get better replies if You tell what are You going to do with the saved dataset name.

the dataset and member names are ALWAYS available to edit/view macros!
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
RolfD
New Member
Posts: 7
Joined: Thu Apr 02, 2015 6:36 pm

Re: Can I get control on Browse/Edit of a dataet?

Post by RolfD »

I would like to VPUT the DS-Name (incl. Member if PO) to an SPF-var.

Regards, Rolf
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: Can I get control on Browse/Edit of a dataet?

Post by enrico-sorichetti »

would like to VPUT the DS-Name (incl. Member if PO) to an SPF-var.
You already told that ...
what are You going todo with it afterwards ???
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
RolfD
New Member
Posts: 7
Joined: Thu Apr 02, 2015 6:36 pm

Re: Can I get control on Browse/Edit of a dataet?

Post by RolfD »

enrico-sorichetti wrote:
would like to VPUT the DS-Name (incl. Member if PO) to an SPF-var.
You already told that ...
what are You going todo with it afterwards ???
That's all what should be done when Browse/Edit starts (or ends). In a second REXX, later, the var should be read for further processing.
What I already have is an edit-macro which stores the DSN of the edited dataset. This is running fine when the name of the macro is entered and saved on the edit-entry-Panel. But is not working for aplications that start SPF-edit without the init-macro (what we have). The second point is that an edit-macro can't be used with Browse, afaik.

Perhaps I was not very clear, I'm looking for a way to VPUT the DSN automatically whenever Edit/Browse starts or ends, without any doing by the user.

Regards, Rolf
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Can I get control on Browse/Edit of a dataet?

Post by nicc »

I do not believe that you can do this but...you could default BROWSE to VIEW or... SMF will probably record the opening of the dataset so the info could be gleaned from there. Also, your security software may record the access.
Regards
Nic
RolfD
New Member
Posts: 7
Joined: Thu Apr 02, 2015 6:36 pm

Re: Can I get control on Browse/Edit of a dataet?

Post by RolfD »

nicc wrote:I do not believe that you can do this but...you could default BROWSE to VIEW or... SMF will probably record the opening of the dataset so the info could be gleaned from there. Also, your security software may record the access.
Yes, security-software (RACF here) is something I considered, but I have no skills there. How can I default BROWSE to VIEW?

Thanks, Rolf
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Can I get control on Browse/Edit of a dataet?

Post by nicc »

How can I default BROWSE to VIEW?
By not selecting Browse Mode

Code: Select all

                                       
                                       
       Options                         
          Confirm Cancel/Move/Replace  
       /  Browse Mode                  
          View on Workstation          
       /  Warn on First Data Change    
          Mixed Mode                   
                                       
However, you cannot do this for anyone else but yourself - unless you are a sysprog and rename the VIEW executable to whatever the BROWSE executable is (I guess).
Regards
Nic
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “TSO, ISPF & REXX (Do you still do CLIST?!).”