Re: System services and DCL

From: Paul Sture (paul.sture_at_decus.ch)
Date: 11/26/05


Date: Sat, 26 Nov 2005 13:42:44 +0100

Jeff Cameron wrote:
> On 11/22/05 9:31 PM, in article 4383FE99.AB5E93E1@teksavvy.com, "JF Mezei"
> <jfmezei.spamnot@teksavvy.com> wrote:
>
>
>>Larry Kilgallen wrote:
>>
>>>Perhaps you could outline the behavior you expect for:
>>>
>>> F$CALLSYS("CMKRNL",arg1,arg2)
>>>
>>>The contents of both arg1 and arg2 are of interest.
>>
>>Simple....
>>
>>arg1: the name of a DCL subroutine label. All statements inside that
>>subroutine until the RETUN will execute in kernel mode :-) A DCL syntax
>>error crashes the whole system :-)
>>
>>arg2: a string containing coma delimited list of arguments which are
>>passed to the subroutine as P1, P2, P3 etc).
>>
>>
>>Seriously, not all system services/ RTL can logically be mapped to DCL.
>>But there might be a lot which could be used. But perhaps individual
>>lexical implementation is a better way. Shirley the VMS engineers would
>>have discussed this ?
>
> How would you construct complex data structures such as Item lists, which
> are common arguments to system services?
>

A selection of the LIB$ routines might be be suitable candidates, since
they were designed to be an easier way to use system services than
calling those directly.