[Info-vax] VMS Python: Calling sys$trnlnm()

Jan-Erik Söderholm jan-erik.soderholm at telia.com
Sat Mar 28 05:04:44 EDT 2020


Den 2020-03-28 kl. 01:32, skrev Andrew Shaw:
> On Saturday, March 28, 2020 at 9:51:42 AM UTC+11, Jan-Erik Söderholm
> wrote:
> 
>> 
>> And, if you do not need all the options, you can use the
>> lib$get_logical interace in Python which has a simpler interface.
>> 
>> http://www.vmspython.org/doku.php?id=vmsrtlexample
>> 
> 
> I originally started with lib$get_logical and that worked perfectly for
> returning me the equivalence string, but once I realised I also needed
> the TRANS=TERM attribute I couldn't see a way to get that from
> lib$get_logical and so I turned to SYS$TRNLNM.
> 
> If I missed that in lib$get_logical then that's my bad...

Never said you did. I said "if you do not need all the options". That
seams to include reading the TRANS=TERM attribute, as far as I understand.


> - feel free to show me the error of my ways,

Is there an error? I don't know.

> because that is a much simpler interface.
> 
> But I think I have the answers I need now so about to press on with some
> testing :-)
> 




More information about the Info-vax mailing list