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
 

 

How to retrieve a hex data in cursor position

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
vpr_118
Warnings : 1

New User


Joined: 07 Apr 2008
Posts: 64
Location: chennai

PostPosted: Tue Sep 09, 2008 6:45 pm    Post subject: How to retrieve a hex data in cursor position
Reply with quote

Hi,

I have to retrieve a data in cursor position.
The data is in hex.
My requireemt is to get the data from the position and change that to decimal.
Please find the sample input below:
AR Ü Ü ÅÊø °c *
- - - - + - - - - 1 - - - - + - - - - 2 - - - - + - - - - 3 - - - - + - -
AR Ü Y ÅÊø °c *
CD00002F2046909F04747419815000000000000
190000EC335800aC0340844030C0010000C0100
- - - - + - - - - 1 - - - - + - - - - 2 - - - - + - - - - 3 - - - - + - -
AR Ü Y ÅÊø °c *
CD00002F2046909F04747419815000000000000
190000EC335800aC0340844030C0010000C0200

I have to see if we have '90' in 18th position and have to retrieve the data in 28th postion which either will be '01' or '02' or '03'

since the data is fully in hex .please let me know how to identify the value in 18th and 28th position.
[/b]
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Sep 09, 2008 6:49 pm    Post subject:
Reply with quote

F '90'X 18
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2025
Location: Silicon Valley

PostPosted: Tue Sep 09, 2008 9:57 pm    Post subject: Reply to: How to retrieve a hex data in cursor position
Reply with quote

You were not clear. Do you want the data in the cursor position? Or do you want the data at a particular column?
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am


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