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

Conversion to editable format using SORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
theone1987

New User


Joined: 14 Sep 2009
Posts: 60
Location: Milan

PostPosted: Mon Oct 25, 2010 2:48 pm
Reply with quote

Hi everyone,
i have a number in this format
Code:

÷     
E000000
1830001


i want convert in this format
Code:
1080300000001


how can i do it whit sort?

thank you
L
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Oct 25, 2010 3:59 pm
Reply with quote

theone1987,

Your input has only X'080300000001' preceded by X'E1' ie., '÷' symbol. Where did the prefix '1' in the expected output come from?
Back to top
View user's profile Send private message
theone1987

New User


Joined: 14 Sep 2009
Posts: 60
Location: Milan

PostPosted: Mon Oct 25, 2010 4:06 pm
Reply with quote

Arun Raj wrote:
theone1987,
Where did the prefix '1' in the expected output come from?


I thought that X'E1' = 1 (otherwise how could I convert X'E1'?)
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Mon Oct 25, 2010 4:46 pm
Reply with quote

theone1987 wrote:
I thought that X'E1' = 1 (otherwise how could I convert X'E1'?)
How did you arrive at this conclusion!! You need to be clear on what you're trying to achieve.
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: Mon Oct 25, 2010 7:24 pm
Reply with quote

Hello,

Quote:
I thought that X'E1' = 1 (otherwise how could I convert X'E1'?)
Hex F1 is a one (1).

Suggest you edit a new little member and type in the alphabet (Upper case) and numbers zero thru nine. Then look at these in hex (HEX ON).

For more good info, entering the data in hex, create 16 lines with the hex values from 00-0F thru F0-FF. You will be able to see all 256 characters and the value they display on your terminal.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Mon Oct 25, 2010 10:51 pm
Reply with quote

Theone1987,

The single hexadecimal value you show is NOT any standard type of numeric. It's not PD - it's not ZD - I have no idea what it is. It's impossible to discern a pattern from one example.

You need to explain the rules for converting this non-standard type of numeric before anyone can help you.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts JCL sort card - get first day and las... JCL & VSAM 9
Search our Forums:

Back to Top