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

ISPF Panels how to reset the fields


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

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Sat Jun 12, 2010 3:11 am
Reply with quote

Hi,

I am trying to learn ISPF panels, i created a panel and fields in the panel are getting values from somewhere i don't know where. Now i need to clear those values when the panel is opened.

Panel code
Code:
)ATTR DEFAULT(%+_)                                   
  $ TYPE(INPUT) INTENS(LOW) PAD(_) CAPS(OFF)         
  ! TYPE(INPUT) INTENS(LOW) PAD(' ') CAPS(OFF)       
  ` TYPE(OUTPUT) INTENS(HIGH)                       
)BODY EXPAND(//) WIDTH(80)                           
%/-/ DB2 DATABASE STATUS CHECKS TEST 1 /-/+         
%COMMAND ===>_ZCMD                                   
+                                                   
+SSID    %=>_SSID  +DATABASE    %=>_DB             +
+                                                   
+ENTER%CLR+TO CLEAR ALL FIELDS OR%END+TO EXIT.       
)MODEL CLEAR(SSID,DB)                               
)INIT                                               
)PROC                                               
  VER (&SSID,NB,PICT,'AANA')                         
)END                               


rexx code
Code:
/* REXX */                                                     
"ISPEXEC LIBDEF ISPPLIB DATASET ID('HXSULL.PANEL')"           
"ISPEXEC DISPLAY PANEL(TEST1)"


Output:
Code:
---------------------- DB2 DATABASE STATUS CHECKS TEST 1 ---------------------
COMMAND ===>                                                                 
                                                                             
SSID     => HELLO  DATABASE     =>                                           
                                                                             
ENTER CLR TO CLEAR ALL FIELDS OR END TO EXIT.                                 


"HELLO" is the value, i am talking about.

Can you tell me how to reset those fields.

Thank You,
Sushanth
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Sat Jun 12, 2010 3:32 am
Reply with quote

Hi,

i tried to initialize values like below,

Code:
SSID = '    '         
DB ='        '     

before calling the panel.

it worked!

Thanks,
Sushanth
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Question regarding ISPF tables with T... TSO/ISPF 11
No new posts Extract ISPF table column headings CLIST & REXX 2
No new posts Partial Sort conditions for PD fields DFSORT/ICETOOL 16
No new posts Help required to reset decimal points... DFSORT/ICETOOL 10
No new posts Pull data using date difference betwe... DB2 6
Search our Forums:


Back to Top