LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (February 2002, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 11 Feb 2002 14:39:50 -0500
Reply-To:     "Schechter, Robert S" <robert.schechter@ASTRAZENECA.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Schechter, Robert S" <robert.schechter@ASTRAZENECA.COM>
Subject:      Re: SASLIST & rsh
Comments: To: "Fehd, Ronald J." <rjf2@CDC.GOV>
Comments: cc: "JOHN.ENEVOLDSON@ELLOS.SE" <JOHN.ENEVOLDSON@ELLOS.SE>
Content-Type: text/plain; charset="iso-8859-1"

Ron,

The supplied JCL will NOT re-direct the log or list. The JCL has been commented out. Change the "//*" statements to "// ".

-----Original Message----- From: Fehd, Ronald J. [mailto:rjf2@CDC.GOV] Sent: Monday, February 11, 2002 2:31 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Re: SASLIST & rsh

> From: JOHN ENEVOLDSON [mailto:JOHN.ENEVOLDSON@ELLOS.SE] > We currently run SAS on a Unix box, and trigger jobs from an > MVS system via rsh. The SASlog is directed back to MVS via > stdout. However, we would like to be able to use PROC PRINTTO > or SASLIST and thus seperate report output from the saslog ( > directing it to a different DD statement in the MVS job), but > have not been able to figure out a way to do it. Has anyone > any ideas ?

Is this what you are looking for? JCL to direct the SASLOG and SASLIST to a different, in this case temporary, data set?

//PROCSPEC EXEC SAS,SASAUTO='JC00.OSCAR.SASPGM' //*SASLOG DD DSN=JC00.OSCAR.LOG.SPEC,DISP=(,CATLG,DELETE),UNIT=TEMP, //* SPACE=(TRK,(500,75),RLSE),DCB=(RECFM=FB,BLKSIZE=0,LRECL=133) //*SASLIST DD DSN=JC00.OSCAR.LST.SPEC,DISP=(,CATLG,DELETE),UNIT=TEMP, //* SPACE=(TRK,(500,75),RLSE),DCB=(RECFM=FB,BLKSIZE=0,LRECL=133)

Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov OpSys: Win_Pro Ver: 8.2 ---> cheerful provider of TESTED SAS code from the Clue?Gee!Wrx !*! <---

RTFM: I'm an engineer, I don't get paid to know, I get paid to call MainFrame Tech Support and ask for code examples. ...


Back to: Top of message | Previous page | Main SAS-L page