| Date: | Wed, 15 Dec 1999 08:16:52 GMT |
| Reply-To: | rubber_duck_67@MY-DEJA.COM |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | rubber_duck_67@MY-DEJA.COM |
| Organization: | Deja.com - Before you buy. |
| Subject: | Merging and overlaying fields |
|---|
Hi,
Being a non SAS user I'm posting here in the hope
that someone may be able to help. I'm a mainframe
programmer wishing to write a simple utility that
will assist us greatly with testing.
I have two input files, both defined as variable
block, with record lengths of 32756 and block size
of 32760, lets call them FILEA and FILEB. The
output file will be FILEC defined in a similar
fashion to those above.
I wish to take a 200 byte block from FILEA and
insert it into the corresponding record in FILEB
and output the updated FILEB to FILEC.
i.e.
FILEA = AAAAAABBBBBBCCCCCCCCCCCCCCCCCCCC
FILEB = DDDEEEEEEFFFFFFFFFFFFFFFFFFFFFFF
I wish to create an output of :
FILEC = DDDBBBBBBFFFFFFFFFFFFFFFFFFFFFFF
In FILEA the 200 byte field starts at position 351
while in FILEB it starts at position 65.
Any assistance would be greatly appreciated.
Thanks in advance,
++++++++++
Ian Dukes
RD Australia
++++++++++
Sent via Deja.com http://www.deja.com/
Before you buy.
|