Date: Fri, 30 Dec 2005 16:10:13 -0500
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nat Wooding <Nathaniel_Wooding@DOM.COM>
Subject: Re: Allocating a flat file to a tape on MVS SAS
Content-type: text/plain; charset=US-ASCII
Someone like Mike Raithel may correct me on this but as far as I know, DD
statements pointing to tapes and such cannot follow a sysin card. You can
have multiple sysins concatenated but that is not what you want.
I just started to write that you could write out the jcl for a second job
step (in the spot where you have your sas code) and then concatenate it
back in but I'm starting to guess that the system won't let you do this.
Again, please post your last log. I'd sure like to see what is not working
since the SAS os390 companion says that you should be able to use the
filename statement for a tape.
Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU
Re: Allocating a flat file to a
tape on MVS SAS
Please respond to
Yes Nat I know of that solution .
The thing is I can use entire SAS and create JCl and
write the entire JCL to another flat file and then
execute that new JCL.This is how I have been doing it
,But that solution cannot work here.
But the situation here what I am facing is that I
can't output in two steps.
Let me tell you what I am trying to do.
As you know from my thread that I was trying to
allocate a flat file to tape through SAS,the reason
why I was doing this was because I wanted to use SAS
macro variables in the filename statement.
Since this didn't work for me ,I am trying to use
those sas macro variables in the JCL something like
//ZJOBJCL JOB (IBH),
//STJCL JCLLIB ORDER=IBH.PROCLIB
//STEPBLD EXEC PGM=IEFBR14
//STEPBLDS EXEC SAS,
//SYSIN DD *
SAS CODE Here which creates a set of macro variables
Now I want to use these &var1 &var2 below
//OUTO DD DISP=(NEW,CATLG,DELETE),
Any clues how this can be done ...
--- Nathaniel_Wooding@dom.com wrote:
> It's funny but we actually had a discussion starting
> yesterday about
> passing macro variables to jcl (and why it was
> probably not a good idea).
> Please post your latest log and let's give the group
> a shot at it.
> CONFIDENTIALITY NOTICE: This electronic message
> information which may be legally confidential and/or
> privileged and
> does not in any case represent a firm ENERGY
> COMMODITY bid or offer
> relating thereto which binds the sender without an
> express written confirmation to that effect. The
> information is
> intended solely for the individual or entity named
> above and access
> by anyone else is unauthorized. If you are not the
> recipient, any disclosure, copying, distribution,
> or use of the
> contents of this information is prohibited and may
> be unlawful. If
> you have received this electronic transmission in
> error, please
> reply immediately to the sender that you have
> received the message
> in error, and delete it. Thank you.
Yahoo! for Good - Make a difference this year.