That you hadn't actually run this code in dev before.  So it's set the first 
time it's run and stays set.
Or that you bounced the environment.  Or someone else did and didn't tell you.
Or that you're pooling on one, and not the other, leaving sessions open *not 
actually connect-ing-, but staying connect-ed-*
Computers are a mystery!!  Cosmic rays!

That's what we always used to say in the days when we thought disk drives were 
getting so small they would be subject to the random interference of cosmic 
rays.... hey.  They're smaller today.  When do we get quantum fluctuations?  
Information is limited by physics.



-----Original Message-----
From: Israel, John R. <[email protected]>
To: 'U2 Users List' <[email protected]>
Sent: Fri, Jan 20, 2012 10:37 am
Subject: Re: [U2] Date Problem


If so, that would explain why my test account was not working, but still leaves 
pen the question of why does my development account work perfectly running the 
ame code?
One of life's little mysteries...
John



ohn Israel
enior ERP Developer
Dayton Superior Corporation
125 Byers Rd  Miamisburg, OH 45342
ffice: 937-866-0711 x44380
ax: 937-865-9182
[email protected]
This message w/attachments (message) is intended solely for the use of the 
ntended recipient(s) and may contain information that is privileged, 
onfidential or proprietary. If you are not an intended recipient, please notify 
he sender, and then please delete and destroy all copies and attachments, and 
e advised that any review or dissemination of, or the taking of any action in 
eliance on, the information contained in or attached to this message is 
rohibited.


----Original Message-----
rom: [email protected] 
[mailto:[email protected]] 
n Behalf Of Wjhonson
ent: Friday, January 20, 2012 1:29 PM
o: [email protected]
ubject: Re: [U2] Date Problem

hat the @DATE parameter is being stored, not in the login session per se, but 
n the environment which is wrapping around it.
eboot your servers, then try it again.  I think it will change to today.

-----Original Message-----
rom: Israel, John R. <[email protected]>
o: 'U2 Users List' <[email protected]>
ent: Fri, Jan 20, 2012 10:23 am
ubject: Re: [U2] Date Problem

 thought of that, but this is going through Redback.  In my development and
sting accounts, Redback is set to login, run the needed code, then log out.
is is slow, but avoids the cashing issue w/o bouncing Redback for every change
make.  Thus, the process should be new.
 could see it being set based on the last time Redback was bounced, but then
y would it work in my development account but not my test account?
ohn

ohn Israel
nior ERP Developer
ayton Superior Corporation
25 Byers Rd  Miamisburg, OH 45342
fice: 937-866-0711 x44380
x: 937-865-9182
[email protected]
his message w/attachments (message) is intended solely for the use of the
tended recipient(s) and may contain information that is privileged,
nfidential or proprietary. If you are not an intended recipient, please notify
e sender, and then please delete and destroy all copies and attachments, and
 advised that any review or dissemination of, or the taking of any action in
liance on, the information contained in or attached to this message is
ohibited.

---Original Message-----
om: [email protected] 
[mailto:[email protected]]
 Behalf Of Wjhonson
nt: Friday, January 20, 2012 1:15 PM
: [email protected]
bject: Re: [U2] Date Problem
ow about the idea that this program has been running since that time, or
herwise, that this port/process/connection has never been LOGGED off since
at time, and the Date is set based on that.  That is, you are never resetting
.
-----Original Message-----
om: Israel, John R. <[email protected]>
: 'U2 Users List' <[email protected]>
nt: Fri, Jan 20, 2012 10:08 am
bject: Re: [U2] Date Problem
 thought of that, but the same programs are working in other accounts.  I have
pared all source code between accounts and they are the same.
hn
ohn Israel
ior ERP Developer
yton Superior Corporation
5 Byers Rd  Miamisburg, OH 45342
ice: 937-866-0711 x44380
: 937-865-9182
[email protected]
is message w/attachments (message) is intended solely for the use of the
ended recipient(s) and may contain information that is privileged,
fidential or proprietary. If you are not an intended recipient, please notify
 sender, and then please delete and destroy all copies and attachments, and
advised that any review or dissemination of, or the taking of any action in
iance on, the information contained in or attached to this message is
hibited.
---Original Message-----
m: [email protected] 
[mailto:[email protected]]
Behalf Of Allen Egerton
t: Friday, January 20, 2012 1:07 PM
 U2 Users List
ject: Re: [U2] Date Problem
 1/20/2012 12:36 PM, Israel, John R. wrote:
 have an INCLUDE that I use in ALL programs I touch.  It simply does a bunch
assigning of variables so that I can use them as needed.  One of these
ignments is:
ODAY = @DATE
I have 1 program in 1 account that is consistently returning: 16066 (which is
26/11).  This program is initiated via a Redback call but so are many many
ers.
In the pgm that is failing, immediately after my INCLUDE, I just added code to
te the following to disk:
ODAY
ATE()
DATE
Both TODAY and @DATE ALWAYS return 16066 for this 1 program, but no others.
 same program is working correctly in other accounts, and the value of TODAY
correct in EVERY other program I have ever used.
Does anyone have a clue?
I could replace @DATE with DATE() in my INCLUDE, but to do my due diligence, I
uld recompile EVERY program that uses the INCLUDE (and that is NOT going to
pen).
ATE is writable, check to see if you're inadvertently over-writing it
that one program.
ample code:
1:       CRT "DATE():  ": DATE()
2:       CRT "@DATE :  ": @DATE
3:       @DATE = "XY"
4:       CRT "@DATE :  ": @DATE
5:       STOP
ample results:
N ADE.BP TT
E():  16091
TE :  16091
TE :  XY

en egerton; [email protected]
____________________________________________
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
______________________________________________
-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