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
 
Rexx Panel Navigation

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

New User


Joined: 09 Dec 2015
Posts: 8
Location: India

PostPosted: Wed Feb 17, 2016 11:50 am    Post subject: Rexx Panel Navigation
Reply with quote

Hi Everyone,

Here is my simple rexx panel code.....

Code:
)ATTR                                                                   
% TYPE (TEXT)   INTENS (HIGH) COLOR (GREEN)  SKIP (ON)                 
# TYPE (TEXT)   INTENS (HIGH) COLOR (YELLOW)                           
_ TYPE (INPUT)  INTENS (LOW)  COLOR (GREEN)  PAD  (_)                   
$ TYPE (OUTPUT) INTENS (HIGH) COLOR (BLUE)                             
)BODY WINDOW(50,30)                                                     
*----------------------------------------------------------------------*
#    WELCOME TO ELT TRAINEE PAGE                                       
*----------------------------------------------------------------------*
 TIME:$TIM             %                                               
 DATE:$DAT             %                                               
 ENTER YOUR NAME: _Z              %                                     
 ENTER YOUR AGE: _Z %                                                   
*----------------------------------------------------------------------*
)INIT                                                                   
 .ZVARS = '(NAME AGE)'                                                 
 &NAME = ''                                                             
 &AGE = ''                                                             
)REINIT                                                                 
 .CURSOR = &AGE                                                         
)PROC                                                                                                                   
 VER (&AGE,NB)                                                         
 VER (&NAME,NB)                                                         
)END                                         



If i give all input fields and press enter, then my requirement is that it should go to second panel.


Anyone please help me... icon_cry.gif
Back to top
View user's profile Send private message

prino

Senior Member


Joined: 07 Feb 2009
Posts: 1060
Location: Oostende, Belgium

PostPosted: Wed Feb 17, 2016 3:47 pm    Post subject:
Reply with quote

REXX panels do not exist.

You cannot transition from one panel to another, with the exception of transitioning between a panel and its help panel (or the ISPF help system)

Go back to your PHB and tell him the requirements cannot be met. Then do something useful yourself, like reading the "ISPF Dialog Developer's Guide and Reference".
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2086
Location: Silicon Valley

PostPosted: Wed Feb 17, 2016 7:14 pm    Post subject: Reply to: Rexx Panel Navigation
Reply with quote

Write a rexx program that displays the first panel and then later...

wait for it....

displays the second panel.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1060
Location: Oostende, Belgium

PostPosted: Wed Feb 17, 2016 9:09 pm    Post subject: Re: Reply to: Rexx Panel Navigation
Reply with quote

Pedro wrote:
Write a rexx program that displays the first panel and then later...

wait for it....

displays the second panel.

Is it really that easy? Sheesh, never to old to learn. icon_eek.gif
Back to top
View user's profile Send private message
Willy Jensen

Active User


Joined: 01 Sep 2015
Posts: 170
Location: Switzerland

PostPosted: Wed Feb 17, 2016 9:47 pm    Post subject:
Reply with quote

Or have the 1st panel be a SELECTION panel with something like this in the PROC section_:
&ZSEL = 'PANEL(second)'
You can have the statement in a IF block.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Wed Feb 17, 2016 10:23 pm    Post subject: Reply to: Rexx Panel Navigation
Reply with quote

the TS is a beginner who did not care to look at the ISPF primer link I posted
nor search the forum for samples

I suggested a move to the beginner' s forum but the post was deleted.
the TS really belongs there
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 write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am

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