kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Tue Feb 04, 2003 11:22 pm Post subject: |
|
|
Eswar,
You can use INREC/OUTREC feature of SORT utility.A value of x'05'(HT) translates to x'09' (HT) on the PC. The following DFSORT jcl will give you the
results.
Code: |
//STEP0100 EXEC PGM=ICEMAN
//*
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=YOUR INPUT FILE,
// DISP=SHR
//SORTOUT DD DSN=YOUR OUTPUT TAB DELIMITED FILE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(X,Y),RLSE)
//SYSIN DD *
SORT FIELDS=COPY
OUTREC FIELDS=(01,20, $ FIELD1
X'05', $ TAB CHARACTER
22,20, $ FIELD2
X'05', $ TAB CHARACTER
....
POS,LENGTH) $ LAST FIELD
/*
|
Hope this helps...
cheers
kolusu |
|
Beswar Beginner
Joined: 04 Feb 2003 Posts: 33 Topics: 15
|
Posted: Wed Feb 05, 2003 10:06 am Post subject: |
|
|
Hi Kolusu,
Thank you very much you reply. You are very intelligent and very smart. very few people in the world are intelligent but very few are really willing to share their knoweldge to others. I think you are one among them. may god bless you in all your future endevors.
Once againg thanks for your help. Infact this will reduce manual intervention in our system, so that mainframe would take care automatically
Thanks
Eswar |
|