sasjs / cli

Command line interface for creating, compiling, and building SAS® projects

Home Page:https://cli.sasjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy compiled SAS code as code instead of job definition

mblauw-sas opened this issue · comments

For our current project, we would like to deploy the compiled SAS code as code, instead of job definitions. We were wondering if this would be difficult to add to sasjs.

We want to do this for the following reasons

  • The client does not have an external scheduling tool
  • We do not have access to the machine itself to setup scheduling, nor to any other machine that will keep running. Also we are not allowed to run x-commands
  • The client prefers to use SAS Job Execution. The solution we found most easy (and convenient) to implement would be to have one big script with a lot of %includes. Scheduling can then be done by just triggering this single script. However, this approach is not possible if the deployed contents are job definitions.

Duplicate of #991

We'd love to build this. Is there any chance we can get some project engagement or sponsorship to fund the feature?

Just to point out here, it IS possible to run all the jobs using mv_jobflow macro, although it needs some additional work for Viya 4 compatibility. Again, happy to help with this if access to a Viya 4 instance can be arranged.

another option is to write a macro wrapper using mv_getjobcode and %inc that.

Hi Allan, thank you for your comments! I will get back to you on this.

closing this - we can continue discussion in #991