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
 

 

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: 4648
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: 7306

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: 10231
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: 1226
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 Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts scheduling between OPC and TWS give u... nsbl IBM Tools 1 Sun Mar 12, 2017 5:35 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm


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