Skip to Content
Former Member
Dec 12, 2008 at 03:16 PM

File name generation with sequence number


Hi All,

My scenario is, File to File. I need to generate the filenames at the target side like File1.xml, File2.xml..File9999.xml for each file triggered from source system. The interface tiggesrs multiple times in a day.

For example, for the first time, 5 files triggered, need to generate File1.xml,File2.xml..File5.xml. After some time the interface might trigger with 10 files, then need to generate files as File6.xml,File7.xml....File15.xml . Once the file count reaches 9999 then need to generate the files from 1 (File1.xml)again.

Could you please suggest me the possible solutions. For this any Lookups required?


Praveen Kumar