| Deutsch English Français Italiano |
|
<vleamo$1382l$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
Newsgroups: comp.os.vms
Subject: Re: Coding examples (Re: VMS Pascal article)
Date: Sun, 5 Jan 2025 11:06:48 -0500
Organization: A noiseless patient Spider
Lines: 77
Message-ID: <vleamo$1382l$1@dont-email.me>
References: <vl3pi8$2r2sr$1@dont-email.me>
<67781447$0$711$14726298@news.sunsite.dk> <vl99jl$rf6$1@reader2.panix.com>
<vl9aln$o72$1@dont-email.me> <vl9bjp$eq3$1@reader2.panix.com>
<6778415e$0$708$14726298@news.sunsite.dk>
<878qrp51vj.fsf_-_@lucy.meyer21c.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 05 Jan 2025 17:06:49 +0100 (CET)
Injection-Info: dont-email.me; posting-host="ee51662d37c4970cbf6c7c87e85b49ae";
logging-data="1155157"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JC4mGtlkoBdD7T903vv1+QYxBPL6To8U="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xs7h5IWJdv46D2ksDBd5iReSaoU=
In-Reply-To: <878qrp51vj.fsf_-_@lucy.meyer21c.net>
Content-Language: en-US
On 1/4/2025 11:19 PM, David Meyer wrote:
> Arne Vajhøj <arne@vajhoej.dk> writes:
>> $ search sys$common:[syshlp.examples.pascal]*.pas varying
>> $ search sys$common:[syshlp.examples.pascal]*.pas "string("
>
> Wow! That directory and the others around it are a real treasure
> trove. I found answers to questions I had about calling RTL routines
> from Pascal.
For system services and LIB$ (and other RTL) routines, then
I recommend:
General prep:
1) browse through documentation for system services and LIB$
routines to get an overview
2) learn about the VMS calling convention
3) learn about how to use VMS calling convention
in your favorite programming language
For specific task:
A) identify the system services and LIB$ routine you need
to use
B) read the language independent description of how to call it
C) implement call in your favorite programming language
System services:
https://docs.vmssoftware.com/vsi-openvms-system-services-reference-manual-a-getuai/
https://docs.vmssoftware.com/vsi-openvms-system-services-reference-manual-getutc-z/
Deep dive in SYS$QIO(W):
https://docs.vmssoftware.com/vsi-openvms-io-user-s-reference-manual/
(the name give different associations than what it is)
LIB$:
https://docs.vmssoftware.com/vsi-openvms-rtl-library-lib-manual/
SMG$:
https://docs.vmssoftware.com/vsi-openvms-rtl-screen-management-smg-manual/
Utility routines (do not forget these!!):
https://docs.vmssoftware.com/vsi-openvms-utility-routines/
Calling convention:
https://docs.vmssoftware.com/vsi-openvms-calling-standard/
General overview:
https://docs.vmssoftware.com/vsi-openvms-programming-concepts-manual-volume-i/
https://docs.vmssoftware.com/vsi-openvms-programming-concepts-manual-volume-ii/
> Is there some introduction to VMS that collects links to resources like
> sys$common:[syshlp.examples] where VMS newbies can look to answer their
> own questions?
I link to some some stuff at:
https://www.vajhoej.dk/arne/vms/docs.html
https://www.vajhoej.dk/arne/vms/faq.html
Arne