misi01 Advanced
Joined: 02 Dec 2002 Posts: 624 Topics: 175 Location: Stockholm, Sweden
|
Posted: Thu Nov 06, 2014 9:17 am Post subject: Bug (?) in ISPF action bar processing |
|
|
Here is a simple, stripped down version of a panel I have
Code: |
)ATTR
. TYPE(PT) /* Panel title */
% TYPE(ET) /* Emphasized text */
+ TYPE(NT) /* Normal text */
_ TYPE(NEF) /* Normal entry field */
$ TYPE(AB) /* Action bar */
/* */
)ABC desc(Options)
PDC DESC('Option 1')
PDC DESC('Option 2')
PDC DESC('Option 3')
PDC DESC('Option 4')
PDC DESC('Option 5') ACTION RUN(RESET)
)ABCINIT
.zvars = OPTS
/* */
/* */
/* */
)ABC DESC(Help)
PDC DESC('Extended Help...')
ACTION RUN(HELP)
)ABCINIT
.ZVARS = HELPX
.RESP = ENTER /* Don't even show choice */
/* */
/* */
/* */
)Body width(&ZSCREENW) expand(//)
+$ Options$ Help+
. Panel Title
%===>_ZCMD +
+This is normal text. Right?_ANS+ (Yes, No)
+
)INIT
)PROC
)END
|
If you test this, it works fine. Now remove the string ACTION RUN(RESET) from option 5 and try again. You'll get error ISPP409 which seems strange, or is there something I'm missing? _________________ Michael |
|