vvmanyam
New User
Joined: 16 Apr 2008 Posts: 86 Location: Bangalore
|
|
|
|
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 |
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
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. |
|