Hi Folks
How can we specify UNIX EOF as record Delimiter while reading a Sequential file
Specifying UNIX EOF as Record Delimiter
Moderators: chulett, rschirm, roy
Are you reading a DOS file with EOF in it in UNIX environment.
You can use below method to remove EOF character from the file.
Use it in Before Job routine in Job Properties as ExecSH method
tr -d '\032' < sourcefilename > intermediate_sourcefilename
use intermediate_sourcefilename in sequential file stage
You can use below method to remove EOF character from the file.
Use it in Before Job routine in Job Properties as ExecSH method
tr -d '\032' < sourcefilename > intermediate_sourcefilename
use intermediate_sourcefilename in sequential file stage
Thanks