View previous topic :: View next topic
|
Author |
Message |
Bhargav_1058
New User
Joined: 13 Dec 2008 Posts: 53 Location: New York
|
|
|
|
I have an input file of record length of 133. I need to compare the amounts in the FIELD-A-VARIANCE and FIELD-B-VARIANCE.
The amounts are right justified with opposite signs and are variable.
Will this be possible by a SORT?
Please see the attachment for details of the input file.
Attachment deleted - data posted below. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Please repost your data using copy/paste and the "Code" tag. Use Preview to see your post as the forum will see it and when you have it the way you want, Submit.
Include a bit more sample data and show what you want as output from the sample data. |
|
Back to top |
|
|
Bhargav_1058
New User
Joined: 13 Dec 2008 Posts: 53 Location: New York
|
|
|
|
Hi,
My INPUT file will have an record lenght of 133. it will have the amounts after 104th position, amounts are right justified and will be same.
Code: |
________________________ ________________________ ___________________
$0.00 $0.00 $210.10
$0.00 $1,681,756.20 $210.10- |
I need to check whether the amounts are eual in number (different in sign) or not.
as an example i need to check whether the amount $210.00 is same with different sign. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Please post more complete data - unless the process will only ever have 2 lines of input. |
|
Back to top |
|
|
|