Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

interactive sas call from rexx

Status
Not open for further replies.

jz1b0c

Programmer
Apr 20, 2009
4
CA
When I execute the following rexx, during the SAS call (a panel) SAS screen is displayed, but I would like to execute the sas call in the background without user intervention.

/* REXX */
PARM='USER.SASMACRO(SAS1)'
"ALLOC DD(WORK) NEW REU UNIT(VIO) RECFM(F S) LRECL(6144)"
"ALLOC DD(SASAUTOS) DA('PROD.SAS.AUTOLIB') SHR REU"
"ALLOC DD(SASHELP) DA('PROD.SAS.SASHELP') SHR REU"
"ALLOC DD(SASMSG) DA('PROD.SAS.SASMSG') SHR REU"
"ALLOC DD(CONFIG) DA('USER.SYSIN(CONFIG)') SHR REU"
"ALLOC DD(SYSIN) DA('USER.SASMACRO(SAS1)') SHR REU"
"ALLOC DD(INP1) DA('USER.LAAATM01.LIST') SHR REU"
"ALLOC DD(OUT1) DA('USER.SAS1JCL1.OUT2') SHR REU"
"ALLOC DD(SASLOG) DA('USER.SAS1JCL1.SASLOG') SHR REU"
"ALLOC DD(SASLIST) DA('USER.SAS1JCL1.SASLIST') SHR REU"
/* "CALL 'PROD.SAS.LIBRARY(SAS)' '"PARM"'" */
"CALL 'PROD.SAS.LIBRARY(SAS)'"
"FREE DD(WORK SASAUTOS SASHELP SASMSG SASLOG SASLIST SYSIN INP1 OUT1)"
EXIT 0
 

'without user intervention' is a function of the program that's running. Some programs are smart enough to know that they are running unattended, some are not.


Frank Clarke
--America's source for adverse opinions since 1943.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top