Page 1 of 1

HEX ON rexx

PostPosted: Sat Feb 20, 2010 5:35 pm
by meowmeow
Is there a way that I can issue a 'HEX ON' command in rexx?

Re: HEX ON rexx

PostPosted: Sat Feb 20, 2010 9:45 pm
by MrSpock
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.

Re: HEX ON rexx

PostPosted: Sat Feb 20, 2010 9:46 pm
by dick scherrer
Hello,

Try C2X.

Re: HEX ON rexx

PostPosted: Mon Mar 01, 2010 9:28 pm
by meowmeow
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...

Re: HEX ON rexx

PostPosted: Tue Mar 02, 2010 1:05 am
by enrico-sorichetti
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

Re: HEX ON rexx

PostPosted: Thu Mar 11, 2010 10:33 am
by Pedro
i have tried C2X but i can't seem to read the line.

Show us your exec.