I'm looking for an SQL example command and syntax for search/replace of a string within a field.
The below is in one field, QUSRIJS/QAIJS1CM field is CMCMD.
MOVALLOBJ OBJ(Z8XXK12P/*ALL) TOLIB(UPIC08XXCP) OBJTYPE(*ALL) OBJOPT(*NEWRPL)
update QUSRIJS/QAIJS1CM set CMCMD = '&IC08XXCHGP' where CMJOB = 'ICO
M827HYP' and CMCMD = 'UPIC08XXCP'
Within AJS, I need to replace hardcoded library names, going to make them variables.
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact