Title: | DEC/EDI |
Notice: | DEC/EDI V2.1 - see note 2002 |
Moderator: | METSYS::BABER |
Created: | Wed Jun 06 1990 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3150 |
Total number of notes: | 13466 |
Hi, A couple of questions on DECEDI 3.1 and cockpit. 1. When in cockpit and viewing documents and specifying the user_reference qualifier it doesn't seem to work if the user_reference of the document contains a space. That is it does not find documents that have matching user_reference fields when they contain a space. 2. In trying to test this I was using the trade post command and posting an inhouse file, I tried specifying -tracking_reference="02DA-EH-69884 O" and this gives me a "Bad parameter" error, if the space in the user_reference is omitted then the command works ok, ie; gorgon.cxo.dec.com> trade post pacific-paper-out /usr/users/altmire/test.ihf \ > -partner_name=PACIFIC-PAPER \ > -object_name=850 \ > -type=ihf \ > -tracking_reference="02DA-EH-69884 O" Bad parameter gorgon.cxo.dec.com> trade post pacific-paper-out /usr/users/altmire/test.ihf \ > -partner_name=PACIFIC-PAPER \ > -object_name=850 \ > -type=ihf \ > -tracking_reference="02DA-EH-69884O" Returned internal reference : 0000000021 Are these bugs or operator errors? Thanks, Bill Altmire
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3006.1 | Works for me | METSYS::POAD | http://www.digital.com/info/edi | Wed Feb 12 1997 13:20 | 5 |
Point 1). I've just tries this in Cockpit and it appears to be working ok. have you got any extra space chars on the end of the ref in the doc that it isn't matching against? Chris | |||||
3006.2 | That darn shell | SYSTEM::HELLIAR | http://samedi.reo.dec.com/ | Wed Feb 12 1997 13:21 | 25 |
Bill, On the second half of the question... If you do #trade post ... -user_reference="BUY GRAHAM A BEER" then your shell will interpret the command before passing it to trade, and will therefore 'handle' its special characters such as quotes, backslashes, wildcards (*) etc. The solution is to either enter trade then issue the post, or to release the shells special characters from the shell meaning i.e. #trade post ... -user_reference=\"BUY GRAHAM A BEER\" regards, Graham | |||||
3006.3 | CSC32::B_ALTMIRE | Wed Feb 12 1997 14:13 | 46 | ||
I tried all the following combinations but still cannot get the trade command to accept a user_reference string containg a space. gorgon.cxo.dec.com> trade DEC/EDI V3.1 Copyright Digital Equipment Corporation 1990,1996. All Rights Reserved. CLIENTEDI> post pacific-paper-out /usr/users/altmire/test.ihf \ -partner_name=PACIFIC-PAPER \ -object_name=850 \ -type=ihf \ -tracking_reference="02DA-EH-69884 O" Bad parameter CLIENTEDI> post pacific-paper-out /usr/users/altmire/test.ihf \ -partner_name=PACIFIC-PAPER \ -object_name=850 \ -type=ihf \ -tracking_reference="02DA-EH-69884O" Bad parameter Command syntax incorrect CLIENTEDI> CLIENTEDI> post pacific-paper-out /usr/users/altmire/test.ihf \ -partner_name=PACIFIC-PAPER \ -object_name=850 \ -type=ihf \ -tracking_reference=02DA-EH-69884 O Bad parameter CLIENTEDI> post pacific-paper-out /usr/users/altmire/test.ihf \ -partner_name=PACIFIC-PAPER \ -object_name=850 \ -type=ihf \ -tracking_reference=02DA-EH-69884 Returned internal reference : 0000000025 CLIENTEDI> exit gorgon.cxo.dec.com> trade post pacific-paper-out /usr/users/altmire/test.ihf \ > -partner_name=PACIFIC-PAPER \ > -object_name=850 \ > -type=ihf \ > -tracking_reference=\"02DA-EH-69884 O\" Bad parameter gorgon.cxo.dec.com> Bill | |||||
3006.4 | The joys of being ahead of the game | SYSTEM::HELLIAR | http://samedi.reo.dec.com/ | Thu Feb 13 1997 15:32 | 6 |
Bill, It appears to work on my 3.2 system so the bug must have been fixed recently (either 3.1A or T3.2) Graham |