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 

convert pd to zd (negative value with sign)

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


Joined: 08 Apr 2010
Posts: 14
Topics: 9

PostPosted: Mon Jul 04, 2011 2:45 pm    Post subject: convert pd to zd (negative value with sign) Reply with quote

Hi,

I have a s9(7) comp3 field and I want to convert it to ZD with the sign.
For example: I have a value of x'0000001D' in this field and I want to see it converted to ZD with a negative symbol. Appreciate your help with DFSORT solution for this.

Thanks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Jul 04, 2011 3:50 pm    Post subject: Reply with quote

kumar26fl,

use
Code:

P,4,PD,EDIT=(STTTTTTTT),SIGNS=(+,-))

P = position of the PD field in your file

_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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