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: 2050
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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 16 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


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