Currently we do not have the possibility yet of authenticating to one of our SAS environments, so we run the .sas build output and run that in SAS Studio. We have a postbuild job included that creates .sas files from the job definitions.
It seems that using sasjs deploy, sasjs triggers the deployed job on the server. This deployed job is aware of the &_appLoc variable. However, the .sas job output seems to use the "open code" deployscript, which is only aware of &appLoc and not of &_appLoc. Thus resulting in an error.
Currently we do not have the possibility yet of authenticating to one of our SAS environments, so we run the .sas build output and run that in SAS Studio. We have a postbuild job included that creates .sas files from the job definitions.
Snippet from our sasjsconfig.json
And our target definition
Our postbuild.sas program
Snippet of how this is included in the .sas build output
Snippet of how this is included in the .json build output
It seems that using sasjs deploy, sasjs triggers the deployed job on the server. This deployed job is aware of the &_appLoc variable. However, the .sas job output seems to use the "open code" deployscript, which is only aware of &appLoc and not of &_appLoc. Thus resulting in an error.