Frank Yaeger Sort Forum Moderator

Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Thu Jan 17, 2008 3:29 pm Post subject: |
|
|
X(11) is an 11-byte ZD field. COMP-5 is BI. You'd need an 8-byte BI field to hold an 11-byte ZD field, so the conversion with DFSORT would be something like:
Code: |
INREC BUILD=(...,p,11,ZD,TO=BI,LENGTH=8,...)
|
where p is the starting position of the ZD field.
For more information on numeric conversion with DFSORT, see:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CG20/2.4.7?DT=20060615173822
For more information on COBOL vs DFSORT formats, see:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA20/C.3?DT=20060615185603 _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort |
|