|  |     
    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
 |