> -----Original Message-----
> From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Tom
> Sent: Friday, August 06, 2010 3:40 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: Re: SAS INFILEing a perl program using a PIPE
> Kevin -
> As the FILE and the INFILE do not look related from reading your SAS
> why not try placing the INFILE statement before the FILE statement.
> this will make SAS less confused?
> But I am not sure what purpose your FILE/PUT statements are doing? Are
> you trying to pass the filename in the PUT statement to the actual PERL
> program? If so they why not just pipe it into the PERL program?
> If you want to pipe in the content of the file then use:
> filename abi_seq pipe "perl c:\perl\program\abi_seq.ps < c:\a19.ab1";
> If you want to pipe in just the filename then use:
> filename abi_seq pipe "echo c:\a19.ab1 | perl
> - Tom Abernathy
Subject: STDIN for perl in PIPE
The problem is that each observation is my data set has two raw text files that I need to INFILE.
I assume that the perl program would need to read from STDIN?
Kevin Viel, PhD
Senior Research Statistician
Patient Safety & Quality
International College of Robotic Surgery
Saint Joseph's Translational Research Institute
Saint Joseph's Hospital
5671 Peachtree Dunwoody Road, NE, Suite 330
Atlanta, GA 30342
(678) 843-6076: Direct Phone
(678) 843-6153: Facsimile
(404) 558-1364: Mobile
This e-mail, including any attachments is the
property of Catholic Health East and is intended
for the sole use of the intended recipient(s).
It may contain information that is privileged and
confidential. Any unauthorized review, use,
disclosure, or distribution is prohibited. If you are
not the intended recipient, please delete this message, and
reply to the sender regarding the error in a separate email.