[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

DCL error handling and READ?

» close window

The Question is:

 
How do you control the length of input from the keyboard when prompting for
input (preferably
using the READ command) in a DCL command batch?
 


The Answer is :

 
  You don't.  You use /ERROR or similar to capture the error when it
  occurs, and truncate the line as appropriate when no errors arise.

answer written or last revised on ( 5-AUG-1999 )

» close window