* C-language system service calls
@ 1999-08-03 4:00 Barry Kimelman
1999-08-03 4:00 ` Rick Cadruvi
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Barry Kimelman @ 1999-08-03 4:00 UTC (permalink / raw)
Hello :
I don't have much experience with the VAX/VMS environment, but I do have
much experience with C-language. I am helping out at the office with some
VAX/VMS C-language code development.
I was wondering if there is any good online source that shows detailed
instructions and examples on how to call and use the C-language
interface to the VMS system service calls.
TIA for all your help
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: C-language system service calls
1999-08-03 4:00 C-language system service calls Barry Kimelman
@ 1999-08-03 4:00 ` Rick Cadruvi
1999-08-04 4:00 ` Arne Vajhøj
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Rick Cadruvi @ 1999-08-03 4:00 UTC (permalink / raw)
HELP SYSTEM_SERVICE $system-service-you-want
gives you everything you need including the C prototypes.
The big thing is descriptors. Strings are passed by descriptors,
not as CHAR*.
#include <descrip.h>
You should look at the DESCRIP.H file.
If you really know C, this is all the info you need to do what you want to
do.
There is also VMS documentation on CDROM which the people you
are working for should have if they are doing VMS software development.
I think some people have it spinning on the internet for perusal using a
browser.
Just my opinion,
Rick...
Barry Kimelman wrote:
> Hello :
>
> I don't have much experience with the VAX/VMS environment, but I do have
> much experience with C-language. I am helping out at the office with some
> VAX/VMS C-language code development.
>
> I was wondering if there is any good online source that shows detailed
> instructions and examples on how to call and use the C-language
> interface to the VMS system service calls.
>
> TIA for all your help
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: C-language system service calls
1999-08-03 4:00 C-language system service calls Barry Kimelman
1999-08-03 4:00 ` Rick Cadruvi
@ 1999-08-04 4:00 ` Arne Vajhøj
1999-08-04 4:00 ` Mike and Retha Taylor
1999-08-10 4:00 ` Wayne Scott
3 siblings, 0 replies; 5+ messages in thread
From: Arne Vajhøj @ 1999-08-04 4:00 UTC (permalink / raw)
To: Barry Kimelman
Barry Kimelman wrote:
> I don't have much experience with the VAX/VMS environment, but I do have
> much experience with C-language. I am helping out at the office with some
> VAX/VMS C-language code development.
>
> I was wondering if there is any good online source that shows detailed
> instructions and examples on how to call and use the C-language
> interface to the VMS system service calls.
ftp://ftp.hhs.dk/pub/vms/utilities/utilities.zip
ftp://ftp.hhs.dk/pub/vms/misc/
has some C examples of calling various LIB$ and SYS$.
Arne
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: C-language system service calls
1999-08-03 4:00 C-language system service calls Barry Kimelman
1999-08-03 4:00 ` Rick Cadruvi
1999-08-04 4:00 ` Arne Vajhøj
@ 1999-08-04 4:00 ` Mike and Retha Taylor
1999-08-10 4:00 ` Wayne Scott
3 siblings, 0 replies; 5+ messages in thread
From: Mike and Retha Taylor @ 1999-08-04 4:00 UTC (permalink / raw)
Barry Kimelman wrote:
> Hello :
>
> I don't have much experience with the VAX/VMS environment, but I do have
> much experience with C-language. I am helping out at the office with some
> VAX/VMS C-language code development.
>
> I was wondering if there is any good online source that shows detailed
> instructions and examples on how to call and use the C-language
> interface to the VMS system service calls.
>
> TIA for all your help
The best source of information about system services is the
"System Services Reference Manual" which is in the programming
section of the OpenVMS documentation set.
You may also be interested in the book,
"Practical Uses of OpenVMS System Services
-- Emulating DCL in FORTRAN and C Programs"
It has a chapter explaining how to call system services in FORTRAN
and C. It has 70 examples in each language that demonstrate
several system services and show how to perform the same
functions as common DCL commands.
See our web page for details.
Retha Taylor
----------------------------------------------------------------------
taylor@gtw.net http://members.gtw.net/~taylor/tms/
Mike and Retha Taylor, authors of
"Practical Uses of OpenVMS System Services
-- Emulating DCL in FORTRAN and C Programs"
RingMasters of the OpenVMS WebRing
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: C-language system service calls
1999-08-03 4:00 C-language system service calls Barry Kimelman
` (2 preceding siblings ...)
1999-08-04 4:00 ` Mike and Retha Taylor
@ 1999-08-10 4:00 ` Wayne Scott
3 siblings, 0 replies; 5+ messages in thread
From: Wayne Scott @ 1999-08-10 4:00 UTC (permalink / raw)
Barry Kimelman wrote:
>
> Hello :
>
> I don't have much experience with the VAX/VMS environment, but I do have
> much experience with C-language. I am helping out at the office with some
> VAX/VMS C-language code development.
>
> I was wondering if there is any good online source that shows detailed
> instructions and examples on how to call and use the C-language
> interface to the VMS system service calls.
>
> TIA for all your help
Try searching the examples:
$ search sys$examples:*.c sys$
--
Wayne Scott
BEA Systems, Inc. -- http://www.beasys.com/
OpenVMS Porting Team
http://www.beasys.com/action/press/press121.htm
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-08-10 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-03 4:00 C-language system service calls Barry Kimelman
1999-08-03 4:00 ` Rick Cadruvi
1999-08-04 4:00 ` Arne Vajhøj
1999-08-04 4:00 ` Mike and Retha Taylor
1999-08-10 4:00 ` Wayne Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox