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
