Force to place any charaters and then save.



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

Re: Frce to place any charaters and then save.

Postby BillyBoyo » Tue Apr 09, 2013 2:04 pm

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.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Force to place any charaters and then save.

Postby dick scherrer » Tue Apr 09, 2013 6:48 pm

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. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Force to place any charaters and then save.

Postby Pedro » Tue Apr 09, 2013 9:12 pm

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.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: Force to place any charaters and then save.

Postby Ed Goodman » Wed Apr 10, 2013 6:59 pm

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.
Ed Goodman
 
Posts: 341
Joined: Thu Feb 24, 2011 12:05 am
Has thanked: 3 times
Been thanked: 17 times

Re: Force to place any charaters and then save.

Postby Pedro » Wed Apr 10, 2013 8:20 pm

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.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: Force to place any charaters and then save.

Postby Mehdi shri » Wed Apr 10, 2013 9:36 pm

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?
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: Force to place any charaters and then save.

Postby enrico-sorichetti » Wed Apr 10, 2013 9:51 pm

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
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-sorichetti
Global moderator
 
Posts: 3006
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 165 times

Re: Force to place any charaters and then save.

Postby BillyBoyo » Thu Apr 11, 2013 3:18 pm

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.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: Force to place any charaters and then save.

Postby dick scherrer » Thu Apr 11, 2013 7:38 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Force to place any charaters and then save.

Postby Pedro » Thu Apr 11, 2013 11:39 pm

I think you need a formal library system where changes can only be promoted after a code review and approval.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Previous

Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post