IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Question when converting from ZD to PD.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Mon Oct 19, 2009 5:17 pm
Reply with quote

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
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Mon Oct 19, 2009 7:45 pm
Reply with quote

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
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Mon Oct 19, 2009 8:05 pm
Reply with quote

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
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Mon Oct 19, 2009 8:21 pm
Reply with quote

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
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Tue Oct 20, 2009 9:57 pm
Reply with quote

I did work for me. But i want to know as if there is any difference between "C" and "F".
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Oct 20, 2009 10:18 pm
Reply with quote

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
View user's profile Send private message
arvind.m

Active User


Joined: 28 Aug 2008
Posts: 205
Location: Hyderabad

PostPosted: Wed Oct 21, 2009 11:05 am
Reply with quote

All four fields are numeric. so i don't think it will be a problem.
Thank you all.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 21, 2009 7:51 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts Converting fixed length file to excel... IBM Tools 7
No new posts Converting ASCII values to COMP-3 (ZD... JCL & VSAM 2
Search our Forums:

Back to Top