try String = x2c('0001A735')
From: The IBM z/VM Operating System [mailto:[email protected]] On Behalf
Of Horlick, Michael
Sent: Friday, April 30, 2010 9:37 AM
To: [email protected]
Subject: How to work with hex in REXX
Greetings,
I have a character field for example 0001A735 (PRK)
I have record like this 'DATA DATA YYYY'. I want to replace 'YYYY' with
x'0001A735'.
Tried :
String = "'"||PRK||"'x"
JCL.J = Overlay(String,Record,WORK,4)
Where work = position of 'YYYY' in record
Not working.
Mike Horlick
Conseiller
CGI Gestion Intégrée des Technologies
1350 Boul. René-Lévesque Ouest
Montréal, Qc, H3G 1T4
________________________________
This e-mail, including any attachments, may be confidential, privileged or
otherwise legally protected. It is intended only for the addressee. If you
received this e-mail in error or from someone who was not authorized to send it
to you, do not disseminate, copy or otherwise use this e-mail or its
attachments. Please notify the sender immediately by reply e-mail and delete
the e-mail from your system.