RE: [U2] version control

2008-04-17 Thread Brian Leach
David

You might want to check out an article I wrote for Spectrum about this.
Back-issues are on www.intl-spectrum.com.

One other tip:

We used CVS at my last company, which was quite a complex arrangement
handling server and client side code (and keeping these in sync).

The key was to appoint someone who was responsible for it. 
If it is anything more than trivial, it needs someone charged to administer
it, not just left to the whims of developers! 
That was the best decision we made...

Regards

Brian

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of David Beahm
 Sent: 16 April 2008 21:22
 To: u2-users@listserver.u2ug.org
 Subject: [U2] version control
 
 We are looking to add our UniData/SBClient environment to 
 Subversion, and wanted to get advice from anyone who has done s
 something similar (CVS, etc.)  Searching through past posts, 
 I found Brian Leach's note about generating DICT items from 
 scripts, which I quite like; I suspect there are more ideas 
 like that around.
 
 First, however, we need to come up with a suitable repository 
 structure.  We have a number of live, proto, and development 
 accounts on one box (HP-UX).  We have some universally shared 
 directory files, but most files are unique to each account.
 
 To begin with, we are wondering whether it would be best to 
 have individual repositories for each account, or whether 
 there should be one repository with relative paths for each 
 account, or whether each account should be a different branch, etc.
 
 Suggestions welcome, however we are want to standardize on 
 one solution
 -- Subversion.
 
 Thanks,
 David Beahm
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] version control

2008-04-17 Thread JPB-U2UG
It seems that everyone needs to be a specialist these days, even in our
business.


Jerry Banker
Senior Programmer Analyst
IBM Certified Solutions Expert

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-u2-
 [EMAIL PROTECTED] On Behalf Of Brian Leach
 Sent: Thursday, April 17, 2008 4:14 AM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] version control
 
 David
 
 You might want to check out an article I wrote for Spectrum about this.
 Back-issues are on www.intl-spectrum.com.
 
 One other tip:
 
 We used CVS at my last company, which was quite a complex arrangement
 handling server and client side code (and keeping these in sync).
 
 The key was to appoint someone who was responsible for it.
 If it is anything more than trivial, it needs someone charged to
 administer
 it, not just left to the whims of developers!
 That was the best decision we made...
 
 Regards
 
 Brian
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of David Beahm
  Sent: 16 April 2008 21:22
  To: u2-users@listserver.u2ug.org
  Subject: [U2] version control
 
  We are looking to add our UniData/SBClient environment to
  Subversion, and wanted to get advice from anyone who has done s
  something similar (CVS, etc.)  Searching through past posts,
  I found Brian Leach's note about generating DICT items from
  scripts, which I quite like; I suspect there are more ideas
  like that around.
 
  First, however, we need to come up with a suitable repository
  structure.  We have a number of live, proto, and development
  accounts on one box (HP-UX).  We have some universally shared
  directory files, but most files are unique to each account.
 
  To begin with, we are wondering whether it would be best to
  have individual repositories for each account, or whether
  there should be one repository with relative paths for each
  account, or whether each account should be a different branch, etc.
 
  Suggestions welcome, however we are want to standardize on
  one solution
  -- Subversion.
 
  Thanks,
  David Beahm
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] version control

2008-04-17 Thread Rex Gozar

David,

We use CVS here.  We store all of our source code in a flat 
file/directory structure.  We use an OS level build script to generate 
the accounts, create the files and dictionaries, and load them with data.


The primary goal in our situation was to create a one-step build for our 
product, where the entire product would be generated from the ground up. 
 Patches for production systems are created by diff'ing the prior and 
current release.


We keep each account as separate CVS module, but it doesn't really 
matter; all accounts could have been in the same module if we designed 
it that way.  The structure we have is:


account/src/filename/DATA/record
account/src/filename/DICT/record

for example, the dict item NAME for the CUSTOMERS file would be 
stored in


AR/src/CUSTOMERS/DICT/NAME

Where the src and DICT directories provide metadata for the build 
script, i.e. src contains U2 files to create (in this case CUSTOMERS), 
and the load DICT portion of the file with the source item NAME.  Note 
that we could have structured this a lot of different ways to get the 
same result.  File type, modulo, and separation are also stored as 
metadata; for the CUSTOMERS dictionary file above, it would be stored in 
AR/src/CUSTOMERS/DICT/_FILE_SIZE.


