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

Rexx Panel Navigation


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 1306
Location: Vilnius, Lithuania

PostPosted: Wed Feb 17, 2016 3:47 pm
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

Global Moderator


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

PostPosted: Wed Feb 17, 2016 7:14 pm
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: 1306
Location: Vilnius, Lithuania

PostPosted: Wed Feb 17, 2016 9:09 pm
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 Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Wed Feb 17, 2016 9:47 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Feb 17, 2016 10:23 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top