Will:

Your commentary on this matter is very much appreciated.

As long as this new fix works... I expect to defer further investigation.

--Bill

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Thursday, April 12, 2012 4:56 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] COMMON Size MisMatch


Look inside those routines, and determine that they are agnostic about you 
coming from LOGIN vs LOGTO Perhaps I'm the sole person in history to have coded 
things that are wise about the distinction




-----Original Message-----
From: Bill Brutzman <bi...@hkmetalcraft.com>
To: U2 Users List <u2-users@listserver.u2ug.org>
Sent: Thu, Apr 12, 2012 12:46 pm
Subject: Re: [U2] COMMON Size MisMatch


I presume that the following is workable...  Comments are welcome.
To LogTo the SandBox it is now just...
>ED VOC LLS
001: PA
002: CLEARCOMMON
003: LOGTO SANDBOX
004: WHO

ED VOC LOGIN
001: PA
003: PTERM -ECHO DELAY
005: BREAK ON
007: CLEARCOMMON
009: HK.RESET.PRINTER
011: RUN MT.BP GET.STACK.LOGNAME
013: LOGIN.CONTROL
015: PTERM CASE NOINVERT
016: RUN B.USER TERMINAL.SETUP.R0
018: IF @LOGNAME = 'root'    THEN GO TCL
019: IF @LOGNAME = 'brutzy'  THEN GO TCL
020: IF @LOGNAME = 'raymond' THEN GO TCL
022: MM
024: TCL:
ottom at line 24.
--Bill
-----Original Message-----
rom: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org]
n Behalf Of Wjhonson
ent: Thursday, April 12, 2012 3:08 PM
o: u2-users@listserver.u2ug.org
ubject: Re: [U2] COMMON Size MisMatch

f you *do* use CLEARCOMMON you have to be alert to gremlins as well.
OGTO is not expecting to have to reinitialize the system and so probably oesn't.
ou need to review what the Login process is doing as well.
ou may end up wiping out control information such as the user's port, name, 
ogin time, functions they can and can't do, menu access, default printer, and o 
on and so forth.
All depends on how complex the login processor has become at your site.
ome sites don't do a darn thing.  Some have thousands of lines of code at ogin. 
 Some of which set common (read "environment") variables, that you *don't
ant* to clear, or at least that you want to reset if you do clear them.


-----Original Message-----
rom: Bill Brutzman <bi...@hkmetalcraft.com>
o: U2 Users List <u2-users@listserver.u2ug.org>
ent: Thu, Apr 12, 2012 11:52 am
ubject: Re: [U2] COMMON Size MisMatch

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

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

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to