GithubHelp home page GithubHelp logo

sasjs / template_jobs Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 5.0 225 KB

Backend-Only Seed App for SASjs

SAS 61.03% Dockerfile 6.93% HTML 21.20% CSS 0.41% Shell 8.17% PLSQL 2.26%
sas sasjs sasjs-seed-app viya

template_jobs's People

Contributors

allanbowe avatar allanprc avatar krishna-acondy avatar saadjutt01 avatar yuryshkoda avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

template_jobs's Issues

Long line in template_jobs/includes/someprogram.sas does not get sent in entirety via VSCode extension

58        data _null_;
WARNING: Truncated record
59          putlog "It doesn't matter if there are extra apostrophes";
60          putlog "lines can also be really looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
WARNING: End-of-file encountered in string
ERROR: Expected column, formatted, list or named PUT statement
61        run;

I'm not sure if this is intended to work or not, but flagging for awareness.

I'm using a SASjs server and the file works with the long line removed.

error in makedata#.log when running `npm run exec` as per README

msg=MakeData1 is executing
NOTE: Data set "WORK.example" has 1 observation(s) and 1 variable(s)
NOTE: The data step took :
      real time : 0.010
      cpu time  : 0.009


145       
146       /* these file refs are configurable above */
147       %inc FREF1;
Start of %INCLUDE(level 1) FREF1 is file /home/jeremy/sasjs_root/sessions/20220924162116-62003-1664036476110/WPS_work833600098bd4_sas.4gl.io/#LN00002
148     +  proc sql;
149     +  create table &mylib..demotable1(
150     +          tx_from num not null format=datetime19.3
151     +          ,tx_to num not null format=datetime19.3
152     +          ,vara varchar(10) not null
153     +          ,varb varchar(32) not null
154     +      ,constraint pk_demotable1
ERROR: Column attributes are not supported
155     +          primary key(tx_from, vara));
End of %INCLUDE(level 1) FREF1
156       
157       %inc FREF2;
NOTE: Statements not executed because of errors detected
NOTE: Procedure sql step took :
      real time : 0.001
      cpu time  : 0.001

The preceding SAS statements all executed successfully.
My setup is connecting to a SASjs server target called server
so -t viya was changed to -t server in package.json

  "scripts": {
    "add": "sasjs auth -t server",
    "deploy": "sasjs cbd -t server",
    "exec": "sasjs job execute jobs/extract/makedata1 -l sasjsbuild/makedata3.log -t server",
    "flow": "sasjs flow execute -s sasjs/jobflow.json -l sasjsbuild --csvFile sasjsbuild/results.csv -t server",
    "delete": "sasjs folder delete /Public/sasjs/jobs -t server",
    "docs": "sasjs doc",
    "test": "sasjs test",
    "lint": "sasjs lint",
    "prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks || true"
  }

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.