cancel
Showing results for 
Search instead for 
Did you mean: 

Add single header line to a file created in append mode

Former Member
0 Kudos

Hi All,

We are having a scenario wherein we need to keep on appending records to a file. Sender sends data via webservice calls at different time and at each time the receiver file gets appended. A second interface then picks the file and place it at the SFTP server of the third party system EOD

As of now we are writing the header in the file in the second interface.

Is there any method where we can check and put the header in the first interface itself? If there is any way if I can check whether the file exists in the server using udf and then update the header.

Please help. Any help would be appreciated

Thanks and regards

Siji Anup

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184720
Active Contributor
0 Kudos

You can check the file existence with the help of UDF to determine whether to add the header or not.

File Lookup in UDF - Process Integration - SCN Wiki