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
 

 

Changing screen variables in ISPF

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

New User


Joined: 22 Feb 2008
Posts: 12
Location: United Kingdom

PostPosted: Tue Mar 31, 2009 4:10 pm    Post subject: Changing screen variables in ISPF
Reply with quote

I want to change the value of the screen variable that gets displayed in the panel from ISPF PANEL PROC section. Is there a way to do it?

E.g) Instead of using ISPF Message if i try to display my message in the screen area though a screen variable by changing its value in my ISPF PROC section, it is not getting displayed. The value that is passed from INIT section is retained. How can i change the screen text from Panel PROC section?
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Mar 31, 2009 4:30 pm    Post subject:
Reply with quote

The PROC section is invoked when the user hits the ENTER key. This means that if you want to see your changes, you have to put your DISPLAY PANEL statement within a loop.

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

New User


Joined: 22 Feb 2008
Posts: 12
Location: United Kingdom

PostPosted: Wed Apr 01, 2009 10:38 am    Post subject:
Reply with quote

I have to loop the display statement with in my REXX code where i call my panel if i want to get my variable values updated. I cannot do this inside the ISPF panels. Correct my understanding if it is wrong.

PS: I tried displaying the panel at the end of PROC section. I am getting error.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Apr 01, 2009 10:43 am    Post subject:
Reply with quote

The only method to "display" a panel from within another panel is through selection panel (aka "menu").

If you want to see updated values (after PROC processing), you will have to invoke the DISPLAY service again.

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

New User


Joined: 22 Feb 2008
Posts: 12
Location: United Kingdom

PostPosted: Wed Apr 01, 2009 10:46 am    Post subject:
Reply with quote

In my case I am displaying the panel from REXX. So i will loop the display panel in REXX to meet my requirement.

Many thanks for clarifying by doubts.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Apr 01, 2009 10:50 am    Post subject:
Reply with quote

By the way, you can use CONTROL DISPLAY LOCK to display the panel twice and process the PROC section, without the user noticing it.

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

New User


Joined: 22 Feb 2008
Posts: 12
Location: United Kingdom

PostPosted: Wed Apr 01, 2009 11:45 am    Post subject:
Reply with quote

I tried using this option. The PROC section gets called before user entering the values for the input fields. Can i say when we use "CONTROL DISPLAY LOCK" the proc section gets called before getting the input from the user?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Apr 01, 2009 11:47 am    Post subject:
Reply with quote

Yes. CONTROL DISPLAY LOCK simply locks the user's keyboard, but ISPF panel processing performs as usual.

O.
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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts ISPF program to set SCRNAME prino TSO/ISPF 5 Fri Sep 30, 2016 2:18 pm
No new posts Increase the screen size after split mistah kurtz TSO/ISPF 2 Fri Sep 02, 2016 6:39 pm


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