Shadow areas are completely optional.

Typical uses include overlaying highlighting colours on top of the displayed 
data - for example, if you want to write a "FIND" function for a "needle"  in 
the data displayed in your dynamic area and you wanted to reverse video all 
matches.

Personally, I also avoid using hex values '0A' thru '0F' for my application's 
ISPF attributes - IIRC by default 0A, 0B and maybe 0C are used by ISPF for 
pull-down menus and suchlike and 0D and 0E are used by DBCS. (Warning - 
previous sentence is based on comments in my code that are over 15years old and 
maybe incorrect or out of date)
  

Rob Scott
Lead Developer
Rocket Software
77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA
Tel: +1.781.684.2305
Email: [email protected]
Web: www.rocketsoftware.com


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Dave Day
Sent: 12 July 2012 14:33
To: [email protected]
Subject: Re: ISPF Dynamic panel buffer question.(1st problem solved)

Rob,

     It turned out to be a bad vdefine.  I had a bad address in the parm list 
on the call to ISPF to vdefine the buffer.  It wound up using an address in one 
of my storage areas as the buffer, and I was using the address I thought I had 
vdefined.  From what I have read in the manual, it is not necessary to have a 
shadow area.  Is that correct?

     --Dave
On 7/12/2012 2:29 AM, Rob Scott wrote:
> You can only use CHAR, DATAIN and DATAOUT attributes inside a dynamic area 
> (and CHAR is only valid for shadow variables).
>
> Typically I tend to use attribute characters < x'40' for dynamic area 
> attribute characters as this helps avoid clashes with any text you may want 
> to display.
>
> Rob Scott
> Lead Developer
> Rocket Software
> 77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA
> Tel: +1.781.684.2305
> Email: [email protected]
> Web: www.rocketsoftware.com
>
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] 
> On Behalf Of Dave Day
> Sent: 11 July 2012 23:33
> To: [email protected]
> Subject: ISPF Dynamic panel buffer question.
>
>           Trying to get a panel to display properly.  Getting garbage 
> instead.  I have a panel defined with a dynamic area.  The definitions from 
> the panel are below.  Within the application, I have a character variable 
> vdefined that is the screen size, 24 * 80.  Below is a cut and paste of the 
> 1st part of the buffer, vdefined as DYNMBFR.  When I invoke the DISPLAY 
> function for this panel from within the application, it displays garbage.  I 
> expected to see a formatted character string containing MOST FREQUENTLY 
> OBSERVED INSTRUCTIONS starting in column 22 of the 1st line of the display.  
> The x'4E' is defined on the panel as
> TEXT, with SKIP on. The x'5F' is defined as DATAOUT   color yellow.
> Anyone have any ideas?
>
>       --Dave Day
>
>
>
> )ATTR
>    # AREA(DYNAMIC) EXTEND(ON)  SCROLL(ON) USERMOD(0C) DATAMOD(0D)
>
> )BODY WIDTH(&ZSCREENW)
> #DYNMBFR #
>
>
>
>
>                      4E404040 40404040                       *+ *
>    40404040 40404040 40404040 5FD4D6E2  *            ^MOS*
>    E340C6D9 C5D8E4C5 D5E3D3E8 40D6C2E2  *T FREQUENTLY OBS*
>    C5D9E5C5 C440C9D5 E2E3D9E4 C3E3C9D6  *ERVED INSTRUCTIO*
>    D5E24E40 40404040 40404040 40404040  *NS+             *
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to