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

Usage of Hexadecimal value in ADSO


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
athulvijay

New User


Joined: 01 Jul 2010
Posts: 17
Location: PUNE

PostPosted: Wed Nov 09, 2011 6:32 pm
Reply with quote

Is it possible to use Hex in Adso Code? I want to replace Hex values which are non displayable with a displayable character in a message.

Thanks inadvance for the help.
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Nov 09, 2011 6:45 pm
Reply with quote

If there isn't can you not just create the value you want in an ISPF edit session and then cut and paste to your ADSO development environment?
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Nov 09, 2011 8:18 pm
Reply with quote

So, for example, you need to convert X'8A' to something displayable? Any one-byte non-displayable character (if you need to view it outright), must be changed to two-bytes (X'8A' becomes C'8A').

There are numerous ways to perform this conversion (easiest in a called Assembler sub-program), but is this what you're looking for?

I'd be surprised if this is unavailable in ADSO utilities....

Mr. Bill
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Nov 09, 2011 9:24 pm
Reply with quote

Called Assembler sub-program -

www.ibmmainframes.com/viewtopic.php?p=247960&highlight=#247960

Mr. Bill
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 -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts STEM usage in REXX CLIST & REXX 14
No new posts z/OS Modules Usage report using SMF 42 DFSORT/ICETOOL 2
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
No new posts Usage of BINSEARCH PL/I PL/I & Assembler 1
Search our Forums:

Back to Top