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

Setting the position, width and height of a pop up panel


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ashwin_mudikon

New User


Joined: 03 Apr 2007
Posts: 32
Location: Chennai

PostPosted: Thu May 31, 2007 6:31 pm
Reply with quote

Hi,

I have created a panel and i am displaying it as pop-up window using a rexx program.

Is there any way to set the position, width and height of the pop-up panel?


Thanks,
Ashwin
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Thu May 31, 2007 7:33 pm
Reply with quote

In the panel in the BODY section.

)BODY Window(65,12)


this is 65 characters wide and 12 lines in length.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu May 31, 2007 8:52 pm
Reply with quote

And the position is specified in the ADDPOP service.
Back to top
View user's profile Send private message
Ashwin_mudikon

New User


Joined: 03 Apr 2007
Posts: 32
Location: Chennai

PostPosted: Fri Jun 01, 2007 11:29 am
Reply with quote

i ve got that ADDPOP parameters

it's row(m) column(n) to set the position of a popup panel.

And also just an info, the width of a window should be greater than 8 and less than the screen size. This I got as an error message while using the window option in the panel.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Fri Jun 01, 2007 3:54 pm
Reply with quote

Can you please give your REXX program and the panel code?
Back to top
View user's profile Send private message
Ashwin_mudikon

New User


Joined: 03 Apr 2007
Posts: 32
Location: Chennai

PostPosted: Fri Jun 01, 2007 4:12 pm
Reply with quote

This is my panel definition

Code:
)attr
  + type(text) just(left) color(red)
  _ type(output) just(left) intens(high)
)body window(70,3)
+                                      Message
_msg
+
)end


This is my panel display part in rexx

Code:
"ispexec addpop row(5) column(2)"
"ispexec display panel(msgpanel)
"ispexec rempop"
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Fri Jun 01, 2007 4:46 pm
Reply with quote

Code:


code:

/*REXX*/
"ISPEXEC LIBDEF ISPPLIB DATASET ID('  xxx  ')"
"ISPEXEC ADDPOP ROW(5) COLUMN(2)"
"ISPEXEC DISPLAY PANEL(EX1)"
IF RC\=0 THEN DO
SAY 'COMMAND CANCELLED'
EXIT
END
ELSE
SAY 'YOUR NAME IS' URNAME
EXIT



give your dataset name where ur panel definition is present and execute.
Hope this helps


Thanks,
Prem


Code:
Code:
Code:
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Fri Jun 01, 2007 4:47 pm
Reply with quote

In Display panel give the name of the panel which has panel definition.



Thanks,
Prem
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 INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Call program, directly from panel CLIST & REXX 9
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
No new posts parsing variable length/position data... DFSORT/ICETOOL 5
Search our Forums:

Back to Top