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

VIEW with no prompt later


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pedro

Global Moderator


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

PostPosted: Sat Sep 11, 2010 6:28 am
Reply with quote

I want to VIEW a temporary dataset with an initial macro. The macro makes some formatting changes.

Since it is a temporary file, it I do not want to be bothered by the VIEW Warning panel that is displayed on Exit. How to avoid that panel?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Sep 12, 2010 3:55 pm
Reply with quote

Instead of ISREDIT END, you can use ISREDIT CANCEL.

When using CANCEL, you can control the appearance and absence of the confirmation panel by setting and un-setting the system variable ZPCFMCNP.

O.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Tue Sep 14, 2010 9:21 pm
Reply with quote

Sorry, if my post was not clear. I want to show the VIEWed dataset, but do not wish to see the exit confirmation panel when the user is done.

Thanks to my colleagues, I just learned of the CONFIRM and CHGWARN parameters. They did what I wanted.
Code:
"VIEW DATAID("dataid") PANEL(mydde2) MACRO(mymacro)", 
                     "CONFIRM(NO) CHGWARN(NO)"


Also, my initial macro mapped the END command to CANCEL so that the user ends in the customary way:
Code:
Address ISREDIT           
"MACRO"                                             
"DEFINE END  ALIAS CANCEL"
"DEFINE EXIT ALIAS CANCEL"
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Wed Sep 15, 2010 1:43 am
Reply with quote

Pedro,
While in your customised VIEW, if a user invokes another window using the EDIT primary command is the END command still aliased? They might think they are saving changes but not!
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

 


Similar Topics
Topic Forum Replies
No new posts SET PATH in View DDL DB2 2
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Issues with VIEW DATASET Command CLIST & REXX 2
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts How to filter PDS member using LMINIT... CLIST & REXX 4
Search our Forums:

Back to Top