I can't anything called "CLEAR.ON.LOGTO" which it seems you are implying is 
some kind of option.

I do agree with Brian that it would be nice, for just this issue if we could 
have

UCOMMON /STUFF1/ USER.NAME, USER.PHONE, LOGIN.DATE, UPARAMETERS(100)
...
COMMON /FILES/ FILE.NAMES, FILE.POINTERS(100), OTHER.STUFF(200)
COMMON /STUFF2/ MORE.OTHER.STUFF(200)

And then have "UCOMMON persists across LOGTOs while COMMON does not...."
"UCLEARCOMMON will clear both universal, and local common, while CLEARCOMMON 
will only clear COMMON"

....
Rocket won't hire me as a systems programmer because I keep finding things to 
fix.

Will Johnson



-----Original Message-----
From: David A. Green <[email protected]>
To: 'U2 Users List' <[email protected]>
Sent: Fri, Apr 13, 2012 7:56 am
Subject: Re: [U2] COMMON Size MisMatch


That's why you would specify.
Example:
COMMON /SYSSTUFF/ SYSSTUFF(100)
COMMON /MYSTUFF/ MYSTUFF.REC(100) -CLEAR.ON.LOGTO
Then only the MYSTUFF gets cleared.  This is the kind of logic that I have
o end up writing over and over again to make sure new files get opened when
 person does LOGTO to a different account.
Programmers would make all their Account specific data into a single named
ommon that has the flag to initialize on LOGTO.  And keep other
ross-account data in common that isn't flagged.
Easy.
David A. Green
480) 813-1725
AG Consulting
-----Original Message-----
rom: [email protected]
mailto:[email protected]] On Behalf Of Wjhonson
ent: Thursday, April 12, 2012 4:56 PM
o: [email protected]
ubject: Re: [U2] COMMON Size MisMatch

kay that was a bad example.....
ut I think you get my general drift.
here are some common variables that are truly universal and should persist.

-----Original Message-----
rom: Wjhonson <[email protected]>
o: u2-users <[email protected]>
ent: Thu, Apr 12, 2012 4:49 pm
ubject: Re: [U2] COMMON Size MisMatch

ou don't really want to clear all common variables all the time.
me common variables are actually universal.
ake for example that you store in common the say.... full name of the user
ho s logged in, and their extension.
at doesn't change on a logto.  Some people use things like that in a LOCKED
ause to say "John Brown has this locked, call him on extension 7204"  so
he sers don't have to call the help desk on locks, they can peer to peer
t.
ure you can reread things like that.  It's half white half black.
 I clear half the common ? Or reread half the common?
-----Original Message-----
om: David A. Green <[email protected]>
: 'U2 Users List' <[email protected]>
nt: Thu, Apr 12, 2012 4:44 pm
bject: Re: [U2] COMMON Size MisMatch
hile this topic is on the table, can we request some kind of COMMON flag or
mand that would tell the DBM to clear commons on a LOGTO?
vid A. Green
0) 813-1725
 Consulting
---Original Message-----
m: [email protected]
ilto:[email protected]] On Behalf Of Bill Brutzman
t: Thursday, April 12, 2012 2:22 PM
 U2 Users List
ject: Re: [U2] COMMON Size MisMatch
ll:
ur commentary on this matter is very much appreciated.
 long as this new fix works... I expect to defer further investigation.
Bill
---Original Message-----
m: [email protected]
ilto:[email protected]] On Behalf Of Wjhonson
t: Thursday, April 12, 2012 4:56 PM
 [email protected]
ject: Re: [U2] COMMON Size MisMatch
ok inside those routines, and determine that they are agnostic about you
ing from LOGIN vs LOGTO Perhaps I'm the sole person in history to have ded
hings that are wise about the distinction
---Original Message-----
m: Bill Brutzman <[email protected]>
 U2 Users List <[email protected]>
t: Thu, Apr 12, 2012 12:46 pm
ject: Re: [U2] COMMON Size MisMatch
presume that the following is workable...  Comments are welcome.
LogTo the SandBox it is now just...
 VOC LLS
: PA
: CLEARCOMMON
: LOGTO SANDBOX
: WHO
 VOC LOGIN
: PA
: PTERM -ECHO DELAY
: BREAK ON
: CLEARCOMMON
: HK.RESET.PRINTER
: RUN MT.BP GET.STACK.LOGNAME
: LOGIN.CONTROL
: PTERM CASE NOINVERT
: RUN B.USER TERMINAL.SETUP.R0
: IF @LOGNAME = 'root'    THEN GO TCL
: IF @LOGNAME = 'brutzy'  THEN GO TCL
: IF @LOGNAME = 'raymond' THEN GO TCL
: MM
: TCL:
om at line 24.
ill
--Original Message-----
: [email protected]
ilto:[email protected]]
ehalf Of Wjhonson
: Thursday, April 12, 2012 3:08 PM
[email protected]
ect: Re: [U2] COMMON Size MisMatch
you *do* use CLEARCOMMON you have to be alert to gremlins as well.
O is not expecting to have to reinitialize the system and so probably sn't.
need to review what the Login process is doing as well.
may end up wiping out control information such as the user's port, name, in
ime, functions they can and can't do, menu access, default printer, d o on
nd so forth.
 depends on how complex the login processor has become at your site.
 sites don't do a darn thing.  Some have thousands of lines of code at in.
