View previous topic :: View next topic
|
Author |
Message |
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
Hi All,
I have writtern one REXX program which will invoke panel also.I am using ADDPOP command to display the popup window.I just want to know that, can we accept any data using popup window.I tried to get data from popup window, but I am not getting expected data in REXX program.
Is any way to accept data using Popup window
Regards,
Bipin Peter |
|
Back to top |
|
|
ezio vin
New User
Joined: 16 Aug 2012 Posts: 44 Location: india
|
|
|
|
Hi,
yes its possible to get a input values in POP up window
in attribute and proc section add this following code
Code: |
)ATTR
_ TYPE(INPUT) INTENS(HIGH) COLOR(YELLOW) PAD('_')
)PROC
VER (&INPSFAA,NB) |
in rexx routine you can see the value in variable "INPSFAA" whatever you have entered in screen
if you want to display values from rexx routine to your popup you have to use this following attribute in attribute section
Code: |
+ TYPE(OUTPUT) INTENS(LOW) COLOR(TURQ) CAPS(OFF) |
dont forget to use these attributes in body section |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
Is any way to accept data using Popup window |
As far as I know, popup panels can do anything that other panels can do. The only difference is the size of the window. |
|
Back to top |
|
|
don.leahy
Active Member
Joined: 06 Jul 2010 Posts: 765 Location: Whitby, ON, Canada
|
|
|
|
Pedro wrote: |
Quote: |
Is any way to accept data using Popup window |
As far as I know, popup panels can do anything that other panels can do. The only difference is the size of the window. |
That, and you can move them around your screen by putting the cursor on the border and hitting Enter. |
|
Back to top |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
don.leahy wrote: |
That, and you can move them around your screen by putting the cursor on the border and hitting Enter. |
I never knew that. Thank-you! |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
bipinpeter wrote: |
can we accept any data using popup window |
This is another example of poor terminology leading to erroneous presupposed events.
ACCEPT is an i/o operation, specifically associated with the COBOL verb,
input from screen is performed in rexx via parse, pull ... among others.
input from a PANEL is performed by ISPF via association of variable name in PANEL and REXX code.
if you would understand that, you will be in a better position
to write and debug in the future. |
|
Back to top |
|
|
|