Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Extract and justify delimited fields

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
vvmanyam

New User


Joined: 16 Apr 2008
Posts: 86
Location: Bangalore

PostPosted: Fri Oct 17, 2008 11:01 am    Post subject: Extract and justify delimited fields
Reply with quote

Hi,
I have a requrement to extract the varying length fields in a delimited file in to fixed width delimited file.
I have seen an example in Smart DFSORT Tricks document but It is sloved by Using 'PARSE' but My DFSORT version is not updated version, So, it does n't have this functionality.
So, Can any one give me the solution with out using PARSE function.

First 7 bytes is key and each value will be max of 7 bytes.
Total no of fields excluding key are 5

Sample Input:
Code:

US12444;25;8965;9393;135;9038;
US12448;259;965;933923;13535;9038;


Output:
Code:

US12444;0000025;0008965;0009393;0000135;0009038;
US12448;0000259;0000965;0933923;0013535;0009089;



Thanks,
Balu
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Oct 17, 2008 10:54 pm    Post subject:
Reply with quote

DFSORT has had PARSE available since April, 2006 so your site is way behind in service. Ask your System Programmer to install z/OS DFSORT V1R5 PTF UK90013 (for any z/OS release from 1.5 through 1.9). That will get you completely up-to-date on DFSORT functions.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts DFSORT MUL FIELDS tspr52 DFSORT/ICETOOL 16 Fri Mar 03, 2017 11:53 pm
No new posts Sort two file having same field, one ... himanshu malik DFSORT/ICETOOL 7 Thu Feb 02, 2017 10:09 am
No new posts Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 7 Sat Jan 21, 2017 4:02 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us