× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Just watch the CCSID of the output. If the file exists, the contents are replaced and it keeps its CCSID. If the file doesn't exist, it's created using job CCSID.



-----Original Message-----
From: Justin Taylor
Sent: Thursday, September 06, 2018 1:11 PM
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxx>
Subject: RE: Replace text in XML file

Perfect! This works like a champ:
sed 's|<XML_Tag />|<XML_Tag>value_here</XML_Tag>|' sed_test > sed_test_out


I heard back from IBM, and a new PTF (SI68235) is required to fix a known issue with the RPG ON-EXIT command.


Thanks guy!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.