简体   繁体   中英

How do I add input data script in SAS Enterprise Guide

Were using SAS Enterprise Guide V 7.13 HF1 (7.100.3.5419) (64-bit) I'm currently running a SAS program from SAS Enterprise Guide. I have external parameters I pass to it when I run it on Linux. The command looks like this:

sas -noterminal -batch -log simple_run.log -print simple_run.lst -sysparm "beg_dt=2500,end_dt=2" simple_run.sas

How do I pass external parameters for beg_dt and end_dt to my program from SAS Enterprise Guide?

In EG you can create a program node with the code

%let sysparm = beg_dt=2500,end_dt=2;
%include "simple_run.sas";

This presumes EG is using a profile that connects to a SAS Server on your Linux box, and simple_run.sas is in your home directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM