[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2909.0. "CM application areas and Logicals" by BACHUS::WOOD (I couldn't resist the fish!) Thu Jun 24 1993 10:44

Hopefully a very simple question,

How are the logicals defined when a new customisation application area
is created.  Are they added to OA$LIB etc as part of the search lists?

ie is it all dealt with by CM, and the logicals are redefined each time the 
system is restarted.  (me thinks yes, but would like confirmation).


Cheers,
Andy
T.RTitleUserPersonal
Name
DateLines
2909.1Defined at startupIOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeThu Jun 24 1993 10:514
    If you look in A1V30START, you'll see it calls some CM startup files
    which define the logicals for application areas.
    
    Graham
2909.2Is this what you mean?IOSG::BILSBOROUGHSWBFSThu Jun 24 1993 20:4836
    
    Each application can have it's own startup procedure this is defined by
    the application, the default is OA$LIB:CM_DEFINE_APPLICATION_LOG.SCP. 
    This default defines logicals for all your authorised location e.g. the site
    area for your boilerplates etc, and your developement logicals e.g.
    OA$SITE_DEV_APPL.  OA$LIB is not modified to include the application,
    if you want to call your code use your own logicals, is that what you
    mean?
    
    As I said you can alternatively use your own startup and then get that
    to call OA$LIB:CM_DEFINE_APPLICATION_LOG.SCP, that way you can get
    it so that when your application is started up by ALL-IN-1 your startup
    might create other directories, logicals etc.  Here is how to do this
    
    When you create the application enter in the startup field for example
    
    COMMAND SYS$STARTUP:MYAPP$STARTUP.COM
    
    In addition to creating directories etc. you need the following
    
    $ALLIN1/NOINIT
    OA$FLO_OPEN OA$LIB:MEMRES
    OA$FLO_OPEN OA$LIB:OAFORM
    OA$FLO_OPEN OA$LIB:CM
    GET #CM_APPLICATION ="APP"
    DO OA$LIB:CM_DEFINE_APPLICATION_LOG
    EXIT
    $
    
    When APP is the name of your application.
    
    I'm just telling you all this because I found this out today.
    
    Ta,
    
    Mike