T.R | Title | User | Personal Name | Date | Lines |
---|
2373.1 | On a related note... | PHONE::CDUNN | Feedback is the Breakfast of Champions! | Wed Feb 19 1992 15:15 | 27 |
|
On a related note, I am trying to do effectivly the following:
% mcc_dap update class KSC from mcc_btam_ksc_srvc_if.com
but mcc_dap does not read the argv list. I have tried:
% mcc_dap `echo update class KSC from mcc_btam_ksc_srvc_if.com`
but mcc_dap does not read from standard input this way either..
What worked was:
% mcc_dap <update_cmds
where update_cmds contains the update commands I want.. What I
would like to be able to do is put the update commands right into
the make file so I dont have to keep and maintain this extra file
that contains the commands. Any ideas how to do this? I am VERY
new to Ultrix/Unix (just took the intro course last week) so if
I am missing something obvious please excuse my novice perspective...
Thanks for any light you can shed!
(BTW, anyone know what the Ultrix equivalent of NOTES is called? Both for
DECwindows and character cell versions... Thanks! )
-Charlie
|
2373.2 | - (echo delete x ; echo load x ) | mcc_dap | TAEC::LAVILLAT | | Thu Feb 20 1992 03:24 | 19 |
|
Re .1:
You can try something like that :
temip_ah_fm_srvc_if.loaded : temip_ah_fm_srvc_if.com
- ( echo delete class operation_context ; \
echo load class operation_context \
from temip_ah_fm_srvc_if.com ) | mcc_dap -
cp /dev/null temip_ah_fm_srvc_if.loaded
Note that the delete command will not be needed any more with the new version
of the UPDATE DAP command (using V1.2) (See Note MCC #?.?)
Regards.
Pierre.
|
2373.3 | Good idea! | PHONE::CDUNN | Feedback is the Breakfast of Champions! | Thu Feb 20 1992 10:13 | 19 |
|
A very good idea.. I like that... In reading appendix B of the Toolkit Guide I
found somthing like the following:
echo update class KSC from $(KSC_FILE) >dap_cmds
echo update class MSC from $(MSC_FILE) >>dap_cmds
echo update class GNS from $(GNS_FILE) >>dap_cmds
etc, etc followed by
mcc_dap <dap_cmds
Works well and keeps the commands in the same file.. Amazing what can happen when
I RTFM! :-) Anyway, the key at this point is how to hand the setting of error
status even after success by mcc_dap...
Thanks for your help!
-Charlie
|
2373.4 | Fixed in baselevel x1.2.16... | DFLAT::PLOUFFE | Jerry | Thu Feb 20 1992 17:00 | 28 |
| RE: .0 & .3
DAP's "return status" problems have been fixed in baselevel x1.2.16. This
baselevel is well after the v1.2 EFT kit and is after the recently announced
baselevel 15 kit.
What kit do you have installed?
RE: .1
The correct syntax is:
mcc_dap -c "update class KSC from mcc_btam_ksc_srvc_if.com"
This syntax is limited to one command only, so I prefer the:
(echo delete x ; echo load x ) | mcc_dap
format specified in .2 myself.
RE: .2
The note referring to (which describes the changes to the UPDATE command)
is note 2289.0.
Hope this helps...
- Jerry
|
2373.5 | Sounds great! | PHONE::CDUNN | Feedback is the Breakfast of Champions! | Wed Feb 26 1992 11:55 | 10 |
|
We are running V1.2.4 on Ultrix 4.2 (Rev 96), so we dont
have the fix yet. No problem, I'll just remove the .IGNORE in our
makefile after we install the version that has the fix.. For now
I will probably leave the makefile as it is for MCC_DAP. It works
and there's other things more important to handle.. But, I do appreciate
your posting the info about -c! I didn't realize that was there!
Guess I missed that in the doc.. Thanks for your help!
-Charlie
|