|
View previous topic :: View next topic
|
| Author |
Message |
julian123
New User
Joined: 14 Aug 2006 Posts: 25
|
|
|
|
this is my input file
| Code: |
<...+....1....+....2
00001000000200
FFFFFFCFFFFFFC
00001000000200
_____________________
00002000000300
FFFFFFCFFFFFFC
00002000000300 |
and I want to get the output file as following
| Code: |
<...+....1....+....2
00003000000500
FFFFFFCFFFFFFC
00003000000500
|
but when I use SUM FIELDS=(1,7,ZD,8,7,ZD), I got
| Code: |
<...+....1....+....2
00003000000500
FFFFFFFFFFFFFF
00003000000500
|
Why I can't get a C(positive sign) but an F.
Anybody can help me , thanks a lot in advance. |
|
| Back to top |
|
 |
Escapa
Senior Member

Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Hi, DFSORT uses F for positive sign by default.
Use
to get C for positive sign |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
| Quote: |
| DFSORT uses F for positive sign by default. |
More accurately:
For SUM, DFSORT uses an F for a positive sign if ZDPRINT=YES is in effect or a C for a positive sign if ZDPRINT=NO is in effect. DFSORT's shipped installation default is ZDPRINT=YES, but the site can change that to ZDPRINT=NO.
If you want to ensure that ZDPRINT=YES is in effect for a particular job, you can specify:
for that job.
If you want to ensure that ZDPRINT=NO is in effect for a particular job, you can specify:
for that job. |
|
| Back to top |
|
 |
Escapa
Senior Member

Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
| Quote: |
| but the site can change that to ZDPRINT=NO. |
Enlightened... Thanks.. |
|
| Back to top |
|
 |
julian123
New User
Joined: 14 Aug 2006 Posts: 25
|
|
|
|
| Dear two, thanks for your suggestion, it's useful. thx. |
|
| Back to top |
|
 |
|
|