Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Conversion to editable format using SORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Conversion to editable format using SORT
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: 2180
Location: @my desk

PostPosted: Mon Oct 25, 2010 3:59 pm    Post subject:
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    Post subject:
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: 2180
Location: @my desk

PostPosted: Mon Oct 25, 2010 4:46 pm    Post subject:
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

Site Director


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

PostPosted: Mon Oct 25, 2010 7:24 pm    Post subject:
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 Moderator


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

PostPosted: Mon Oct 25, 2010 10:51 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us