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 (December 2005, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 30 Dec 2005 18:57:18 -0800
Reply-To:     monal kohli <k_monal_99@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         monal kohli <k_monal_99@YAHOO.COM>
Subject:      Re: Allocating a flat file to a tape  on MVS SAS
Comments: To: Nathaniel_Wooding@dom.com
In-Reply-To:  <OFFEFAABDC.856BA43C-ON852570E7.0073CDFE-852570E7.00744B35@dom.com>
Content-Type: text/plain; charset=iso-8859-1

Thanks Nat and Mike for all your time..I will have to spend some time to figure this out...

Mona

--- Nathaniel_Wooding@dom.com wrote:

> Monal > > 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. > > Nat > > > > > monal kohli > > <k_monal_99@YAHOO > > .COM> > To > Sent by: "SAS(r) > SAS-L@LISTSERV.UGA.EDU > Discussion" > cc > <SAS-L@LISTSERV.U > > GA.EDU> > Subject > Re: > Allocating a flat file to a > tape on MVS > SAS > 12/30/2005 03:59 > > PM > > > > > > Please respond to > > monal kohli > > <k_monal_99@YAHOO > > .COM> > > > > > > > > > > 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 > this: > > > //ZJOBJCL JOB (IBH), > // 'MONA', > // MSGCLASS=A,REGION=8M, > // CLASS=A, > // NOTIFY=&SYSUID > //STJCL JCLLIB ORDER=IBH.PROCLIB > //STEPBLD EXEC PGM=IEFBR14 > //STEPBLDS EXEC SAS, > // CONFIG='IBH.PRD.CONFIG(STGLIB)' > //SYSIN DD * > > SAS CODE Here which creates a set of macro variables > like > &var1 &var2... > > Now I want to use these &var1 &var2 below > > > //OUTO DD DISP=(NEW,CATLG,DELETE), > // DSN=IB.xxx.Z&VAR1.INPT.V001000.&VAR2, > // DCB=(RECFM=FB,LRECL=214,BLKSIZE=32742), > // LABEL=(1,SL,RETPD=365),UNIT=CARTE > > > Any clues how this can be done ... > > > > --- Nathaniel_Wooding@dom.com wrote: > > > Monal > > > > 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. > > > > Nat > > > > > > ----------------------------------------- > > CONFIDENTIALITY NOTICE: This electronic message > > contains > > 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 > > additional > > 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 > > intended > > 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. > http://brand.yahoo.com/cybergivingweek2005/ > > >

__________________________________ Yahoo! for Good - Make a difference this year. http://brand.yahoo.com/cybergivingweek2005/


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