6.7.1 Win2K
My back-up on error doesn’t always work. Sometimes it does, sometimes it doesn’t. Is this normal? Basically, I grab a file on source event, call a decryption batch script via the batch adapter and decrypt the file. 1 out of 10 times the map fails with a “76” - Failed to put to adapter. So, I used the back-up feature in the IFD to route the failed files to another folder.
Here is the system:
Map(Decrypt2MF.mmc) - Output = NONE
IFD -
Watch: 46
MSL File: e:\mercator6.7\systems\ACS NewPrd.msl
System: Inbound
Component: Decrypt2MF
Map: E:\EC\Appint\Decrypt2MF.mmc
Priority: Normal
Map Delay: 9999 ms.
Pending Exp.: <none>
Retries: 10 every 5 seconds
Paging: 8 X 64K
Trace: <none>
Validation: Ignore: <none>
Stop On First Error: Yes
Work Area: Default - Delete -
Init High: 0
Init Low: 0
Time Trigger: <none>
Input 1 (T): File: E:\EC\Appdata\PGPnFTP\ACS\*.pgp
Rollback: Yes, Delete: Yes, Reuse Work File: No
Retries: 5 every 5 seconds
Back-up Switch: ON
When: On Error
Location: E:\EC\Appdata\PGPnFTP\ACS\Errorfiles\
Prefix: *.pgp
Output 1: Batch File: -cmd 'e:\ec\appint\decrptACS.bat E:\EC\Appdata\PGPnFTP\ACS\*.pgp'
Rollback: Yes, Delete: No, Append: No
Retries: 5 every 5 seconds
Audit File: <none>
Here is the batch Script (decrptACS.bat)
type c:\mercenc.txt | gpg --passphrase-fd --decrypt %1
And here is the error on Launcher when it intermittently failes:
*** ERROR:
System: Inbound
Component: Decrypt2MF
Map: E:\EC\Appint\Decrypt2MF.mmc
Start Time: Thu Jul 13 19:09:26 2006
Instance: 4
Run Time: 0.0586 seconds
Return Code: 76 - Adapter failed to put data on output
Input 1: File: E:\EC\Appdata\PGPnFTP\ACS\Inbound2MF\saf.dss.saint014_deptid.txt.pgp
Output 1: Batch File: -cmd 'e:\ec\appint\decrptACS.bat E:\EC\Appdata\PGPnFTP\ACS\Inbound2MF\saf.dss.saint014_deptid.txt.pgp'
Audit File: <none>
So, the back-up feature works great when I get an error....but SOMETIMES it just errors and leaves the file in the trigger directory. Any ideas on why this just intermittently works? I'm getting tired of babysitting.
My back-up on error doesn’t always work. Sometimes it does, sometimes it doesn’t. Is this normal? Basically, I grab a file on source event, call a decryption batch script via the batch adapter and decrypt the file. 1 out of 10 times the map fails with a “76” - Failed to put to adapter. So, I used the back-up feature in the IFD to route the failed files to another folder.
Here is the system:
Map(Decrypt2MF.mmc) - Output = NONE
IFD -
Watch: 46
MSL File: e:\mercator6.7\systems\ACS NewPrd.msl
System: Inbound
Component: Decrypt2MF
Map: E:\EC\Appint\Decrypt2MF.mmc
Priority: Normal
Map Delay: 9999 ms.
Pending Exp.: <none>
Retries: 10 every 5 seconds
Paging: 8 X 64K
Trace: <none>
Validation: Ignore: <none>
Stop On First Error: Yes
Work Area: Default - Delete -
Init High: 0
Init Low: 0
Time Trigger: <none>
Input 1 (T): File: E:\EC\Appdata\PGPnFTP\ACS\*.pgp
Rollback: Yes, Delete: Yes, Reuse Work File: No
Retries: 5 every 5 seconds
Back-up Switch: ON
When: On Error
Location: E:\EC\Appdata\PGPnFTP\ACS\Errorfiles\
Prefix: *.pgp
Output 1: Batch File: -cmd 'e:\ec\appint\decrptACS.bat E:\EC\Appdata\PGPnFTP\ACS\*.pgp'
Rollback: Yes, Delete: No, Append: No
Retries: 5 every 5 seconds
Audit File: <none>
Here is the batch Script (decrptACS.bat)
type c:\mercenc.txt | gpg --passphrase-fd --decrypt %1
And here is the error on Launcher when it intermittently failes:
*** ERROR:
System: Inbound
Component: Decrypt2MF
Map: E:\EC\Appint\Decrypt2MF.mmc
Start Time: Thu Jul 13 19:09:26 2006
Instance: 4
Run Time: 0.0586 seconds
Return Code: 76 - Adapter failed to put data on output
Input 1: File: E:\EC\Appdata\PGPnFTP\ACS\Inbound2MF\saf.dss.saint014_deptid.txt.pgp
Output 1: Batch File: -cmd 'e:\ec\appint\decrptACS.bat E:\EC\Appdata\PGPnFTP\ACS\Inbound2MF\saf.dss.saint014_deptid.txt.pgp'
Audit File: <none>
So, the back-up feature works great when I get an error....but SOMETIMES it just errors and leaves the file in the trigger directory. Any ideas on why this just intermittently works? I'm getting tired of babysitting.