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
 

 

)REINIT section in PANEL

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

New User


Joined: 08 Dec 2005
Posts: 9

PostPosted: Thu Aug 23, 2012 8:52 pm    Post subject: )REINIT section in PANEL
Reply with quote

)REINIT section in ISPF Panels is used to initialize or process something when Panel is re-initialized.

I have tried various things/methods to understand what is Panel Re-initialization, but have failed to get the concept

Can anyone please explain, what is meant by Panel Re-initialization and how can I get a Panel to re-initialize?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Aug 23, 2012 9:00 pm    Post subject: Reply to: )REINIT section in PANEL
Reply with quote

the manual explanation seems clear to me ..
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ispzdg70/7.1.17?ACTION=MATCHES&REQUEST=reinit&TYPE=FUZZY&SHELF=ISPZPM70.bks&DT=20080715202837&CASE=&searchTopic=TOPIC&searchText=TEXT&searchIndex=INDEX&rank=RANK&ScrollTOP=FIRSTHIT#FIRSTHIT

the redisplay is something that happens behind the scenes ...

for example when verifying a field and issuing a message
VER (&somefield,NB,MSG=NB001)
then ISPF will redisplay the panel with the error mesage without any action on Your side
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1770
Location: Bloomington, IL

PostPosted: Thu Aug 23, 2012 9:04 pm    Post subject: Re: )REINIT section in PANEL
Reply with quote

princegaurav wrote:
)REINIT section in ISPF Panels is used to initialize or process something when Panel is re-initialized.

I have tried various things/methods to understand what is Panel Re-initialization, but have failed to get the concept

Can anyone please explain, what is meant by Panel Re-initialization and how can I get a Panel to re-initialize?

As the fine manual says:
Quote:
Panel redisplay occurs in either of these situations:

  • Redisplay occurs automatically after the )PROC section has been processed if the .MSG control variable is nonblank and the user has not requested END or RETURN. The .MSG control variable is set automatically if a translation or verification error occurs. It can also be set explicitly by use of an assignment statement in the )PROC section.
  • Redisplay occurs if a dialog function invokes the DISPLAY or TBDISPL service with no panel name specified (a blank).

Note:
See z/OS ISPF Services Guide under the description of TBDISPL for a explanation of how redisplay processing for the TBDISPL service differs from that for the DISPLAY service described here.
Back to top
View user's profile Send private message
princegaurav

New User


Joined: 08 Dec 2005
Posts: 9

PostPosted: Thu Aug 23, 2012 9:12 pm    Post subject: Reply to: )REINIT section in PANEL
Reply with quote

Thank you very much for your replies.
Even I thought that if an error message is produced by VER function, the Panel gets re-initialized.

But today I tried the following code:

)REINIT
&SDIT = 'REINIT'

SDIT is an Panel field with OUTPUT attribute.

I provided an invalid value in an Input field and as expected an error message was produced, but the value of SDIT did not change on panel.

Did I miss anything? Why was changed value of the variable not reflected on Panel?
Has REFRESH command got something to do with this ?
Back to top
View user's profile Send private message
princegaurav

New User


Joined: 08 Dec 2005
Posts: 9

PostPosted: Thu Aug 23, 2012 9:21 pm    Post subject: Reply to: )REINIT section in PANEL
Reply with quote

Yes, I think it the the REFRESH statement that I missed.
If I would have used

REFRESH(*)

I would probably have seen the updated value.

Thank you very much again for your help guys.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Aug 23, 2012 9:26 pm    Post subject: Reply to: )REINIT section in PANEL
Reply with quote

did You remember to use also the REFRESH clause at the end of the reinit section
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 Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm
No new posts SCLM -- not installed -- panel ISRNOSLM dmitchell1105 IBM Tools 3 Fri Jun 09, 2017 10:41 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts the use of 'B3'x character in a panel Pedro TSO/ISPF 1 Thu Feb 16, 2017 3:09 am
No new posts Design of ISPF panel prino TSO/ISPF 2 Wed Jan 25, 2017 10:31 pm


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