View previous topic :: View next topic
|
Author |
Message |
Akshay Yadav
New User
Joined: 09 Dec 2015 Posts: 8 Location: India
|
|
|
|
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... |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Write a rexx program that displays the first panel and then later...
wait for it....
displays the second panel. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
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. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
|