Sort conversion



IBM's flagship sort product DFSORT for sorting, merging, copying, data manipulation and reporting. Includes ICETOOL and ICEGENER

Sort conversion

Postby jd020674 » Wed Jul 16, 2008 8:31 pm

Hello,

I'm looking for solution to convert, using dfsort, icetool et other (not COBOL PGM)

+00000000845,09 to 00000008540I
-00000003278,18 to 00000032781Q

I try like this

//S1    EXEC  PGM=ICEMAN
//SYSOUT    DD  SYSOUT=*
//SORTIN    DD DISP=SHR,DSN=...
//SORTOUT   DD DISP=OLD,DSN=...
//SYSIN    DD    *
  OPTION COPY
  INREC BUILD=(001,058,
               059,15,SFF,TO=ZD,LENGTH=12)
/*


but the result is not totally correct, i have

000000084509 KO (I want 00000008540I) :o :o
00000032781Q OK

Is anybody can help me please.

thank, have a good day
jd020674
 
Posts: 2
Joined: Wed Jul 16, 2008 8:26 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Sort conversion

 

Re: Sort conversion

Postby Frank Yaeger » Thu Jul 17, 2008 1:29 am

DFSORT's default is to use an F sign for ZD values. If you want a C sign instead of an F sign, you can use TO=ZDC instead of TO=ZD.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
User avatar
Frank Yaeger
Global moderator
 
Posts: 1080
Joined: Sat Jun 09, 2007 8:44 pm
Has thanked: 0 time
Been thanked: 14 times

Re: Sort conversion

Postby jd020674 » Thu Jul 17, 2008 1:15 pm

Alleluia !!! It's running correctly. Thanks a lot Frank.

Jack
jd020674
 
Posts: 2
Joined: Wed Jul 16, 2008 8:26 pm
Has thanked: 0 time
Been thanked: 0 time


Return to DFSORT/ICETOOL/ICEGENER

 


  • Related topics
    Replies
    Views
    Last post