I was using ISPF 3.3 on z/OS 2.5 and received a dialog error:
***** Dialog Error ***** - Application(ISR); Function Module (ISRUMC);
Service(DISPLAY)
Panel 'ISRUMC1' error - Conversion or truncation problem found while
attempting to store variable
'ZOPT'.
I'm trying to figure out how to recreate the error so I can have a case opened
with IBM. The problem is I don't remember exactly what I did, even immediately
after I hit the error. I know I accidently typed something I shouldn't, and
then, I think, hit the error on PF3 from the panel.
In the panel code the only reference to ZOPT is in this code (not showing the
whole panel, just relevant lines):
)INIT
&ZCMD = &ZOPT
)PROC
VER(&ZCMD,NB,LIST,M,C,MP,CP)
&ZOPT = &ZCMD
I think what it is doing is saving the entered ZCMD (M, C, MP, CP) so that when
you return to the starting panel after executing the move or copy, it restores
that to the ZCMD field.
What exactly does the "Conversion or truncation problem found while attempting
to store variable" error mean? Is "storing" the variable mean it can't save it
in ZCMD? Or in the function pool? (The panel isn't a menu, and has no VPUT of
ZOPT, so it shouldn't be storing it in the shared or profile pools.)
Note that in ISPF:
* You still execute the )PROC when you PF3
* Failing a VER doesn't stop execution of code
So it is possible for a value of ZCMD that is not M, C, MP, or CP to get put in
ZOPT.
If I knew what kind of value would generate the error then I could figure out
how to make that happen.
___________________________________________________
Michael Schmitt | DXC Apps Development | MassMutual
(737) 910-8248 | [email protected]
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN