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

Andrew Shaw andrew at feeandl.com
Fri Mar 27 20:32:46 EDT 2020


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 - feel free to show me the error of my ways, 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