Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Who is accounted for login ?

SOLVED
Go to solution
Wim Van den Wyngaert
Honored Contributor

Who is accounted for login ?

spa logout/full
-> no DIO
show proc/acc
-> only 4 DIO's done for the spawn.

This while my login.com contains 10.000 lines
and @login.com consumes 86 DIO's.

I didnt find any process on the system that increased DIO count either.

Free lunch ?

Wim
Wim
5 REPLIES
Hein van den Heuvel
Honored Contributor
Solution

Re: Who is accounted for login ?


login.com is NOT executed for a spawn.

Your (logical name) environment is 'transferred' through mailbox IOs.

>> Free lunch ?

Ayup, as long as you just take water.

Hein.

Hoff
Honored Contributor

Re: Who is accounted for login ?

Loginout typically only runs once per job tree.

This implementation is also the basis for the NOCLI error triggered in some contexts, and some of the related baggage.

http://64.223.189.234/node/794
Jess Goodman
Esteemed Contributor

Re: Who is accounted for login ?

Well actually the SPAWN command and LIB$SPAWN do execute LOGINOUT.EXE, but Hein is correct that SPAWN will not execute a LOGIN.COM unless told to do so with either @LOGIN as the SPAWN command line parameter or with /INPUT=LOGIN.COM.

The HELP SPAWN subtopics /SYMBOLS, /KEYPAD, and /LOGICAL_NAMES state that the current set of DCL symbols, logical names, and key definitions are "copied to the suprocess" by default. As this is done via mailboxes it gets counted as buffered I/Os. You can see this by comparing:
$ SPAWN LOGOUT/FULL
with
$ SPAWN /NOSYMBOL/NOLOGICAL/NOKEY LOGOUT/FULL
I have one, but it's personal.
Robert Gezelter
Honored Contributor

Re: Who is accounted for login ?

Wim,

Concur. While logical names and other things are copied, it is clear that changes to the command tables are not included in this list.

- Bob Gezelter, http://www.rlgsc.com
Wim Van den Wyngaert
Honored Contributor

Re: Who is accounted for login ?

Shame on me. Too long ago I used it.

Wim
Wim