MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to split the file having spaces

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
javedsk12
Beginner


Joined: 14 Dec 2007
Posts: 66
Topics: 36
Location: pune

PostPosted: Sun Apr 13, 2008 11:56 pm    Post subject: how to split the file having spaces Reply with quote

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)
Back to top
View user's profile Send private message
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Mon Apr 14, 2008 10:49 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group