ome of which set common (read "environment") variables, that you on't
* to clear, or at least that you want to reset if you do clear them.
---Original Message-----
: Bill Brutzman <[email protected]>
U2 Users List <[email protected]>
: Thu, Apr 12, 2012 11:52 am
ect: Re: [U2] COMMON Size MisMatch
ing my own dog food... I cranked CLEARCOMMON into the LOGTO SandBox   and
O LIVE   paragraph commands.
ll
: u2-users-bounces at listserver.u2ug.org mailto:u2-users-bounces at
server.u2ug.org] On Behalf Of on_Bausili at hcsc.net
 Thursday, July 16, 2009 10:17 AM
2-users at listserver.u2ug.org
ct: [U2] Fw: COMMON misMatch
e all common variables are cleared when you exit UniVerse, and liminates e
ror, is it possible your user used a LOGTO command to witch vironments that
ve different versions of the subroutine OP.R87?
ad both a Test and a Prod environment on the same box, and xperienced blems
hen enhanced code in Test was being staged for romotion into Prod.
cuting a program in Test that had changes to ts COMMON, and then logging to
od resulted in the size mismatch rror when running the unchanged ogram.
solution was to insert "CLEARCOMMON" in the LOGIN paragraphs.
- Forwarded by Don Bausili/OK/HCSC on 07/16/2009 09:09 AM ----- "Brutzman,
" <BillB at hkMetalCraft.com> Sent by:
ers-bounces at listserver.u2ug.org
/2009 06:55 PM
e respond to
sers List" <u2-users at listserver.u2ug.org> o Users List" <u2-users at
istserver.u2ug.org> c Subject [U2] COMMON misMatch  user here obtained an
rror message...
             "COMMON size mismatch in subroutine "HOP.R87".
 logging out and then logging back in again... The HOP program was ble to
ch without this error.
 with a diagnosis and more reliable cure would be appreciated.
 user is WinXP / Dynamic Connect / UniVerse 10.1 / HP-Ux 11i v2.
ll
___________________________________________
ers mailing list
ers at listserver.u2ug.org
//listserver.u2ug.org/mailman/listinfo/u2-users
information contained in this communication is confidential, rivate,
ietary, or otherwise privileged and is intended only for the use of he
essee.  Unauthorized use, disclosure, distribution or copying is trictly
ibited and may be unlawful.  If you have received this ommunication in or,
lease notify the sender immediately at (312)
000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in klahoma;
2)766-6900 in Texas.
__________________________________________
ers mailing list
ers at listserver.u2ug.org
//listserver.u2ug.org/mailman/listinfo/u2-users
ous message: [U2] Fw: COMMON misMatch ext message: [U2] Universe Retrieve
ges sorted by: [ date ] [ thread ] [ subject ] [ author ] ore information
t the U2-Users -----Original Message-----
 [email protected]
ilto:[email protected]]
half Of Bill Brutzman
 Thursday, April 12, 2012 2:40 PM
2 Users List
ct: [U2] COMMON Size MisMatch
in subroutine named XYZ.R1.
e I would like to pass parameters back-and-forth invoking bona fide ternal
routines using commands such as... CALL *MY.SUB.R2(param1, param2,
String)
 have a few big old legacy programs with nasty COMMON tentacles.
can I make these pesky COMMON messages go away?
ll
__________________________________________
ers mailing list
[email protected]
//listserver.u2ug.org/mailman/listinfo/u2-users
__________________________________________
ers mailing list
[email protected]
//listserver.u2ug.org/mailman/listinfo/u2-users
____________________________________________
sers mailing list
[email protected]
://listserver.u2ug.org/mailman/listinfo/u2-users
___________________________________________
sers mailing list
[email protected]
://listserver.u2ug.org/mailman/listinfo/u2-users
_____________________________________________
Users mailing list
[email protected]
p://listserver.u2ug.org/mailman/listinfo/u2-users
____________________________________________
Users mailing list
[email protected]
p://listserver.u2ug.org/mailman/listinfo/u2-users
_____________________________________________
Users mailing list
[email protected]
p://listserver.u2ug.org/mailman/listinfo/u2-users
______________________________________________
-Users mailing list
[email protected]
tp://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
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

Reply via email to