Sponsored Content
Full Discussion: VAX/VMS anyone??
Top Forums UNIX for Dummies Questions & Answers VAX/VMS anyone?? Post 46711 by jsilva on Thursday 22nd of January 2004 12:28:27 PM
Old 01-22-2004
Hum... it makes no sense... Vax is a hardware platform, Unix is software, operating system to be more precise...
I think you're trying to compare VMS and Unix... well, only for those who don't know VMS will call it Unix... VMS doesn't look like Unix or Unix like VMS, they have few thing in common... 2 different operating systems...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

VMS ---- What sites can I visit to learn it????

please help, any VMS sites you know of to learn this operating system?? (3 Replies)
Discussion started by: TRUEST
3 Replies

2. UNIX for Advanced & Expert Users

How to remotely execute a script (.COM ) on a VMS system ?

How to remotely execute a script (.COM ) on a VMS system ? rsh ? Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies

3. Linux

Cannot ftp from VMS to Linux

Hi I'm using a Linux machine (CENTOS 5) to ftp a file from a VMS Alpha box (i hardly know anything about these machines). All seems to be working upto the point where it states the transfer has started but it just hangs... ftp> get SPOOL.28 local: SPOOL.28 remote: SPOOL.28 200 Port 228.87... (2 Replies)
Discussion started by: rizla65
2 Replies

4. UNIX for Dummies Questions & Answers

SFTP VMS to UNIX

All I am a VMS guy just learning UNIX. My first task is to SFTP files from VMS to UNIX in BATCHMODE without having to enter a password. Note that using SFTP interactively works just fine. I have followed some specific instructions provided by a vendor with no success. I have also read... (0 Replies)
Discussion started by: randyhouse
0 Replies

5. Virtualization and Cloud Computing

Linux-VServer vms to ESX migration

Hi, I have an existing linux server hosting some vservers. In addition, a VMware ESX is in place. My goal is to get rid of the linux-vserver system and migrate each vserver on the ESX properly. Is that possible ? Thanks for your help. Fiss (0 Replies)
Discussion started by: fiss
0 Replies

6. Emergency UNIX and Linux Support

RHEL and Centos VMs with IO failure on root

Hello, I am running into this issues, few VMWare VM's that are running with RHEL 5.6 and Centos 5.7, are having read write errors on the root file system. This is noticed on all vm's. After looking to log files this what I noticed. #touch test.txt touch: cannot touch `test.txt': Read-only... (12 Replies)
Discussion started by: bobby320
12 Replies

7. Solaris

Solaris 10 VMs hang after about a week

Hi all, We're been having issues with quite a few Solaris 10 VMs hanging after about a week of uptime. These VMs are running on VMware ESXi 4.1 U1 hosts and the issue does not occur on any specific host. We also running CentOS VMs and are not experiencing any issues with those VMs. The VMs that... (5 Replies)
Discussion started by: derekivey
5 Replies

8. HP-UX

Basic questions about Integrity VMs

Hello, I am looking into HP-UX 11.31 VMs and I had a few questions. We own two systems with 11.31 installed on them: HP 9000 rp3440 (RISC) - 2gb memory - 2 processors HP Integrity rx2660 (Itanium) - 8gb memory - 4 processors Looking at the memory requirements in the Integrity VM... (4 Replies)
Discussion started by: bstring
4 Replies

9. Solaris

Oracle VMs and VLANs

I've been given an IP address to assign to an ldom that is in a different subnet than the host, and I am looking for assistance in getting it online. I believe I need "VLAN tagging" as found in this link, but I do not understand all of the terminology. My host machine is on subnet 10.25.112.x,... (1 Reply)
Discussion started by: bstring
1 Replies
File::Basename(3pm)					 Perl Programmers Reference Guide				       File::Basename(3pm)

NAME
fileparse - split a pathname into pieces basename - extract just the filename from a path dirname - extract just the directory from a path SYNOPSIS
use File::Basename; ($name,$path,$suffix) = fileparse($fullname,@suffixlist) fileparse_set_fstype($os_string); $basename = basename($fullname,@suffixlist); $dirname = dirname($fullname); ($name,$path,$suffix) = fileparse("lib/File/Basename.pm",qr{.pm}); fileparse_set_fstype("VMS"); $basename = basename("lib/File/Basename.pm",qr{.pm}); $dirname = dirname("lib/File/Basename.pm"); DESCRIPTION
These routines allow you to parse file specifications into useful pieces using the syntax of different operating systems. fileparse_set_fstype You select the syntax via the routine fileparse_set_fstype(). If the argument passed to it contains one of the substrings "VMS", "MSDOS", "MacOS", "AmigaOS" or "MSWin32", the file specification syntax of that operating system is used in future calls to fileparse(), basename(), and dirname(). If it contains none of these sub- strings, Unix syntax is used. This pattern matching is case-insensitive. If you've selected VMS syntax, and the file specification you pass to one of these routines contains a "/", they assume you are using Unix emulation and apply the Unix syntax rules instead, for that function call only. If the argument passed to it contains one of the substrings "VMS", "MSDOS", "MacOS", "AmigaOS", "os2", "MSWin32" or "RISCOS", then the pattern matching for suffix removal is performed without regard for case, since those systems are not case-sensitive when opening existing files (though some of them preserve case on file creation). If you haven't called fileparse_set_fstype(), the syntax is chosen by examining the builtin variable $^O according to these rules. fileparse The fileparse() routine divides a file specification into three parts: a leading path, a file name, and a suffix. The path contains everything up to and including the last directory separator in the input file specification. The remainder of the input file specifi- cation is then divided into name and suffix based on the optional patterns you specify in @suffixlist. Each element of this list can be a qr-quoted pattern (or a string which is interpreted as a regular expression), and is matched against the end of name. If this succeeds, the matching portion of name is removed and prepended to suffix. By proper use of @suffixlist, you can remove file types or versions for examination. You are guaranteed that if you concatenate path, name, and suffix together in that order, the result will denote the same file as the input file specification. EXAMPLES
Using Unix file syntax: ($base,$path,$type) = fileparse('/virgil/aeneid/draft.book7', qr{.bookd+}); would yield $base eq 'draft' $path eq '/virgil/aeneid/', $type eq '.book7' Similarly, using VMS syntax: ($name,$dir,$type) = fileparse('Doc_Root:[Help]Rhetoric.Rnh', qr{..*}); would yield $name eq 'Rhetoric' $dir eq 'Doc_Root:[Help]' $type eq '.Rnh' "basename" The basename() routine returns the first element of the list produced by calling fileparse() with the same arguments, except that it always quotes metacharacters in the given suffixes. It is provided for programmer compatibility with the Unix shell command base- name(1). "dirname" The dirname() routine returns the directory portion of the input file specification. When using VMS or MacOS syntax, this is identical to the second element of the list produced by calling fileparse() with the same input file specification. (Under VMS, if there is no directory information in the input file specification, then the current default device and directory are returned.) When using Unix or MSDOS syntax, the return value conforms to the behavior of the Unix shell command dirname(1). This is usually the same as the behavior of fileparse(), but differs in some cases. For example, for the input file specification lib/, fileparse() considers the directory name to be lib/, while dirname() considers the directory name to be .). perl v5.8.0 2002-06-01 File::Basename(3pm)
All times are GMT -4. The time now is 01:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy