Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Setting the position, width and height of a pop up panel
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    Post subject:
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

Moderator Team Head


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

PostPosted: Thu May 31, 2007 8:52 pm    Post subject: Re: Setting the position, width and height of a pop up panel
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    Post subject:
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

Moderator


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

PostPosted: Fri Jun 01, 2007 3:54 pm    Post subject:
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    Post subject:
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

Moderator


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

PostPosted: Fri Jun 01, 2007 4:46 pm    Post subject:
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

Moderator


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

PostPosted: Fri Jun 01, 2007 4:47 pm    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts XFACILIT class setting for Fault Anal... egrove IBM Tools 2 Thu Aug 11, 2016 8:02 pm
No new posts Rexx Panel Validation ajithajt CLIST & REXX 6 Sun Jul 17, 2016 10:50 pm
This topic is locked: you cannot edit posts or make replies. Providing inputs to a panel of anothe... Raghur CLIST & REXX 2 Tue Apr 05, 2016 12:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us