Gotcha's: Depending on Windows vs. Unix, certain filenames or characters 
within the filename need to be encoded, e.g. CON and AUX conflict 
with the DOS command line, and * and  can also have special 
meaning.  Universe uses %A for an asterisk, etc. and you'll need to do 
something similar (you could write a function that uses url encoding 
that also encodes DOS keywords).


Suggestion: I wrote an ACCOUNT2DIR utility to create our flat 
file/directory structure.  I was able to tweak it and rerun it until I 
got the strucure I liked.  I suggest that you do something similar so 
you can easily tryout different structures.


rex

David Beahm wrote:
We are looking to add our UniData/SBClient environment to Subversion, 
and wanted to get advice from anyone who has done something similar 
(CVS, etc.)  Searching through past posts, I found Brian Leach's note 
about generating DICT items from scripts, which I quite like; I suspect 
there are more ideas like that around.

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Unidata @LOGNAME

2008-04-17 Thread Jeffrey Butera
Under Unidata 7.1.x on Solaris (9/10) we're seeing @LOGNAME truncated to 8 
characters.  Others on different OSes are not seeing this behavior.  Does 
anyone know if this is a Unidata setting or how Unidata is interacting with a 
system call (eg: and therefor cannot be changed)?

-- 
Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
[EMAIL PROTECTED]
413-559-5556

Consultants don't necessarily know more than you,
   they just get paid more than you.  Me
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] version control

2008-04-17 Thread Brian Leach
Jerry et al

I would say good version control - like all code management - is a skill.

And more so the more diverse your code base. If you are just hacking away at
(say) an old D3 application you can probably get away with a lot. If you
need to support multiple versions, platforms, client/server and web tiers,
probably half a dozen languages, shared libraries etc. the work involved in
just managing that should not be - and all too often is by management -
underestimated. Hence my comment. This should not be something that is just
put in without thought and left to run by itself. It won't. Time taken to
plan this now will pay huge dividends down the line. Time not spent will
bite you in the bum. A badly put together versioning system is worse than
useless - you won't be able to get out what you need at time of crisis, and
you will have become complacent thinking that it is there.

In our case we had an excellent developer and DBA who took on the role of
managing the version control, and did it extremely well. I'm very thankful,
especially when we needed his services. Without one person to manage it, it
would have become a mess. I would probably have been the worse culpit. 

You only really appreciate these things once you've been burned without them
(like a good and verified backup strategy!).
They need to be approached seriously.

Brian

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of JPB-U2UG
 Sent: 17 April 2008 13:54
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] version control
 
 It seems that everyone needs to be a specialist these days, 
 even in our business.
 
 
 Jerry Banker
 Senior Programmer Analyst
 IBM Certified Solutions Expert
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:owner-u2- 
  [EMAIL PROTECTED] On Behalf Of Brian Leach
  Sent: Thursday, April 17, 2008 4:14 AM
  To: u2-users@listserver.u2ug.org
  Subject: RE: [U2] version control
  
  David
  
  You might want to check out an article I wrote for Spectrum 
 about this.
  Back-issues are on www.intl-spectrum.com.
  
  One other tip:
  
  We used CVS at my last company, which was quite a complex 
 arrangement 
  handling server and client side code (and keeping these in sync).
  
  The key was to appoint someone who was responsible for it.
  If it is anything more than trivial, it needs someone charged to 
  administer it, not just left to the whims of developers!
  That was the best decision we made...
  
  Regards
  
  Brian
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of 
 David Beahm
   Sent: 16 April 2008 21:22
   To: u2-users@listserver.u2ug.org
   Subject: [U2] version control
  
   We are looking to add our UniData/SBClient environment to 
   Subversion, and wanted to get advice from anyone who has done s 
   something similar (CVS, etc.)  Searching through past 
 posts, I found 
   Brian Leach's note about generating DICT items from 
 scripts, which I 
   quite like; I suspect there are more ideas like that around.
  
   First, however, we need to come up with a suitable repository 
   structure.  We have a number of live, proto, and development 
   accounts on one box (HP-UX).  We have some universally shared 
   directory files, but most files are unique to each account.
  
   To begin with, we are wondering whether it would be best to have 
   individual repositories for each account, or whether 
 there should be 
   one repository with relative paths for each account, or 
 whether each 
   account should be a different branch, etc.
  
   Suggestions welcome, however we are want to standardize on one 
   solution
   -- Subversion.
  
   Thanks,
   David Beahm
   ---
   u2-users mailing list
   u2-users@listserver.u2ug.org
   To unsubscribe please visit http://listserver.u2ug.org/
  ---
  u2-users mailing list
  u2-users@listserver.u2ug.org
  To unsubscribe please visit http://listserver.u2ug.org/
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] uo.net logging

