T.R | Title | User | Personal Name | Date | Lines |
---|
3042.1 | Its Unix so HACK it | SYSTEM::HELLIAR | http://samedi.reo.dec.com/ | Thu Mar 06 1997 14:32 | 45 |
| Martin,
There is also a server utility called decedi_repair. Unfortunately, at
then moment it doesnt support wildcards so each transmission has to be
individually cancelled but...
# decedi_repair -can -type=trans 06MAR199714180134_CVP_E
Cancel 06MAR199714180134_CVP_E
%REPAIR-I- Action completed successfully.
does appear to work.
So, you could use something like
# trade track DEC-DIRECT-UK-LTD -type=transmission_file
-current_status=in_progress status
*************************** LIVE EDI DATA ***************************
Transmission : 06MAR199714170102_CVP_E
Current status : in progress
Number of objects matched : 1
Pipe or use the -output_file parameter to but the results in a file,
use 'awk' or some such thing replace 'Transmission :' with
'decedi_repair -can -type=trans' and drop the other lines
e.g.
# trade track DEC-DIRECT-UK-LTD -type=transmission_file \
-current_status=in_progress -output_file=t.t status
# awk -f grh.awk t.t > killer_script
# more killer_script
decedi_repair -can -type=trans 06MAR199714170102_CVP_E
# more grh.awk
/Transmission :/ { print "decedi_repair -can -type=trans " $3 }
# chmod o+x killer_script
# ./killer_script
Cancel 06MAR199714170102_CVP_E
%REPAIR-I- Action completed successfully.
Aint Unix wonderful!
|
3042.2 | That's fast | UTRTSC::SMEETS | Workgroup support | Thu Mar 06 1997 15:26 | 5 |
| Hi Graham,
Thanks for your fast reply.
Martin
|
3042.3 | AWAIT_TRANSMISSION for corresponding documents. | UTRTSC::SMEETS | Workgroup support | Thu Mar 20 1997 14:46 | 18 |
| Hi Graham,
Your unix hack works great but there seem to be a problem with all corresponding
documents.
Althought the transmission files have been canceled and archived, all
corresponding documents still have the status AWAIT_TRANSMISSION.
decedi_stop
decedi_repair -v -conf -type=d
decedi_start
didn't changed anything.
I would have exepected that the canceling of the TF would result in the status
purgable for the documents.
Or do I miss a point.
|
3042.4 | We should always ripple back cancelled TX's | SYSTEM::HELLIAR | http://samedi.reo.dec.com/ | Fri Mar 21 1997 14:41 | 5 |
| Martin,
That sounds like a bug, please IPMT it.
Graham
|
3042.5 | IPMT is on its way | UTRTSC::SMEETS | Workgroup support | Tue Mar 25 1997 09:06 | 7 |
| Hi Graham,
I've submit an IPMT as requested.
Thanks,
Martin
|