View previous topic :: View next topic
|
Author |
Message |
vasif
New User
Joined: 11 Feb 2008 Posts: 35 Location: Chennai
|
|
|
|
Hi,
I want to write a +0 (ZD) of 9(11)v99 to my output file using DFSort. Please let me know the way.
The leading sign '+' must showup when i lookup the output file in InSync or FileAid |
|
Back to top |
|
|
nelson.pandian
Active User
Joined: 09 Apr 2008 Posts: 133 Location: Phoenix, AZ
|
|
|
|
Hi vasif,
Change your ZD value to normal formate with the sign in the front. The following piece of code is one way to achieve this. Change the position according to your formate.
Code: |
OUTREC OVERLAY=(1:1,13,ZD,EDIT=(SIIIIIIIIII.TT),SIGNS=(+,-))
|
|
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
I want to write a +0 (ZD) of 9(11)v99 to my output file using DFSort. Please let me know the way. |
How you would do that depends on what hex value Insync and FileAid require to display the value the way you want it.
A COBOL value of 9(11)v99 corresponds to a 13-byte ZD value for DFSORT. I don't know how Insync or FileAid displays that value. You need to figure out and show what hex value for 0 will produce the display you want with Insync and Fileaid. Once you show me what the value has to look like in hex, I can show you how to get that hex value in DFSORT. |
|
Back to top |
|
|
|