Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Topic-icon Question Example of Concat

More
29 May 2015 14:19 - 29 May 2015 16:05 #1 by ikafai
Example of Concat was created by ikafai
HI

Can you give me an example of process with Cancat File action

regards
Last edit: 29 May 2015 16:05 by ikafai.
More
29 May 2015 16:51 #2 by Thomas BLETON
Replied by Thomas BLETON on topic Example of Concat
Here is a quick example :
OUT_FILE_NAME = d:/temp/outfile.txt
IN_FILE_MASK = d:/data/datafiles/F*.txt
FILE_SEPARATOR = \n

=> All the files *.txt found in directory d:/data/datafiles, will be concatenated and the result will be written in a single file named d:/temp/outfile.txt.
After each file's content, a Unix-like line break will be inserted.

I hope this helps.
Also, don't forget to read the Help in stambia Designer, in the action reference chapter.
More
01 Jun 2015 09:40 #3 by ikafai
Replied by ikafai on topic Example of Concat
I didn't put the right path in "IN_FILE_MASK", I typed just "F*.txt" that's why it doesnt work.
Regards