Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Display the result in the panel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Display the result in the panel
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

Moderator Team Head


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

PostPosted: Wed Sep 07, 2011 5:46 pm    Post subject: Reply to: Display the result in the panel
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Sep 07, 2011 5:57 pm    Post subject: Re: Display the result in the panel
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Wed Sep 07, 2011 6:04 pm    Post subject: Reply to: Display the result in the panel
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

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

http://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: 1243
Location: Israel

PostPosted: Wed Sep 07, 2011 8:30 pm    Post subject:
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    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 display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm
No new posts Trace in CLIST PANEL cvnlynn CLIST & REXX 1 Thu Jun 22, 2017 11:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us