Page 1 of 1

DFSORT - replace low-values X'00'

PostPosted: Mon Apr 28, 2008 8:41 pm
by aplambeck
Hello,

I have a file with two different record types and I need to replace the low-values.

The first low-values were cut by DFSORT with "OPTION=COPY" and "INREC FIELDS=(4,813)". I have read our IBM Bookmanager Libraries for DFSORT but I haven't found any examples to replace the low-values. Some tests with the CHANGE- or OVERLAY-option in INREC weren't succesful. The low-values in line 1 are from position 81-813 it it's necessary.

Does anybody have a solution for my problem (I guess it's easy) ?

FILE:
..;01.01.2001;31.12.2001;TESTDATEN;         ....................
..;Meier                                                      ;Annelies           
..;Müller                                                     ;Siegfried         
..;Schulze                                                    ;Klaus             

Re: DFSORT - replace low-values X'00'

PostPosted: Mon Apr 28, 2008 9:12 pm
by Frank Yaeger
You can use the technique discussed in the "Change all zeros in your records to spaces" Smart DFSORT Trick at:

http://www.ibm.com/servers/storage/supp ... vs/tricks/

Re: DFSORT - replace low-values X'00'

PostPosted: Tue Apr 29, 2008 1:30 pm
by aplambeck
Dear Frank,

thank you very much. The link to DFSORT Tricks are very helpful. So I have solved my problem.

Regards, André