You can manually turn Tab to Point and Shoot on or off by entering this command 
on any ISPF command line:

ISPFVAR PSTAB(ON)


You can turn TPS on or off programatically by doing this: 

address ispexec                                        
"CONTROL ERRORS RETURN"                                
"VGET (ZTPS) PROFILE"                                  
if ztps = "Y" then do                                  
   say "Tab to point-and-shoot was on; turning it off" 
   onoff = "OFF"                                       
end                                                    
else do                                                
   say "Tab to point-and-shoot was off; turning it on" 
   onoff = "ON"                                        
end                                                    
"SELECT PGM(ISPOPT) PARM(PSTAB("onoff"))"              
if rc = 0 then say "Tab to point-and-shoot is now "onoff   
else say rc zerrsm zerrlm                              
EXIT                                                   

 

Hope that helps,

Dave Salt

SimpList(tm) - try it; you'll get it! 

http://www.mackinney.com/products/program-development/simplist.html  






> Date: Thu, 12 Aug 2010 09:16:55 +0200
> From: dt...@dow.com
> Subject: ISPF: How best to change ISPSPROF variables programmatically (was 
> ISPF: How best to change user variable ZRETMINL in ISPSPROF)
> To: IBM-MAIN@bama.ua.edu
> 
> Hi,
> 
> I was actually hoping to see a response to something more similar to
> Mark's interpretation. In particular I wanted a programmatic (REXX) way
> to (re)set the "tab to point and shoot fields" on the way in to
> TSO/ISPF. This in particular because MXI turns it on, but of course if
> you time out, it is left in that state (MXI does clean it up on the way
> out normally). The variable is ZTPS (values 'N' or 'Y'). 
> 
> I do see that I can just edit the ISPSPROF member to change it, but that
> does seem inelegant and (I think) would have to be done before invoking
> ISPF to be properly effective.
> 
> 
> Best regards,
> David Tidy                                    Tel:(31)115-67-1745
> IS Technical Management/SAP-Mf                Fax:(31)115-67-1762     
> Dow Benelux B.V.                              Mailto:dt...@dow.com
> 
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
> Behalf Of Mark Zelden
> Sent: 11 August 2010 19:01
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: ISPF: How best to change user variable ZRETMINL in ISPSPROF
> 
> On Wed, 11 Aug 2010 09:30:49 -0500, Jochen Roehrig
> <jochen.roeh...@baloise.ch> wrote:
> 
> >Hi Robert
> >
> >that's it!
> >Shame on me: I knew the RETP, but I never recognized the 'OPTIONS'...
> >
> >Kind regards
> >Jochen
> >
> 
> You may have received a quicker answer if the question was more clear.
> But
> maybe it was clear to everyone but me.  :-)
> 
> I thought you wanted a way to either
> 
> a) Change the default via customization table for everyone (which you 
> can't because there is no reset value)
> 
> b) mass update everyone's ISPF profile because the set a bad default
> in the customization table and already knew you couldn't do the above.
> 
> 
> Regards,
> 
> Mark
> --
> Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS       
> mailto:mzel...@flash.net                                          
> Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html 
> Systems Programming expert at http://expertanswercenter.techtarget.com/
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
                                          
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to