HEX ON rexx



IBM's Command List programming language & Restructured Extended Executor

HEX ON rexx

Postby meowmeow » Sat Feb 20, 2010 5:35 pm

Is there a way that I can issue a 'HEX ON' command in rexx?
meowmeow
 
Posts: 8
Joined: Thu Feb 18, 2010 5:37 pm
Has thanked: 0 time
Been thanked: 0 time

Re: HEX ON rexx

Postby MrSpock » Sat Feb 20, 2010 9:45 pm

You can use the HEX ON command in an ISPF Edit Macro. You can code the macro in REXX or whatever other language you want to use.
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: HEX ON rexx

Postby dick scherrer » Sat Feb 20, 2010 9:46 pm

Hello,

Try C2X.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: HEX ON rexx

Postby meowmeow » Mon Mar 01, 2010 9:28 pm

i have tried C2X but i can't seem to read the line.

what i'm trying to do is like this:
example:
AB1234567890CD

i want to code in my rexx program to issue a hex on command in the example above to get this result:
AB1234567890CD
00000000000120
00000000000300

so that i can get the number 132 ..

i can't seem to figure this out...
meowmeow
 
Posts: 8
Joined: Thu Feb 18, 2010 5:37 pm
Has thanked: 0 time
Been thanked: 0 time

Re: HEX ON rexx

Postby enrico-sorichetti » Tue Mar 02, 2010 1:05 am

as already pointed out in You other post

unless You tell us what is the relation between the three lines You are showing
nobody will be able to help You!

if You have the string
AB1234567890CD

its hex representation would be
CCFFFFFFFFFFCC
12123456789034

try it in an SPF edit session

i can't seem to figure this out...
pretty difficult to ...
no way to get a 132 from the data you showed
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: HEX ON rexx

Postby Pedro » Thu Mar 11, 2010 10:33 am

i have tried C2X but i can't seem to read the line.

Show us your exec.
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post