Re: VAX BASIC, file specs, and command line arguments
- From: Neil Rieck <n.rieck@xxxxxxxxxxxx>
- Date: Wed, 20 Feb 2008 04:17:20 -0800 (PST)
On Feb 19, 12:31 pm, bdhobb...@xxxxxxx wrote:
VAX BASIC v3.8-000
VMS 7.1
emulating a VAX 4000-105A
Two things I would like to do in BASIC:
1) Get the full file spec for a file;
2) Get arguments from the command line.
I'm playing with the useropen clause of the open statement, but that
involves fab and nam blocks and sys$open/sys$create and sys$connect to
get the info I want. It's not bad, but I find it clumsy to go thru
all this to get a file spec. I was able to easily get both items in
VMS COBOL, but I was using features that were part of the language.
Any routines that'll give me what I want? Thank you for any and all
assistance.
I did a little "OpenVMS BASIC" hacking in this aread some years ago
and posted my efforts here:
http://www3.sympatico.ca/n.rieck/links/openvms_demos.html
http://www3.sympatico.ca/n.rieck/demo_vms/basic-open-useropen-bas.zip
http://www3.sympatico.ca/n.rieck/demo_vms/basic-open-fsp-bas.zip
http://www3.sympatico.ca/n.rieck/demo_vms/basic-fix-ftp-savesets.zip
http://www3.sympatico.ca/n.rieck/demo_vms/basic-foreign-cmd.zip
These demos won't answer all your questions but may provided some of
the missing pieces.
Enjoy.
Neil Rieck
Kitchener/Waterloo/Cambridge,
Ontario, Canada.
http://www3.sympatico.ca/n.rieck/
.
- References:
- VAX BASIC, file specs, and command line arguments
- From: bdhobbs18
- VAX BASIC, file specs, and command line arguments
- Prev by Date: Enterprise Directory & Decnet
- Next by Date: Re: Another Alpha turned off...
- Previous by thread: Re: VAX BASIC, file specs, and command line arguments
- Next by thread: Re: VAX BASIC, file specs, and command line arguments
- Index(es):
Relevant Pages
|