MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Disable the command line in an ISPF panel

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Wed Jun 27, 2018 5:10 am    Post subject: Disable the command line in an ISPF panel Reply with quote

I've written my own panel with a keylist to go with it. The idea is that this panel will be a "padded" (?) panel where the user can fill in a few values, press enter, and a job will be submitted for them. (Their logon procedure will take them straight to this panel and nothing else)

They are not expected to use SDSF or similar to check how the job is progressing. Instead, they'll be able to press a PF key that looks in the held queue to see if the job is finished.

To this end, the panel has no command field. Trouble is, as soon as I'de defined my keylist and pressed PF12 (one of the options), I received the message "Data truncated" (in reality)
Quote:

ISPG059 Data truncated - Command input string larger than command input buffer for this panel.

After some mucking around, I realised the problem was because I didn't have a command field. Once I'd added that, the message disappeared.

Trouble is now, as soon as they have a command field, they can enter all sorts of commands (and get into all sorts of trouble since they have a minimal knowledge of ISPF).

Any ideas as to how to circumvent this problem ?
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Wed Jun 27, 2018 5:17 am    Post subject: Reply with quote

I could delete the previous topic since I found the answer after even more googling, but maybe this'll help someone else in the future. The following seems to work
Code:

)BODY CMD()                                         
+                       DI for verksamheten         
+                                                   
+Source (I/S/A)      %===>_Z+                       
+                                                   
+Policy number       %===>_FORSNR    +               
+                                                   
+Renewal date        %===>_DATUM +                   
+                                                   
+Review results      %===>_Z+                       
+                                                   

Note the use of the CMD() text on the )BODY line.
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group