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

Display the result in the panel


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

New User


Joined: 15 Jul 2010
Posts: 8
Location: chennai

PostPosted: Wed Sep 07, 2011 5:42 pm
Reply with quote

I have to display the result in the panel:

1.I have the main panel in that I will get the below inputs:

A)JOBNAME
B)START TIME
C)RUN STATUS
D)WEEKLY STAUTS

Using this above inputs from panel I have to do sum operation in the program and have to display the sum result in the RESULT PANEL.
eg:
IF (JOBNAME=AAAA)
Delay=2.25 + start time
ELSE IF (JOBNAME=AAAA)
Delay=3.00 + start time
......
End

Result Panel looks like below:
JOBNAME:AAAAA
Delay:23.00
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Sep 07, 2011 5:46 pm
Reply with quote

OK. Displaying a panel is a relatively simple task. What specifically is your question?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Sep 07, 2011 5:57 pm
Reply with quote

gayathiridevi wrote:
[...]
Code:
          D)WEEKLY STAUTS
[...]


If anyone is using your panel it is nice to get the spelling correct.

gayathiridevi wrote:
Code:
      IF (JOBNAME=AAAA)
           Delay=2.25 + start time
      ELSE IF (JOBNAME=AAAA)
           Delay=3.00 + start time
     ......
     End
[...]


Please use the code tags to preserve your spacing.


Having already tested JOBNAME for AAAA there is no point in doing it again on the ELSE...

As superk says, an actual question would be nice :-)
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Sep 07, 2011 6:04 pm
Reply with quote

so ... what is the question?

this is a help forum not a do it for me

if You had searched the forum before posting You would have found quite a few links on how to display a panel populating the various fields.

anyway whatever the programming language
the constructs
Code:
IF (JOBNAME=AAAA)
Delay=2.25 + start time
ELSE IF (JOBNAME=AAAA)
Delay=3.00 + start time

are just plain wrong, unless that' s some kind of pseudo code

hint search the forums for ISPEXEC DISPLAY PANEL and check search for all terms
You will have a wide choice of results to meditate on

for the whole rexx ispf shebang here are the links

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IKJ4BK90

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ISPZPM70

not the latest ones but more than enough for a beginner
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Wed Sep 07, 2011 8:30 pm
Reply with quote

1. Variables defined in the panel are available to the rexx program that displays the panel.
2. basic validation can be done in the panel itself.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts first column truncated in search result IBM Tools 13
No new posts Call program, directly from panel CLIST & REXX 9
No new posts SDSF like solution in EJES (store com... All Other Mainframe Topics 4
No new posts executing XCTL command in COBOL witho... CICS 10
Search our Forums:

Back to Top