Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the editor display length?

 
SOLVED
Go to solution
Honored Contributor

Re: How to increase the editor display length?

Right You want the $ SET TERM/INQ only to happen for interactive sessions with terminal to talk to.

If this is a batch job, then the command targets SYS$INPUT which is the file.
That results in errors like:

%SET-W-NOTSET, error modifying Dxxxx:
-SET-E-INVDEV, device is invalid for requested operation

Nothing will 'break' or be damaged, but it is needless and ugly.

Hein

Honored Contributor

Re: How to increase the editor display length?

Hi Hein,

>> %SET-W-NOTSET, error modifying Dxxxx:
>> -SET-E-INVDEV, device is invalid for requested operation

Thats great. I had this question in mind.
I run some of my test scripts as batch jobs and used to get this message
lot of times and as you said the message will get logged but the batch
job would continue to run and do its job.
But its a needless & ugly message indeed.

I would be chaning my login procedure very soon.

Thanks Becker & Hein.

Regards,
Murali
Let There Be Rock - AC/DC
Honored Contributor

Re: How to increase the editor display length?

I've attached a zipped saveset of a Alpha and IA64 versions of a program called SET_TERM_INQUIRE the source of which is lost in the mysts of time. I think the IA64 version is translated.

Execute the program from LOGIN.COM - it will set the terminal page and width to match your your terminal, or emulator, and also the terminal type (somewhat more accurately than SET TERMINAL/INQUIRE).

It's a silent NOOP if executed from BATCH, NETWORK or anywhere else that SYS$COMMAND is a non-terminal device, so you don't need to perform any tests.

One of my "must haves" on any OpenVMS system.
A crucible of informative mistakes
Honored Contributor

Re: How to increase the editor display length?