Date: Tue, 10 Jun 1997 09:39:00 -0600
Reply-To: Steve Cole <Steve.Cole@MCI.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Steve Cole <Steve.Cole@MCI.COM>
Subject: HELP CREATING MVS DELIMITED FILE
Add a constant between each of the variables below and adjust the column
start. For example:
DATA _NULL_;
FILE OUTABLE;
SET FINALOUT;
PUT
@1 CODE $10.
@12 ','
@13 DESC $22.
@36 ','
@37 BIZREQ $14.
etc....
I'm sure there are other methods that may be faster using loops.
Steve
__________________________________
Tim Rogers wrote:
To: Multiple recipients of list SAS-L <SAS-L@UGA.CC.UGA.EDU>
My current program creates a fixed width flat file (code below). I need
my output to be a comma delimited file instead of the fixed width. Any
assistance is greatly appreciated.
DATA _NULL_;
FILE OUTABLE;
SET FINALOUT;
PUT
@1 CODE $10.
@12 DESC $22.
@35 BIZREQ $14.
@50 REQDT MMDDYY6.
@57 DTOFUSE MMDDYY6.
@64 CAPUNIT 4.
@69 CAPREQ 8.
;
RUN;
--
******************************************************************
* Tim Rogers V-Mail: 703-689-0595 *
* Associate Consultant Fax: 703-968-0595 *
* Advantage Systems Group Inc. E-Mail: trogers@novarealty.com *
* 1-800-484-5189 code 8077 trogers@patriot.net *
******************************************************************