MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help on Syncsort using TO=ZD.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
prog_mario
Beginner


Joined: 08 Sep 2007
Posts: 86
Topics: 27

PostPosted: Wed Jun 16, 2010 2:05 pm    Post subject: Help on Syncsort using TO=ZD. Reply with quote

I need convert a PD field to a ZD one.
The field I'm having problems with is a S9(5)V COMP-3 (its value is 00001C(hex).
I need to format it to 9(5).
When I use the sort line below
74:66,3,PD,TO=ZD,LENGTH=5
My output field looks like this:
0000A.
And it should be 00001.
Can you help me?
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Wed Jun 16, 2010 2:10 pm    Post subject: Reply with quote

Try TO=ZDF instead of TO=ZD.
_________________
All the best,

di
Back to top
View user's profile Send private message
prog_mario
Beginner


Joined: 08 Sep 2007
Posts: 86
Topics: 27

PostPosted: Wed Jun 16, 2010 2:21 pm    Post subject: Reply with quote

Thanks a lot papadi. It worked.
_________________
The more I learn, the more I want to learn.
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Wed Jun 16, 2010 3:06 pm    Post subject: Reply with quote

Good to hear it worked - thanks for the feedback Smile

di
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group