View previous topic :: View next topic
|
Author |
Message |
arvind.m
Active User
Joined: 28 Aug 2008 Posts: 205 Location: Hyderabad
|
|
|
|
HI
I have a file and converted all the zoned decimal to packed decimal. i tried with the cobol program then with SYNCSORT. But converted without any issue. but the file compare did not show the desire result (all records were mismatching).
when i opened the file with HEX ON option, i could see the sign field is "C" when converted using COBOL and "F" with SYNCSORT. In production, the same file has "C". Will this be any problem. i mean to say that i know that both represents positive field but when used in the program will the program behave differently.
Code: |
..cÈ..%../.............æWeek Ending 06/18/20
008700621620000100000039E8894C988984FF6FF6FF444444444444
083432C041C00000C000003C65520554957006118120000000000000
|
Code: |
..cÈ..?../.............¤Week Ending 06/18/20
008700621620000100000039E8894C988984FF6FF6FF444444444444
083432F041F00000F000003F65520554957006118120000000000000
|
|
|
Back to top |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
Hello Arvind.
Based on your description, I assume that you are running SyncSort for z/OS 1.3. If this is correct, please identify the maintenance level. If this is not correct, then please specify the complete release and maintenance level of SyncSort currently installed at your shop. |
|
Back to top |
|
|
arvind.m
Active User
Joined: 28 Aug 2008 Posts: 205 Location: Hyderabad
|
|
|
|
Hi Alissa,
you are correct. The syncsort verion in my shop is:
Code: |
SYNCSORT FOR Z/OS 1.3.2.1R
|
How to identify the maintenance level. |
|
Back to top |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
Instead of specifying (p,l,ZD,PD) to convert the data, try (p,l,ZD,PDC).
Let me know if you run into any difficulties. |
|
Back to top |
|
|
arvind.m
Active User
Joined: 28 Aug 2008 Posts: 205 Location: Hyderabad
|
|
|
|
I did work for me. But i want to know as if there is any difference between "C" and "F". |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
if there is any difference between "C" and "F". |
As numbers, no - both are positive.
As character values, yes. As you've seen, when comparing these, they compare unequal (which is the way they should compare - they are not equal). |
|
Back to top |
|
|
arvind.m
Active User
Joined: 28 Aug 2008 Posts: 205 Location: Hyderabad
|
|
|
|
All four fields are numeric. so i don't think it will be a problem.
Thank you all. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
All four fields are numeric. so i don't think it will be a problem.
|
If any of these fields are used as a key or are part of a group level compare, the operation may fail. . . |
|
Back to top |
|
|
|