Title: | DECmcc user notes file. Does not replace IPMT. |
Notice: | Use IPMT for problems. Newsletter location in note 6187 |
Moderator: | TAEC::BEROUD |
Created: | Mon Aug 21 1989 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 6497 |
Total number of notes: | 27359 |
It appears that DAP can not handle indirect command file input from the command line. That is: $ dap @mcc$tcpip_am_mgt_if %DAP-E-SYNTAX_KEYWRD, Invalid command syntax @MCC$TCPIP_AM_MGT_IF, expected one of CREATE DELETE EXIT HELP PREVIOUS SET SHOW SPAWN USE %DAP-E-COMMAND, Unrecognized command was entered. Enter HELP for help whereas $ dap DAP> @@mcc$tcpip_am_mgt_if works fine. Is this intentional behavior?
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
94.1 | Please use LOAD command for loading MS's | TOOK::GUERTIN | I walk like I talk | Wed Apr 04 1990 17:08 | 26 |
Yes. That is "known" behavior. In DAP the "@" is a pre-parser symbol which means "Please redirect standard input (sys$input) to this file". At the DCL level, the command is passed directly to the parser, without interpreting pre-parser symbols and characters. The reason this was not changed is because I was not sure if we should even document support for the "@" symbol. It was not intended to be used for loading and updating the dictionary (which I noticed is how your example appears to use it). The LOAD and UPDATE commands work much like the "@" but do more error checking, give more informational message when an error is detected, and stop processing when they hit an error. So the assumption was that everyone would use LOAD and UPDATE to enter the MSL output files into the dictionary. (In fact, that is the only supported way of loading the MSL translator output files into the dictionary). Now that I've said all that, yes, it's a bug. Apparently, even though people use the "@" to load MS's into the dictionary, the re-directing of input is still a useful feature, and probably should be supported at DCL level as well. In the meantime, try: $ dap load mcc$tcpip_am_mgt_if.com -Matt. | |||||
94.2 | Thanks | ASD::MINTZ | Erik Mintz, MS ZKO3-2/S11, dtn 381-2331 | Wed Apr 04 1990 17:28 | 7 |
Thanks for the explanation, Matt. We already worked around this by doing the load interactively, but I'm sure Mike will want to include this in the next iteration of the TCPIP AM release notes. -- Erik | |||||
94.3 | Yup | MKNME::DANIELE | Thu Apr 05 1990 10:42 | 4 | |
Noted, thanks. This should be done for you by a real installation procedure. Sorry for the inconvenience. Mike | |||||
94.4 | .1 has DAP syntax error. | TOOK::GUERTIN | I walk like I talk | Thu Apr 12 1990 10:33 | 5 |
Sorry .1's suggested command should be: $ dap load from mcc$tcpip_am_mgt_if.com ~~~~ -Matt. |