javedsk12 Beginner

Joined: 14 Dec 2007 Posts: 66 Topics: 36 Location: pune
|
Posted: Sun Apr 13, 2008 11:56 pm Post subject: how to split the file having spaces |
|
|
hi frnds,
i need to split a file into two individual files.
original file is having some spaces after each record i am using ICEMAN to split the files and using split1r function just want to know whether it will consider the single spce as record or not because with the help of split1r we can split on the basis of no of reocrds only.
pls guide on this
regards,
Javed _________________ javed
-----------------------
The Word Impossible it self says i am possible(im possible) |
|
Frank Yaeger Sort Forum Moderator

Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Mon Apr 14, 2008 10:49 am Post subject: |
|
|
Quote: | original file is having some spaces after each record |
You need to look up the definition of a "record".
A record can't have spaces after it. A record can have another record after it with just spaces in it (that would be two records). Or a record can have spaces at the end of the record (that would be one record).
SPLIT1R deals with records. If a record has a blank at the end of the record, it's still one record, not two records.
If you're still confused, then show an example of your input records and what you expect for output so we can see what you're actually talking about. Also, give the RECFM and LRECL of the input file. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort |
|