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
 

 

How to display status of the operation within a Input Panel

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

New User


Joined: 29 Aug 2007
Posts: 19
Location: Chennai

PostPosted: Fri Sep 07, 2007 10:05 am    Post subject: How to display status of the operation within a Input Panel
Reply with quote

As per requirement, I need to get the source PDS and destination PDS from the user through a panel.

After getting them, I need to replace the occurance of some defined titles to appropriate new titles.The replacement is done, but the thing is that after replacement I need to inform the user through the same panel telling that:

Status: Successfully replaced.

Kindly advise me how to design a panel for this.

Input panel:

Source PDS: -----------
Destination PDS: ----------

Quote:
After execution only, this same panel needs to be display the status to the user.
Back to top
View user's profile Send private message

avaneendra_linga

New User


Joined: 13 Dec 2006
Posts: 73
Location: Hyderabad

PostPosted: Fri Sep 07, 2007 10:30 am    Post subject: Reply to: How to display status of the operation within a In
Reply with quote

Hi Bahavana,
1) In Panel you can write conditional statements (IF & ELSE) in INIT & PROC section.
so u can have initialization 's based on condition in input so that you can use those variables in BODY sesction.

2) Do the same for second requirement ie have some output variable in BODY section which will be initialised to 'SUCCESSFUL' based on return code from REXX.
Back to top
View user's profile Send private message
Bhuvanakp

New User


Joined: 29 Aug 2007
Posts: 19
Location: Chennai

PostPosted: Fri Sep 07, 2007 1:38 pm    Post subject: How to get the return code from REXX acc
Reply with quote

Hi,

Thanks, tried with the following code:

Code:

)ATTR                                                                   
       % TYPE(INPUT) INTENS(HIGH) COLOR(TURQ) HILITE(USCORE) PAD(' ')   
       + TYPE(TEXT)  INTENS(LOW) COLOR(GREEN)                           
       # TYPE(TEXT)  INTENS(LOW) COLOR(TURQ)                           
       @ TYPE(TEXT)  INTENS(LOW) COLOR(BLUE)                           
)BODY                                                                   
#-----------REPORT TITLE CONVERSION TOOL-------------- #               
+                                                      +               
@  @Please provide all the information required below@ @               
+                                                      +               
+ SOURCE PDS:      %P                                                  +
+                                                                      +
+ DESTINATION PDS: %D                                                  +
+                                                                      +
+ STATUS: %R                                                          +
+                                                                       
+PF1#Help  +PF3#Exit +                                                 
)INIT                                                                   
  &P=' '                                                               
  &D=' '                         
  &R=' '                         
  .HELP=ITHELP                   
)REINIT                         
 REFRESH(*)                     
)PROC                           
  VPUT (P) SHARED               
  VPUT (D) SHARED                 
  VPUT (ZPFKEYS) SHARED           
  VGET (R) SHARED                 
  VER(&P,NB)                       
  VER(&D,NB)                       
  IF (&R=0) THEN                   
      &R='SUCCESSFUL'             
)END


But it's showing error in if statement part. Kindly correct me...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Sep 07, 2007 2:23 pm    Post subject:
Reply with quote

AFAIK, there is no THEN in panel's IF.

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
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am
No new posts SCLM -- not installed -- panel ISRNOSLM dmitchell1105 IBM Tools 3 Fri Jun 09, 2017 10:41 pm
No new posts Need input in Scheduling Benchwarmer CA Products 5 Tue Jun 06, 2017 1:44 am


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