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 

A problem with delimited file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Vish
Beginner


Joined: 17 Sep 2003
Posts: 21
Topics: 9
Location: Mumbai India

PostPosted: Mon Sep 22, 2003 12:04 pm    Post subject: A problem with delimited file Reply with quote

Friends,
I have a delimited file containing 3 filelds being uploaded to mainframe.
Here below I am pasting 2 records
When I go in the Browse mode
206.200.SEATTLE
206.201.BAINBDG IS

When I go in the Edit mode
206 200 SEATTLE
206 201 BAINBDG IS

Hex on (Edit)
206 200 SEATTLE
FFF0FFF0ECCEEDC44444444
20652005251333500000000
-----------------------
206 201 BAINBDG IS
FFF0FFF0CCCDCCC4CE44444
20652015219524709200000

My requirement is to remove the gap between the filelds. I need the modified records like 206200SEATTLE. How can I do this with the simplest possible way ?
_________________
Vish
Back to top
View user's profile Send private message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Mon Sep 22, 2003 12:41 pm    Post subject: Reply with quote

c all p'.' ''
Back to top
View user's profile Send private message
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Mon Sep 22, 2003 1:08 pm    Post subject: Reply with quote

Please check if ISPF edit can be used. If the file length is longer this process may through the file out of balance. Try to use the hex value thru a sort process to eliminate the non-displayable characters.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Mon Sep 22, 2003 1:44 pm    Post subject: Reply with quote

Vish,

If the fileds are of fixed length then you can use sort to remove the tab character(x'05'). If it is variable then sort may not the right tool to get the desired results.

Easytrieve is one tool which comes to my mind to achieve the desired results.

Hope this helps...

cheers

kolusu
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 -> Job Control Language(JCL) 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