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 unacceptable value (junk) into space

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


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Wed Jul 26, 2006 2:25 pm    Post subject: Replace unacceptable value (junk) into space Reply with quote

Below are valid values can typed from keyboard from
http://www.mvsforums.com/helpboards/viewtopic.php?t=134

X'F0' X'F1' X'F2' X'F3' X'F4' X'F5' X'F6'
X'F9' X'60' X'7E' X'79' X'5A' X'F7' X'F8'
X'7C' X'7B' X'5B' X'6C' X'50' X'5C' X'4D'
X'5D' X'6D' X'4E' X'D8' X'E6' X'C5' X'D9'
X'E3' X'E8' X'E4' X'C9' X'D6' X'D7' X'4A'
X'6A' X'E0' X'C0' X'D0' X'4F' X'C1' X'E2'
X'C6' X'C7' X'C8' X'D1' X'D2' X'D3' X'5E'
X'6B' X'7A' X'E9' X'E7' X'C3' X'E5' X'C2'
X'D5' X'D4' X'6B' X'4B' X'61' X'4C' X'6E'
X'6F' X'98' X'A6' X'85' X'99' X'A3' X'A8'
X'A4' X'89' X'96' X'97' X'81' X'A2' X'84'
X'86' X'87' X'88' X'91' X'92' X'93' X'A9'
X'A7' X'83' X'A5' X'82' X'95' X'94' X'C4'
X'40' X'7F' X'7D'.


How can i check the same using sort .... for a file for each byte
i am not getting any ideas
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12377
Topics: 75
Location: San Jose

PostPosted: Wed Jul 26, 2006 2:36 pm    Post subject: Reply with quote

ANIL SARATHY,

Use ALTSEQ and check this post for examples

http://www.mvsforums.com/helpboards/viewtopic.php?t=5350&highlight=altseq

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Wed Jul 26, 2006 2:42 pm    Post subject: Reply with quote

Thnaks for quick reply.

i am aware of altseq, but how to do check for unacceptable values other than above.


One way is to type values with different combinations of A-F and 0-9 in altseq

Any simple way.
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


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

PostPosted: Wed Jul 26, 2006 3:39 pm    Post subject: Reply with quote

It's not at all clear what it is you want to do. If you want to replace each "invalid" character with a space, you can do that using DFSORT's TRAN=ALTSEQ function. But you have to specify xx40 for each hex byte (xx) you want to treat as "invalid". DFSORT has no way of knowing which characters you consider to be invalid.

If you want to do something else, you need to explain clearly what exactly it is you want to do.
_________________
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
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Wed Jul 26, 2006 3:43 pm    Post subject: Reply with quote

it seems i have to type, values mentioned above are good values.

Any hex value other than above is considered as unacceptable. So all these should be replaced with space. Hope this is clear

I have used ALTSEQ many times earlier, but it all accepts (XX)(YY) .
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


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

PostPosted: Wed Jul 26, 2006 4:14 pm    Post subject: Reply with quote

It sounds like what you are saying is that ALTSEQ will work, but you don't like entering all the "invalid" values, so you want something that will just "know" what you want and do it? I guess you want something that can read your mind, or just happens to consider the same set of values incorrect that you do. Smile Maybe somebody else knows of such a "solution". I don't.

Funny, I suspect you would have done less typing by entering all the incorrect values for ALTSEQ then you did in this thread. Laughing
_________________
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
ANIL SARATHY
Beginner


Joined: 30 Aug 2005
Posts: 88
Topics: 3
Location: Syracuse,New york

PostPosted: Thu Jul 27, 2006 7:45 am    Post subject: Reply with quote

hehehe , i guess frank Laughing .
_________________
Anil Sarathy
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
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