Giter Site home page Giter Site logo

prajwalsd / runsas Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 1.0 1.84 MB

This shell script tool allows you to run a SAS program or a batch of SAS programs via Bash environment with various interactive and non-interactive execution modes. This is ideal for a SAS environment which is restrictive by design and you need a batch execution script/tool especially when you have a batch of SAS Data Integration Studio (DI) jobs.

License: GNU General Public License v3.0

Shell 100.00%

runsas's People

Contributors

prajwalsd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

chinmayaaa

runsas's Issues

Capture batch run status/info in a SAS dataset for tracking/reporting

Currently, all the information related to the batch run is captured in file-based key-value stores by runSAS, one can browse these hidden script files under /.tmp directory in the script root.

One of the users has requested to push batch run related info (such as <batchid>, <jobid>, flow/job runtimes ...etc.)to the SAS environment (possibly as a SAS dataset) to be able to view/track and report on the batch runs initiated/managed by runSAS.

NOTE: User can run ./runSAS.sh --last OR ./runSAS.sh --log command to see the last batch run details.

This definitely sounds like a good idea, so here is a possible solution:

  • Add support for -sysparm to allow parameters to be passed from the bash session to the SAS program/script/job
  • RunSAS then create a "runSASBatchStatus.sas" SAS program (possibly locally or in the specified deployed directory) to create/update a batch status/info dataset "runsas_batch_status".
  • The dataset will be only written to by runSAS and not to be used as a control table for runSAS script
  • <batchid> must be the primary key everywhere to be consistent with runSAS topology. Potentially<jobid> can be used to extend this and store the batch run details at the job/script level, if needed.
  • Invoke this SAS program to create/update the batch status record(s)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.