Reply To: Change OBFilename

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Change OBFilename Reply To: Change OBFilename

#56899
Anonymous
Participant

Nora,

The key will be capturing the original file name in the first place.  Are you using fileset local to read the file?  FTP?  Did you write a file reader procedure of your own?

Once you have the file name then you will want to stash the file name in the driver control metadata field so that it travels along with the message until the end and the driver will then use that file name to write it out.

FYI, you can’t save the file name in a global variable because each thread has it’s own namespace and Cloverleaf doesn’t publish the namespace names anywhere.

Let me know how you’re reading the file and either me or someone else can tell you how to capture the file name.

Cheers,

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10