Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Truncated error message after VERIFY with LISTV

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
David Sde

New User


Joined: 24 Apr 2011
Posts: 23
Location: USA

PostPosted: Mon Sep 05, 2016 11:26 pm    Post subject: Truncated error message after VERIFY with LISTV
Reply with quote

Hi,

I hope someone can guide me. I need to validate an input field against a list of forty possible values. In the INIT section, I have:

Code:
&VALUES = 'VALUE1    +
           VALUE2    +
           VALUE3    +
<etc>
           VALUE40'   


In the )PROC section, I say:

Code:
VER (&FIELD1,NB,LISTV,&VALUES)


The VER is working perfectly, but my issue is with the error message displayed when the user enters an invalid value. The displayed "short message" is INVALID VALUE, which is fine. But when I hit PF1 to display the "long message," I get a box with the message: "Enter one of the listed values ('VALUE1,VALUE2,VALUE3,..'), and the list is incomplete. Instead of showing all forty valid values, it only appears to show as many values as will fit on a single row of the panel.

Is there a way I force the panel to display the entire list of valid values? It would probably take up about three panel rows, but I'm willing to do that if it's possible.

Thanks so much,

David
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Sep 06, 2016 12:07 am    Post subject: Reply to: Truncated error message after VERIFY with LISTV
Reply with quote

read the ISPF manuals for the format of the short and long messages
Back to top
View user's profile Send private message
David Sde

New User


Joined: 24 Apr 2011
Posts: 23
Location: USA

PostPosted: Tue Sep 06, 2016 12:22 am    Post subject: Reply to: Truncated error message after VERIFY with LISTV
Reply with quote

Enrico,

I have already been through the "ISPF Dialog Developer's Guide and Reference," and I did read what I thought were the relevant sections pertaining to long and short messages. It may well be that I missed something, or that there is another manual I should consult. If that is the case, I would appreciate any information (from anyone) which would help me more precisely locate the answer.

David
Back to top
View user's profile Send private message
David Sde

New User


Joined: 24 Apr 2011
Posts: 23
Location: USA

PostPosted: Tue Sep 06, 2016 12:36 am    Post subject: Reply to: Truncated error message after VERIFY with LISTV
Reply with quote

Okay, fair enough: I did find something. In the "ISPF Messages and Codes" manual, in response to the "Enter one of the listed values" messages, I see:

"Programmer response: If the listchoices occupy more than 72 bytes, provide help via a customized message using the MSG keyword on the VER statement."

I will look into that; thank you.

David
Back to top
View user's profile Send private message
David Sde

New User


Joined: 24 Apr 2011
Posts: 23
Location: USA

PostPosted: Tue Sep 06, 2016 12:42 am    Post subject: Reply to: Truncated error message after VERIFY with LISTV
Reply with quote

Yup, it's a wrap. That did it; thank you.

David
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts PDSFAST VERIFY - What does it really ... shetttigarvivek JCL & VSAM 1 Tue Nov 29, 2016 9:21 am
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us