Hi, any luck? To do this, I've created the .authinfo at the home of the user "sas" (eg). Now on the code.sas add the cas session: cas batchsess authinfo="/home/sas/.authinfo" host="cascontroler.fqdn.com" port=5570 sessopts=(caslib=casuser); Remember, user sas is on the Linux servers and on the LDAP, then you can try this on the SASStudio first call it with user sas: /opt/sas/spre/home/SASFoundation/sas code.sas OR using the batchserver (do this) /opt/sas/viya/config/etc/batchserver/default/batchserver.sh Using the batchserver you don't need to set the cas host and port, also you can configure the autoexec, sasv9, sasenv_, etc on the batchserver folder The .authinfo contains the following (https://documentation.sas.com/api/docsets/authinfo/9.4/content/authinfo.pdf?locale=en😞 default user sas password {sas004}xxxxxx
... View more