UNPKG

@sasjs/cli

Version:

Command line interface for SASjs

15 lines (14 loc) 963 B
import SASjs from '@sasjs/adapter/node'; /** * Triggers an existing Stored Process for execution as a "job". See online documentation here: https://cli.sasjs.io/job/ * @param {object} sasjs - Configuration object of the SASJS adapter. * @param {object} config - An object containing the username and password for authentication. * @param {string} jobPath - Location of the Stored Process in SAS metadata (_program). * @param {string | undefined} logFile - If provided, the CLI will write the log here. * @param {string | undefined} output - If provided, and valid JSON is returned (ie using the SASjs macros), it will be written to this file location. * @param {string | undefined} source - An optional path to a JSON file containing input macro variables. */ export declare function executeJobSas9(sasjs: SASjs, config: { userName: string; password: string; }, jobPath: string, logFile?: string, output?: string, source?: string): Promise<any>;