| Hi
It is really a bit confusing to put the right text into the right fields.
The field REFERENCE in CM$MAF is the same as APPLICATION in CM$SITELOG and
CM$SDC. REFERENCE in CM$SITELOG refers to SUBSYSTEM in CM$SDC.
If I want to develop several small language dependent applications in one
Application (CM$APP), I create areas like German, English, Share, ...
How am I able to distinguish my small applications except that i make a
WRITE CHANGE to CM$SITELOG ether in field APPLICATION or in REFERENCE (or both)?
Hoping of your help
Thanks, Ursi Erni
|
|
Re .0)
> First approach:
> ---------------
> Following the terminology for standard digital applications
> - an APPLICATION (ALL-IN-1) consisting of various
> - SUBSYSTEMs (TM, CAL etc) will be hold in appropriate
> - AREAs (SHARE, GERMAN)
That's the way it's supposed to work.
Keeping the analogy between AREA and APPLICATION of CM$SDC and CM$SITELOG res-
pectively I don't know how to take advenatge of SUBSYSTEM offered in CM$SDC
when handling CM
> Probably for searching, a new field must be defined in CM$INDEX$FIND ?
Yes, that would be ideal (for 'Reference')
> This would allow for a flexible managing of subsystems grouped into one
> application. E.g.: Storing, packaging the subsystems separately.
Concerning an 'Application' field in the 'Store element' Index, this has
already been reported. However, to add the 'Reference'/'Subsystem' field
hasn't.
> Second approach
> ---------------
> May be the analogy between SDC and SITELOG must not be exploited to exrensively.
You can, the fields (see later on) are connected as such.
> The last question:
> ------------------
> - Are there any recommendation with respect to setting up appropriate application
> logicals. Do these build search lists with the OA$ areas or shall they be
> setup separately.
If you refer to the option 'Default authorized locations:' when creating
Application Areas, these definitions restrict themselves to single logicals.
Search Lists have to be defined yourself, say in an Application specific
startup procedure (called either by e.g. CM$APP.STARTUP["<application>"], or
A1V30_SITE_START.COM).
> In relation to this question we see the problem of referencing e.g. command
> procedures in applications:>
>
> COMMAND com_proc_name
> or COMMAND appl$lib:com_proc_name
>
> - in the first case setting up file search orders seems to be necessary when
> the application logicals are not coupled to oa$... search lists
> - in the second case some flexibility may be lost when developing/modifying the
> application.
The first option would be indeed best for flexibility, but...
this means that users should have the PRVXOWN field set in their PROFILe. This
might not be a favourible situation, and in that case you should:
- put all TXL files in TXL directies and the TXL
- use 'very generic' directory specifications when calling any other
procedure (as you indicated in the second option)
Re .1)
> It is really a bit confusing to put the right text into the right fields.
> The field REFERENCE in CM$MAF is the same as APPLICATION in CM$SITELOG and
> CM$SDC. REFERENCE in CM$SITELOG refers to SUBSYSTEM in CM$SDC.
The field 'REFERENCE' and 'APPLICATION' go back untill V2.3. However, the way
the fields were used caused some confusion:
CM$SDC.SUBSYSTEM --+
CM$SDC.APPLICATION |
|
CM$SITELOG.REFERENCE |
CM$SITELOG.APPLICATION <-+
In V3.0 this has changed in:
CM$SDC.APPLICATION <--> CM$SITELOG.APPLICATION
CM$SDC.SUBSYSTEM <--> CM$SITELOG.REFERENCE
So, in CM$SITELOG, An element might be defined as follows:
Key: Element Type Application Area
APPCODE: OA
APPLICATION: TEST V1.5
REFERENCE: User
Key: Element2 Type Application Area
APPCODE: OA
APPLICATION: TEST V1.5
REFERENCE: Manager
In CM$SDC and element might be defined as:
Key: A1 CLD SHARE
APPCODE: OA
APPLICATION: ALL-IN-1
SUBSYSTEM: GENERIC
The field 'APPLICATION' hasn't changed in V3.0 except for the fact that CM
automatically fills out the text given as description for the Application Area
if the user doesn't specify another indication when creating the element (field
'Application'). (Not 'REFERENCE', but 'DESCRIPTION' is taken from CM$MAF.)
> How am I able to distinguish my small applications except that i make a
> WRITE CHANGE to CM$SITELOG ether in field APPLICATION or in REFERENCE (or both)?
When creating the element, form CM$SITELOG$CR is shown. In there you can fill
out information in the fields 'Reference' and 'Application'.
Hope this helps.
Ciao,
Simon
|