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

Conference clusta::acms

Title:ACMS comments and questions
Notice:This is not an official software support channel. Kits 5.*
Moderator:CLUSTA::HALLAN
Created:Mon Feb 17 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4179
Total number of notes:15091

4088.0. "running an acms server in exec mode" by ROMOIS::MANNI (ANNAMARIA MANNI @RIO) Wed Jan 22 1997 06:05

T.RTitleUserPersonal
Name
DateLines
4088.1OHMARY::HALLBill Hall - ACMS Engineering - ZKO2-2Fri Jan 24 1997 07:2628
    
    Well, since no one else has taken a stab at this, I'll try.
    
    I (and other memebers of the group) have an opinion that Cobol would
    most likely not be a good language in which to write code that runs in
    Exec mode.  You might want to poke around the CLT::COBOL notesfile and
    see if anyone there has a differing opinion.
    
    As far as ACMS goes, there's lots of Exec mode code in the server.  The
    message switch software all runs in Exec/Kernel mode.  RDB also runs in
    Exec mode.  The problem you might run into might be in the passing off
    from EXC to TWP (the main part of a procedure server).  EXC calls TWP
    and waits for it to return.  TWP then calls the routine specified in
    the processing statement and waits for your code to return to it.  The
    place where I see a problem is in the task cancel.  If a task is
    cancelled for some reason (operator, user, etc.), EXC will attempt to
    cancel the call to TWP, using a user-mode AST.  Since you are executing
    in EXEC mode, that AST will not be delivered until you drop back to
    USER mode.  If your code is well-behaved then things will probably
    work properly.  But, as you have already seen, if you get stuck in
    EXEC mode, you cannot delete the process.  It is also possible to
    bugcheck VMS while in EXEC mode.
    
    Can you explain what it is you're planning on doing in this elevated
    mode code?  I'm sure others would be interested.
    
    Bill