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 

Replace binary data with spaces

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


Joined: 24 Feb 2005
Posts: 33
Topics: 17

PostPosted: Tue May 09, 2006 3:16 am    Post subject: Replace binary data with spaces Reply with quote

I am getting binary data in my output file as below

10199 ..5922100....01/05/2004..1480.31........4576.00........283.71.....


How do I replace them with spaces using SORT?
Back to top
View user's profile Send private message
hariavinash
Beginner


Joined: 21 Jan 2005
Posts: 52
Topics: 7

PostPosted: Tue May 09, 2006 5:51 am    Post subject: Reply with quote

lacoe1,

Is the data position same for all the records with binary data.

cheers
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: Tue May 09, 2006 11:01 am    Post subject: Reply with quote

You haven't given enough information for anyone to help you. You need to give more details and explain clearly what you're trying to do.

What do you mean by binary data? It's hard to understand how '01/05/2004' can be "binary" data rather than "character" data. If the value is X'F0F160F0F560F2F0F0F4', then it is character data. If that's not what the value looks like in hex, then what does it look like in hex?

What is the position, length and format of each field you want to replace with spaces? Do you want to put spaces in these positions regardless of what's in them, or do you only want to replace specific values with spaces? What are the rules?

What is the RECFM and LRECL of your 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