Many thanks Jim,
Is there another way then passing the name in a global variable to a Inbound Data, TPS Inbound Data? (there a perform an over and change the file name of the ACK file.
In difference to TCP/IP protocol in the protocol thread (when using UPOCs Parse Directory and Deletion in the local file set protocol properties) the message contains the file name, but not the content of the file read.
Using global variables is dangerous if the engine goes down.
BTW
An issue I noticed (CL 5.3):
If the file name contains spaces, the read of the file errors although the file names was correctly recognized. Please see the log:
[tps :tps :INFO/1: file_in] tds.string = directoryParse {MSGID message0} {CONTEXT fileset_ibdirparse} {ARGS {}} {MODE run} {VERSION 3.0}
msg: 0x003EB188
msgType : DATA
msgClass : PROTOCOL
msgState : Unknown: 0 (0)
msgPriority : 5120
msgRecoveryDbState: 1
msgFlags : 0x2
msgMid : [0.0.194]
msgSrcMid : midNULL
msgSrcMidGroup : midNULL
msgOrigSrcThread :
msgOrigDestThread :
msgSrcThread :
msgDestThread :
msgXlateThread :
msgSkipXlate : 0
msgSepChars :
msgNumRetries : 0
msgGroupId : 0
msgDriverControl :
msgRecordFormat :
msgRoutes :
msgUserData :
msgStaticIsDirty : 0
msgVariableIsDirty: 0
msgTimeStartIb : 1282571752.602
msgTimeStartOb : 1282571752.602
msgTimeCurQueStart: 0.000
msgTimeTotalQue : 0.000
msgTimeRecovery : 1282571752.602
msgEoConfig : 0x00000000
msgData (BO) : 0x003EB234
message : ‘Copy (2) of 09-a08-1.hl7’
[diag:leak:DBUG/0: file_in] diag md alloc 0x009FF668
[msg :Mid :DBUG/0: file_in] mid free [0.0.194] 0x009FF5B0
[msg :Msg :DBUG/0: file_in] [0.0.194] msgFree 0x003EB188
[fset:read:DBUG/1: file_in] Scheduling IB for 10 second interval
[diag:leak:DBUG/0: file_in] diag ev alloc 0x009FF6C0
[diag:leak:DBUG/0: file_in] diag dqe alloc 0x009FA9D8
[pti :even:DBUG/0: file_in] Registering TIMER (FileSet/FTP IB Timer) event 0x009FF6C0 for tid 3
[pti :even:DBUG/0: file_in] Registering TIMER event for tid 3
[fset:read:INFO/0: file_in] Opening c:AGSIN/Copy for IB
08/23/2010 15:55:52
[fset:read:ERR /0: file_in] Cannot open c:AGSIN/Copy for reading: No such file or directory
[pd :pdtd:INFO/1: file_in] Set driver status to PD_STATUS_ERROR