[Info-vax] Very simple DCL question

Arne Vajhøj arne at vajhoej.dk
Sun Jan 1 15:18:53 EST 2023


On 1/1/2023 2:59 PM, Johnny Billquist wrote:
> On 2023-01-01 19:02, Arne Vajhøj wrote:
>> Who needs more than 8 parameters?  Obviously someone
>> did since the feature was added, but it does not seem
>> like something many wants.
> 
> I might be very rusty here, but isn't there a way to just get the whole 
> command line as well, as as such, if there are more than 8 parameters, 
> you could extract that anyway? Just a little bit of more coding required?
> 
> In RSX this is definitely the case anyway. P9 is actually everything 
> beyond the 8th parameter, so if you wanted the ninth, you'd go ahead and 
> parse it out from P9. And there is even a function available to do that 
> parsing for you. So no more than one additional line of code to get to 
> it. (There is also the COMMAN variable that holds the full command line.)

I am not aware of any supported way of getting the command
line from DCL.

A program can get it via LIB$GET_FOREIGN.

Arne







More information about the Info-vax mailing list