Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

VIEW with no prompt later

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Pedro

Senior Member


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

PostPosted: Sat Sep 11, 2010 6:28 am    Post subject: VIEW with no prompt later
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: 2360
Location: Israel

PostPosted: Sun Sep 12, 2010 3:55 pm    Post subject:
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

Senior Member


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

PostPosted: Tue Sep 14, 2010 9:21 pm    Post subject: Reply to: VIEW with no prompt later
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts Help Needed with View Direct shailesh_do CA Products 2 Wed Jul 13, 2016 10:39 am
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm
No new posts Report view in Mobile devices Robert Sample All Other Mainframe Topics 0 Thu Jun 23, 2016 7:05 pm
No new posts COBOL Report view in Mobile devices balaji81_k COBOL Programming 4 Thu Jun 23, 2016 6:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us