On 04/30/2010 08:37 AM, Horlick, Michael wrote:
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
The REXX Reference is your friend (watch the wrap):
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/HCSE2B20/3.77?SHELF=hcsh2aa1&DT=20070420154926
--
Rich Smrcina
Phone: 414-491-6001
http://www.linkedin.com/in/richsmrcina
Catch the WAVV! http://www.wavv.org
WAVV 2011