Page 2 of 2

Re: Frce to place any charaters and then save.

PostPosted: Tue Apr 09, 2013 2:04 pm
by BillyBoyo
If it is effectively a "user application" then it is no different from having to complete a data-entry screen correctly, or abandoning it, before moving on to the next then.

Obviously if applied to general editing in an IT environment, expect a Lynch Mob.

Re: Force to place any charaters and then save.

PostPosted: Tue Apr 09, 2013 6:48 pm
by dick scherrer
Hello,

And once the "force" is entered into the data, anyone else editing the data will be able to update it . . . :?

Methinks this needs to be rethought. . .

Re: Force to place any charaters and then save.

PostPosted: Tue Apr 09, 2013 9:12 pm
by Pedro
I do the same / opposite for myself. When I try to edit (ISPF option 2) an SCLM controlled data set, I exit immediately with a warning message not to edit that data set.

Re: Force to place any charaters and then save.

PostPosted: Wed Apr 10, 2013 6:59 pm
by Ed Goodman
Wow...tough room. Prino and Enrico are like those two guys in the balcony of The Muppet Show, or maybe Tom Servo and Crow from MST3K.

Re: Force to place any charaters and then save.

PostPosted: Wed Apr 10, 2013 8:20 pm
by Pedro
Wow...tough room.

I agree with the other posters about the original post being poorly written, but I was more forgiving because English is likely their second (or third) language.

In the product I support, we have had to resolve customer problems: 'Why did you let me save values that were invalid?' (it caused problems downstream). Though my problem did not occur in the editor, the basic issue is a valid concern.

Re: Force to place any charaters and then save.

PostPosted: Wed Apr 10, 2013 9:36 pm
by Mehdi shri
Mr. Pedro
I want to use forcing for our JCL editors to writes associated comments on associated line if the JCL. If they are to refrain from writing comments, upon they want to exit from JCL members whitout writing a comment for example in line 2, my edit macro show them a message like this:
"YOU MUST PUT COOMENT ON YOUR CHANGES"
and doeing prevention to exit.
Is my meaning obvious for you and other friends?

Re: Force to place any charaters and then save.

PostPosted: Wed Apr 10, 2013 9:51 pm
by enrico-sorichetti
for critical data, to protect myself from fat fingers
I use an initial macro to issue an AUTOSAVE PROMPT, so that it nullifies PF3
and forces typing SAVE in the command line

Re: Force to place any charaters and then save.

PostPosted: Thu Apr 11, 2013 3:18 pm
by BillyBoyo
Mehdi shri,

I'm not sure that what you are trying will be as effective as you think.

There is no way your macro can know that a comment is "meaningful", yet you can get a "false sense of security" by thinking that everything has a comment in it.

I think it would be better to list out all the comments of all those members which have changed "recently" (being whatever period of time is chosen) and then subject them to a "human review" (someone reads them) so that the comments are known to be: present; meaningful; correct connected accurately to external references for the change.

Personally I'd list the changed JCL as well, as there is no point in the comments being fine if the JCL is wrong/not even changed.

Re: Force to place any charaters and then save.

PostPosted: Thu Apr 11, 2013 7:38 pm
by dick scherrer
Hello,

For this concern, i like what Enrico has provided:
for critical data, to protect myself from fat fingers
I use an initial macro to issue an AUTOSAVE PROMPT, so that it nullifies PF3
and forces typing SAVE in the command line

I am also a big believer of regular (proven) backups. . .

I also offer that if these members are "special", not very many should have the ability to update them.

Re: Force to place any charaters and then save.

PostPosted: Thu Apr 11, 2013 11:39 pm
by Pedro
I think you need a formal library system where changes can only be promoted after a code review and approval.