Computing.Net > Forums > OpenVMS > OpenVMS functions

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

OpenVMS functions

Reply to Message Icon

Name: hitesh.t
Date: August 31, 2009 at 03:54:37 Pacific
OS: OpenVMS
Subcategory: General
Comment:

Hi, can anyone provide me list of functions available , with example.
as i am new learner, so example will help me alot.
eg:
f$search(), F$USER().. etc
please do needful as it will help all new learner.
Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: Joseph.Huber
Date: August 31, 2009 at 04:07:41 Pacific
Reply:

Use HELP;
Those f$... functions are called DCL "lexical" functions, and You will get a list, and uusually examples for each of the functions with

HELP LEXICAL

Joseph Huber, http://www.huber-joseph.de
ITRC


0

Response Number 2
Name: amuir
Date: September 1, 2009 at 01:59:34 Pacific
Reply:

Or if it's more convenient, refer to the online OpenVMS documentation at http://h71000.www7.hp.com/doc/os83_index.html There you'll find the DCL dictionary which provides full details for all lexical functions. New functions are added from time to time, so be sure to choose the version of the manual that corresponds to the version of OpenVMS which you're running.


0

Response Number 3
Name: hitesh.t
Date: September 2, 2009 at 02:20:57 Pacific
Reply:

How to change Device_type as its showing unknown when i am using command
$ show terminal.


0

Response Number 4
Name: amuir
Date: September 2, 2009 at 07:32:14 Pacific
Reply:

$ SET TERMINAL/DEVICE_TYPE=xxxxx

Where xxxxx is the type of device (e.g. VT200)

If you're using a known terminal type (or a good emulator), then the SET TERMINAL/INQUIRE command should automatically set the terminal type.

For more details, see that same manual (DCL Dictionary).


0

Response Number 5
Name: hitesh.t
Date: September 3, 2009 at 04:21:15 Pacific
Reply:

The problem is that, if i set it will be set only for me, but i want it to be set for every user..


0

Related Posts

See More



Response Number 6
Name: Joseph.Huber
Date: September 3, 2009 at 10:51:20 Pacific
Reply:

You can set the terminal type only for permanently existing terminal lines like TTA0 or TXa0:
set terminal TTA0:/devive=VT100/permanent
in e.g. systartup_vms.com

Depending on the type of login and/or network stack, the terminal devices are dynamically created like RTAx:,FTAx:, or TNAx:
You can't and should not set the type, since You never know what the remote terminal (or emulation) really is.
What You could do is to set the terminal type in sylogin.
Look into sys$manager:sylogin.template how to determine terminal type in interactive mode.
Only if You/Your users frequently login from misbehaving terminal emulators set the sevice typ fixed to e.g. VT100 if mode is interactive.
And be aware of doing anything on TT: if the login is for a DECWindows process:doing a terminal/inquire fror those will make DECWindows start fail!

Look into
http://wwwvms.mppmu.mpg.de/vms$comm...

how I do it.
(on my system it is not in sylogin.com, but in every users login.com, created in the user account creation).

Joseph Huber, http://www.huber-joseph.de
ITRC


0

Response Number 7
Name: amuir
Date: September 3, 2009 at 11:05:54 Pacific
Reply:

I didn't notice the previous reply as it was after the "ads" and I can't seem to delete this, so feel free to ignore...

Then you'll want to take a look at SYLOGIN.COM as a place to put the command. However, be aware that this procedure is run by virtually ALL processes when they are created, including batch jobs and network processes. Many of these processes will not have a "terminal" attached to them. Your SYLOGIN.COM probably already has logic in place to execute different code based on the type of process.


0

Response Number 8
Name: Joseph.Huber
Date: September 3, 2009 at 11:25:32 Pacific
Reply:

Finally, if the device type is still "unknown" after trying /inquire, You could do:
if f$edit(f$getdvi("TT:","DEVICE_TYPE_NAME"),"UPCASE") .eqs."UNKNOWN" then set terminal TT:/device=VT100

Joseph Huber, http://www.huber-joseph.de
ITRC


0

Sponsored Link
Ads by Google
Reply to Message Icon





Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: OpenVMS functions

SYS$QIO failed ! www.computing.net/answers/openvms/sysqio-failed-/264.html

OpenVMS/ Fortran 77 www.computing.net/answers/openvms/openvms-fortran-77/360.html

openvms to linux/windows NT migration www.computing.net/answers/openvms/openvms-to-linuxwindows-nt-migration/18.html