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
/* 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
 

When I execute above 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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top