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

How to retrieve a hex data in cursor position


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

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

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

Global Moderator


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

PostPosted: Tue Sep 09, 2008 9:57 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top