Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
converting a packed field to numeric

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Rehana

New User


Joined: 12 Feb 2007
Posts: 13
Location: chennai

PostPosted: Fri Jul 27, 2007 2:44 pm    Post subject: converting a packed field to numeric
Reply with quote

Apologies didn't search the manual completely. Can anyone let me know if there is a way to convert packed decimal value to numeric value in SORT
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Fri Jul 27, 2007 2:50 pm    Post subject:
Reply with quote

Here is a little help with the DFSORT manual:
Converting Numeric Fields to Different Formats
Back to top
View user's profile Send private message
dharmadam_man

New User


Joined: 20 Apr 2005
Posts: 8

PostPosted: Tue Aug 07, 2007 5:00 am    Post subject:
Reply with quote

I want to convert PIC S9(15) COMP-3 to 9(15) COMP without sign. When I give the format as OUTREC FIELDS=(3,8,PD,TO=ZD,LENGTH=15, I am getting sign over punch on the last byte.
For example, I am seeing 00000015499319E insttead of 000000154993195. How can I get 000000154993195 in the output.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Tue Aug 07, 2007 5:25 am    Post subject:
Reply with quote

Actually, with DFSORT you would automatically get 000000154993195. You must be using Syncsort if you're getting E instead of 5. So I'm moving this post from the DFSORT Forum to the JCL Forum.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us