cancel
Showing results for 
Search instead for 
Did you mean: 

XI 3.0 File receive comm.channel using variable for folder/file name schema

Former Member
0 Kudos

Hi,

I prepared a integration message to produce .txt file output of message.

I prepared message successfully, it's running properly and producing .txt file.

My problem is to set .txt file name.

I must set file name using by some information in .txt file.

I must get some part of the first line of .txt to set filename.

I declared a variable to do it.

How can i set referance of variable?

payload:..?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Answers (1)

Answers (1)

ravi_raman2
Active Contributor
0 Kudos

Write a java pgm to parse ur final file and find the parameters you need in the payload and use that to rename the file.

Invoke this Pgm from a batch file in the reciever communication channel...Run OS Command.

Regards

Ravi Raman