Created
December 21, 2022 12:54
-
-
Save BirgittaHauser/f0751929e9bef825d043e756ed6be9b5 to your computer and use it in GitHub Desktop.
Replace Characters in an IFS file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Retrieve the IFS file with GET_CLOB_FROM_FILE | |
-- Replace & with & | |
-- Write a new IFS file with the same name as the original file and replace the existing IFS file | |
Call Qsys2.Ifs_Write_Utf8(Path_Name => '/Home/Dir1/Dir2/YourIfsFile.csv', | |
Line => Replace(Get_Clob_From_File('/Home/Dir1/Dir2/YourIfsFile.csv'), | |
'&', '&'), | |
Overwrite => 'REPLACE', | |
End_Of_Line => 'NONE'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment