I presume that the following is workable...  Comments are welcome.

To LogTo the SandBox it is now just...

>ED VOC LLS
0001: PA
0002: CLEARCOMMON
0003: LOGTO SANDBOX
0004: WHO


>ED VOC LOGIN
0001: PA
0003: PTERM -ECHO DELAY
0005: BREAK ON
0007: CLEARCOMMON
0009: HK.RESET.PRINTER
0011: RUN MT.BP GET.STACK.LOGNAME
0013: LOGIN.CONTROL
0015: PTERM CASE NOINVERT
0016: RUN B.USER TERMINAL.SETUP.R0
0018: IF @LOGNAME = 'root'    THEN GO TCL
0019: IF @LOGNAME = 'brutzy'  THEN GO TCL
0020: IF @LOGNAME = 'raymond' THEN GO TCL
0022: MM
0024: TCL:
Bottom at line 24.

--Bill

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Wjhonson
Sent: Thursday, April 12, 2012 3:08 PM
To: [email protected]
Subject: Re: [U2] COMMON Size MisMatch


If you *do* use CLEARCOMMON you have to be alert to gremlins as well.
LOGTO is not expecting to have to reinitialize the system and so probably 
doesn't.
You need to review what the Login process is doing as well.
You may end up wiping out control information such as the user's port, name, 
login time, functions they can and can't do, menu access, default printer, and 
so on and so forth.

All depends on how complex the login processor has become at your site.
Some sites don't do a darn thing.  Some have thousands of lines of code at 
Login.  Some of which set common (read "environment") variables, that you 
*don't want* to clear, or at least that you want to reset if you do clear them.





-----Original Message-----
From: Bill Brutzman <[email protected]>
To: U2 Users List <[email protected]>
Sent: Thu, Apr 12, 2012 11:52 am
Subject: Re: [U2] COMMON Size MisMatch


Eating my own dog food... I cranked CLEARCOMMON into the LOGTO SandBox   and  
OGTO LIVE   paragraph commands.
--Bill
From: u2-users-bounces at listserver.u2ug.org mailto:u2-users-bounces at 
listserver.u2ug.org] On Behalf Of on_Bausili at hcsc.net
ent: Thursday, July 16, 2009 10:17 AM
o: u2-users at listserver.u2ug.org
ubject: [U2] Fw: COMMON misMatch
Since all common variables are cleared when you exit UniVerse, and liminates 
the error, is it possible your user used a LOGTO command to witch environments 
that have different versions of the subroutine OP.R87?
We had both a Test and a Prod environment on the same box, and xperienced 
problems when enhanced code in Test was being staged for romotion into Prod.  
Executing a program in Test that had changes to ts COMMON, and then logging 
into Prod resulted in the size mismatch rror when running the unchanged program.
Our solution was to insert "CLEARCOMMON" in the LOGIN paragraphs.
Don
---- Forwarded by Don Bausili/OK/HCSC on 07/16/2009 09:09 AM ----- "Brutzman, 
Bill" <BillB at hkMetalCraft.com> Sent by:
2-users-bounces at listserver.u2ug.org
7/15/2009 06:55 PM
lease respond to
U2 Users List" <u2-users at listserver.u2ug.org>

o
U2 Users List" <u2-users at listserver.u2ug.org> c Subject
e: [U2] COMMON misMatch



A user here obtained an error message...
                 "COMMON size mismatch in subroutine "HOP.R87".
Upon logging out and then logging back in again... The HOP program was ble to 
launch without this error.
Help with a diagnosis and more reliable cure would be appreciated.
This user is WinXP / Dynamic Connect / UniVerse 10.1 / HP-Ux 11i v2.
--Bill
_______________________________________________
2-Users mailing list
2-Users at listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users
The information contained in this communication is confidential, rivate, 
roprietary, or otherwise privileged and is intended only for the use of he 
addressee.  Unauthorized use, disclosure, distribution or copying is trictly 
prohibited and may be unlawful.  If you have received this ommunication in 
error, please notify the sender immediately at (312)
53-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in klahoma; or 
(972)766-6900 in Texas.
______________________________________________
2-Users mailing list
2-Users at listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users
revious message: [U2] Fw: COMMON misMatch ext message: [U2] Universe Retrieve 
essages sorted by: [ date ] [ thread ] [ subject ] [ author ] ore information 
about the U2-Users -----Original Message-----
rom: [email protected] 
[mailto:[email protected]]
n Behalf Of Bill Brutzman
ent: Thursday, April 12, 2012 2:40 PM
o: U2 Users List
ubject: [U2] COMMON Size MisMatch
... in subroutine named XYZ.R1.
While I would like to pass parameters back-and-forth invoking bona fide 
external ubroutines using commands such as... CALL *MY.SUB.R2(param1, param2,
rrorString)
...I have a few big old legacy programs with nasty COMMON tentacles.
How can I make these pesky COMMON messages go away?
--Bill
______________________________________________
2-Users mailing list
[email protected]
ttp://listserver.u2ug.org/mailman/listinfo/u2-users
______________________________________________
2-Users mailing list
[email protected]
ttp://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to