View previous topic :: View next topic
|
Author |
Message |
sandy_mcs
New User
Joined: 01 Apr 2006 Posts: 17 Location: Pune
|
|
|
|
Hi all,
currently i am fighting with one problem. In my output file Header record is as below :
<BatchUpdate Type="TRI" WorkDate="20070905" RecordCount="00037">
followed by Detail records. And last record is </BatchUpdate>
which is also being counted in the RecordCount.
I want only the number of detail records and that is 36 and not 37.
My control card is as below :
SORT FIELDS=COPY
OUTFIL REMOVECC,NODETAIL,
TRAILER1=(COUNT=(M11,LENGTH=5))
Thanks you all for reading....! |
|
Back to top |
|
|
shankar.v
Active User
Joined: 25 Jun 2007 Posts: 196 Location: Bangalore
|
|
|
|
Try with the following sort cards
Code: |
SORT FIELDS=COPY
OUTFIL REMOVECC,NODETAIL,
TRAILER1=(COUNT-1=(M11,LENGTH=5))
|
|
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
Back to top |
|
|
|