View previous topic :: View next topic
|
Author |
Message |
gayathiridevi
New User
Joined: 15 Jul 2010 Posts: 8 Location: chennai
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
OK. Displaying a panel is a relatively simple task. What specifically is your question? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
gayathiridevi wrote: |
[...]
[...] |
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
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 |
|
|
|