View previous topic :: View next topic
|
Author |
Message |
leo_viky
New User
Joined: 28 Oct 2006 Posts: 9
|
|
|
|
Hi all,
Could someone tell if it is possible to have all 80 characters of a line in a panel as input filed...im asking this because the first byte gets allocated to the attribute byte.....is there some method to override it...ive heard of shadow bytes...but nothin more.. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Who says panel width is 80 character? Try to use a 130-characters library and see....
O. |
|
Back to top |
|
|
leo_viky
New User
Joined: 28 Oct 2006 Posts: 9
|
|
|
|
When im trying to execute the following ISPF Panel code in a PDS having rec length 80 it works fine but as per your suggestion ive tried the same code with rec length 100 i get the following error message
Panel 'ATST' error
Panel not found.
ISPF Panel Definition
)ATTR
? TYPE(INPUT) INTENS(HIGH)
)BODY
?LINE1
?LINE2
?LINE3
)END
Application Code
ADDPOP
DISPLAY PANEL(ATST)
REMPOP
Is this a limitation or am i not doing it properly...please direct me..thanks |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
The fina manual says that panel width can be 80-160 wide.
Anyway, your problem looks like the panel library wasn't allocated to ISPPLIB.
O. |
|
Back to top |
|
|
leo_viky
New User
Joined: 28 Oct 2006 Posts: 9
|
|
|
|
nope ive properly allocated the panel library to ISPPLIB,and iive read the fine manual,but im repeatedly getting the same error....but if i move the same panel code to a pds with rec length 80 and allocate it to ISPPLIB it works fine..of course with the first byte used up for the attribute byte...how do i overcome this..
basically my requirement is this....Im trying to display a panel (24x80) with all the lines as input fields..like a free text editor...infact i wasnt able to expand the window to 24x80 since i was gettin error msgs regarding width exceeding screen width etc...but ive overcome this with the RESIZE command but nw im stuck with this prob..pls help me out.. |
|
Back to top |
|
|
|