2008-04-17 Thread Symeon Breen
Hi thanks,  unfortunately the switches section is not valid in web.config, I 
remember it was a simple change, If only I could remember exactly what it was 
...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S
Sent: 16 April 2008 09:26
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] uo.net logging

I don't know about asp.net, but in my vb.net app.config that is using
uo.net, I have (no doubt actually cloned from another app, probably IBM
supplied sample!):

?xml version=1.0 encoding=utf-8 ?
configuration
!--
UO.NET
General
addkey=SocketTimeOut value=30 /
/General
PerformanceMonitor
addkey=BusyConnectionCounter value=0/
/PerformanceMonitor
/UO.NET
--

system.diagnostics
switches
!-- Set value property of the TraceMethods switch to one of
the following:
0 (false) or 1 (true) --
add name=UniBooleanSwitch value=1 /

!-- Set value property of the Arithmetic switch to one of
the following:
1(error), 2(warning), 3(info), 4(verbose) --
add name=UniTraceSwitch value=3 /
/switches
trace autoflush=true indentsize=4
listeners
!-- add name=UniListener
type=System.Diagnostics.TextWriterTraceListener, UODOTNET version=1.0.*
Culture=neutral initializeData=c:\myListener.log / --
!-- add name=myListener 

type=System.Diagnostics.TextWriterTraceListener

initializeData=c:\temp\myListener.log / --
 add name=myListener 

type=System.Diagnostics.TextWriterTraceListener

initializeData=c:\temp\myListener.log / 
 
 

/listeners
 /trace

/system.diagnostics
/configuration 


David



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Symeon Breen
Sent: Wednesday, April 16, 2008 5:30 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] uo.net logging

Can someone remind me what entries to put in the web.config for an
asp.net app that uses uo.net to write the uo.net trace file b I know it
was something to do with trace and listeners but can not find my old
example anywhere b.







Thanks

Symeon.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] uo.net logging

2008-04-17 Thread Mike Dallaire
Symeon,
I use the following chunk of code in my asp.net web.config and it works
fine.  I do not have
any problem with the switches tag.  It is a sub-element of configuration.
HTH,
Mike

system.diagnostics
  sources

source name=DefaultSource switchName=DefaultSwitch
listeners
  add name=myListener/
/listeners
  /source
/sources
switches

add name=UniTraceSwitch value=4 /
/switches

sharedListeners
  add name=myListener
type=System.Diagnostics.TextWriterTraceListener 
   initializeData=c:\inetpub\wwwroot\myListener.log /
/sharedListeners

trace autoflush=true indentsize=4
  listeners
add name=myListener /
  /listeners
/trace
  /system.diagnostics

 
Michael Dallaire
Senior Applications Developer
IBM Certified Solutions Expert
Mortgage Builder Software, Inc.
Phone: (248) 304-0600 x 103
Fax: (248) 304-0601
[EMAIL PROTECTED]
www.mortgagebuilder.com
 
Providing Outstanding Support 
It's more than just a company philosophy; it's a whole corporate culture
whose foundation is service.
 
Confidentiality Notice 
This transmission may contain confidential information which is intended for
the exclusive use of the intended recipient. Any disclosure, copying,
distribution or use of the contents by anyone other than the intended
recipient is strictly prohibited. If received in error, please reply to the
sender immediately.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Symeon Breen
Sent: Thursday, April 17, 2008 11:15 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] uo.net logging

Hi thanks,  unfortunately the switches section is not valid in web.config, I
remember it was a simple change, If only I could remember exactly what it
was ...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S
Sent: 16 April 2008 09:26
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] uo.net logging

I don't know about asp.net, but in my vb.net app.config that is using
uo.net, I have (no doubt actually cloned from another app, probably IBM
supplied sample!):

?xml version=1.0 encoding=utf-8 ?
configuration
!--
UO.NET
General
addkey=SocketTimeOut value=30 /
/General
PerformanceMonitor
addkey=BusyConnectionCounter value=0/
/PerformanceMonitor
/UO.NET
--

