Can I get control on Browse/Edit of a dataet?
Moderator: mickeydusaor
Can I get control on Browse/Edit of a dataet?
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
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
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Can I get control on Browse/Edit of a dataet?
You will get better replies if You tell what are You going to do with the saved dataset name.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.
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
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

Re: Can I get control on Browse/Edit of a dataet?
I would like to VPUT the DS-Name (incl. Member if PO) to an SPF-var.
Regards, Rolf
Regards, Rolf
- enrico-sorichetti
- Global Moderator
- Posts: 843
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Can I get control on Browse/Edit of a dataet?
You already told that ...would like to VPUT the DS-Name (incl. Member if PO) to an SPF-var.
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
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

Re: Can I get control on Browse/Edit of a dataet?
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.enrico-sorichetti wrote:You already told that ...would like to VPUT the DS-Name (incl. Member if PO) to an SPF-var.
what are You going todo with it afterwards ???
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
Re: Can I get control on Browse/Edit of a dataet?
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
Nic
Re: Can I get control on Browse/Edit of a dataet?
Yes, security-software (RACF here) is something I considered, but I have no skills there. How can I default BROWSE to VIEW?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.
Thanks, Rolf
Re: Can I get control on Browse/Edit of a dataet?
By not selecting Browse ModeHow can I default BROWSE to VIEW?
Code: Select all
Options
Confirm Cancel/Move/Replace
/ Browse Mode
View on Workstation
/ Warn on First Data Change
Mixed Mode
Regards
Nic
Nic
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