Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2081
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 Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us