cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BODS SAP DS file_move XML file processing

LeeFung
Participant
0 Kudos
225

I have a an XML BODS processing job, processing many XML files at a time. 

Now I have a requirement, on an Linux server, using BODS function file_move, but it needs to only move one XML file to a different folder at a time, not all XML files. 

The reason is that some XML files might be badly formatted, and can't be processed by the BODS job, and those XML files need to go to a different folder after processing. 

 

Anyone had such a scenario before? Thanks!

 

Accepted Solutions (0)

Answers (1)

Answers (1)

koolspy_ultimate
Active Contributor

Hi Leefung,

You can use try catch blocks and in the catch block add a script to move the bad file to different location.