T.R | Title | User | Personal Name | Date | Lines |
---|
1711.1 | DECmcc uses bare DECdts API routines | TOOK::T_HUPPER | The rest, as they say, is history. | Fri Oct 25 1991 12:36 | 25 |
| RE .0:
DECmcc uses the DECdts API routines (installation of DECdts is not
required for DECmcc) for its time operations. The MCC_T_BinAbsTim
structure is the utc structure defined by DECdts. It is opaque to
DECmcc. If you use the DECdts services yourself, you will be fully
compatible with DECmcc.
Note that in the DECmcc time routines, the utc structure is pointed to
by the mcc_a_pointer field of the MCC descriptor. The
mcc_time_create() routine will create an MCC descriptor pointing to a
buffer of the correct size if the type is set to MCC_K_DT_BIN_ABS_TIM.
If the last 2 parameters (pointers to length and value) are set up,
your favorite utc time value will be copied into the provided buffer.
Thus you can bring a bare DECdts utc structure into the DECmcc
environment.
If you do use the DECdts routines, will you require the installation of
DECdts for your target process? DECmcc has an agreement with DECdts to
use the DECdts API routines without requiring installation of DECdts.
This liberates DECmcc from the DECnet Phase V waves and permits our
operation in non-DECnet environments without hassle, as we are required
to do.
Ted
|
1711.2 | Don't want to require DECdts | MICROW::LANG | | Mon Jan 06 1992 13:16 | 17 |
| > If you do use the DECdts routines, will you require the installation of
> DECdts for your target process? DECmcc has an agreement with DECdts to
> use the DECdts API routines without requiring installation of DECdts.
> This liberates DECmcc from the DECnet Phase V waves and permits our
> operation in non-DECnet environments without hassle, as we are required
> to do.
We don't now require the installation of DECdts, and don't want to
require it. I was thinking, since DECmcc repackages this, we could
either link with the DECmcc library, or better yet for our
servers which don't now need to link with DECmcc, just pull the
DECdts object out of your library and use it. (I don't know if
its this easy.)
It looks as if /usr/mcc/mmtoolkit/libutc.a is the same as
/usr/lib/libutc.a, so we could use that.
|
1711.3 | Almost correct. | MACROW::SEVIGNY | | Wed Jul 15 1992 17:42 | 11 |
|
Using DECdts to create/get a time, MCC is displaying this time 4 hours
ahead of the intended time. (My guess is that "it" thinks GMT, even
thought I'm in EST). Am I missing an environment variable indicating
my time zone?
I'm running Ultrix 4.2
Marc
|
1711.4 | What option did you pick? | TOOK::MINTZ | Erik Mintz, dtn 226-5033 | Wed Jul 15 1992 18:23 | 5 |
| During your installation, how did you answer the questions about time modes?
You can look in /usr/mcc/mcc_system/mcc_login.csh to see how the
resulting environmental variables were set.
-- Erik
|
1711.5 | Is this what I'm supposed to be looking at? | MACROW::SEVIGNY | | Thu Jul 16 1992 10:20 | 5 |
|
setenv MCC_TIME_IN_MODE 2
setenv MCC_TIME_OUT_MODE 2
|