system.diagnostics
switches
!-- Set value property of the TraceMethods switch to one of
the following:
0 (false) or 1 (true) --
add name=UniBooleanSwitch value=1 /

!-- Set value property of the Arithmetic switch to one of
the following:
1(error), 2(warning), 3(info), 4(verbose) --
add name=UniTraceSwitch value=3 /
/switches
trace autoflush=true indentsize=4
listeners
!-- add name=UniListener
type=System.Diagnostics.TextWriterTraceListener, UODOTNET version=1.0.*
Culture=neutral initializeData=c:\myListener.log / --
!-- add name=myListener 

type=System.Diagnostics.TextWriterTraceListener

initializeData=c:\temp\myListener.log / --
 add name=myListener 

type=System.Diagnostics.TextWriterTraceListener

initializeData=c:\temp\myListener.log / 
 
 

/listeners
 /trace

/system.diagnostics
/configuration 


David



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Symeon Breen
Sent: Wednesday, April 16, 2008 5:30 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] uo.net logging

Can someone remind me what entries to put in the web.config for an
asp.net app that uses uo.net to write the uo.net trace file b I know it
was something to do with trace and listeners but can not find my old
example anywhere b.







Thanks

Symeon.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] TCL Command stacker

2008-04-17 Thread Doug Miller
I know  That is why I said it looked promising. :-)  IE was able 
to get it to work but it was definitely not ready to be recommended 
until I understood the nuances.


Thanks for the heads up,

Doug

At 04:18 PM 4/16/2008, you wrote:
Before you propose to a customer, make sure their terminal emulator 
and COMMAND.EDITOR play well together.


I guess there are some tricks to smooth out things between AT2k and 
COMMAND.EDITOR.  I put COMMAND.EDITOR ON ALL in my login PA and 
that was the end of my cursor keys and num pad.


fwiw

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Unidata @LOGNAME

2008-04-17 Thread JPB-U2UG
If I remember correctly, Solaris only looks at the first 8 characters as the
user name and the password. If you have a password longer than 8 characters
you're wasting keystrokes. I don't know if there is a setting to change it.

Jerry Banker
Senior Programmer Analyst
IBM Certified Solutions Expert


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-u2-
 [EMAIL PROTECTED] On Behalf Of Jeffrey Butera
 Sent: Thursday, April 17, 2008 8:12 AM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Unidata @LOGNAME
 
 Under Unidata 7.1.x on Solaris (9/10) we're seeing @LOGNAME truncated
 to 8
 characters.  Others on different OSes are not seeing this behavior.
 Does
 anyone know if this is a Unidata setting or how Unidata is interacting
 with a
 system call (eg: and therefor cannot be changed)?
 
 --
 Jeff Butera, Ph.D.
 Administrative Systems
 Hampshire College
 [EMAIL PROTECTED]
 413-559-5556
 
 Consultants don't necessarily know more than you,
they just get paid more than you.  Me
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] version control

2008-04-17 Thread Rex Gozar

David,

One other item: in managing development, testing, and production 
accounts, I've found it easier to use relative Q-pointers in the 
software.  So instead setting the Q-pointer:


  CUSTOMERS
0001: Q
0002: AR
0003: CUSTOMERS

set it up to use a relative pathname:

  CUSTOMERS
0001: Q
0002: ../AR
0003: CUSTOMERS

Every developer can maintain their own unique directory with their own 
copy of the account(s) they need, without having to setup a STEVE.AR, 
BOB.AR, or JIM.AR account.


rex

David Beahm wrote:
First, however, we need to come up with a suitable repository 
structure.  We have a number of live, proto, and development accounts on 
one box (HP-UX).  We have some universally shared directory files, but 
most files are unique to each account.

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Unidata @LOGNAME

2008-04-17 Thread Jeffrey Butera
quote who='JPB-U2UG' date='Thursday 17 April 2008'
 If I remember correctly, Solaris only looks at the first 8 characters as
 the user name and the password. If you have a password longer than 8
 characters you're wasting keystrokes. I don't know if there is a setting to
 change it.

You're correct on the password but since Solaris allows usernames longer than 
8 we were surprised that @LOGNAME wasn't returning them.  I'll assume it a 
Solaris system call that Unidata is using to populate @LOGNAME.

-- 
Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
[EMAIL PROTECTED]
413-559-5556

Consultants don't necessarily know more than you,
   they just get paid more than you.  Me
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/