Date: Mon, 6 Oct 2003 14:10:00 +0000
Reply-To: Puddin' Man <pudding_man@POSTMARK.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Puddin' Man <pudding_man@POSTMARK.NET>
Subject: Re: Reading VBM file in MVS environment
Content-Type: text/plain; charset="iso-8859-1"
It is possible that you could get some mileage from
a code structure resembling:
data _null_;
infile in ...;
input;
file out DCB=IN;
...
put _infile_;
run;
The DCB's from the input file will be used for the
output file (don't specify them in JCL or in a
FILENAME statement).
This is, of course, untested.
Hope it hep's,
Puddin'
*******************************************************
*** Puddin' Man *** Pudding_Man@postmark.net *****
*******************************************************;
Harmeet wrote:
> I need to read an AFP VBM file in SAS, make some modifications to one
> of the record and then put the same in a new VBM file. Length of one
> record is 2150. When I just input and then put _INFILE_ ; in the new
> file this record is split in to multiple lines. Is there a way to read
> variable records and then output in the same format?
>
> Your help in this matter will be greatly appreciated.
>
> Thanks ........Harmeet