RE: [U2] Updating UV/UD PE

2008-10-03 Thread Anthony Youngman
Mind you, AS ALWAYS :-), they were only coping someone else!

Ever wondered why \ is the path delimiter in Windows? Because when Gary 
Kildall wrote CP/M he used / as a valid character in a file name... (Okay, 
Unix wasn't so ubiquitous in those days.)

Cheers,
Wol

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jpb-u2ug
Sent: 02 October 2008 20:17
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Updating UV/UD PE

This may be true but it really isn't a smart move even in windows, almost
everything in programming is delimited by spaces. Personally I think it was
one of the dumbest things implemented by MS.

Jerry Banker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Boydell, Stuart
Sent: Thursday, October 02, 2008 5:04 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Updating UV/UD PE

CREATE.FILE FILE WITH SPACES IN'T 30
Creating file FILE WITH SPACES IN'T as Type 30.
Creating file D_FILE WITH SPACES IN'T as Type 3, Modulo 1, Separation
2.
Added @ID, the default record for RetrieVe, to D_FILE WITH SPACES
IN'T.

-Original Message-
I'm not quite sure what you're getting at here, but never mind ...
Don't
forget UV comes from a heritage where space was an illegal character in
file names. (And it still is, for quite a lot of other programs that
run
under Windows, too. Spaces cause me grief, even in Windows itself!)


**
This email message and any files transmitted with it are confidential and
intended solely for the use of addressed recipient(s). If you have received
this communication in error, please reply to this e-mail to notify the
sender of its incorrect delivery and then delete it and your reply.  It is
your responsibility to check this email and any attachments for viruses and
defects before opening or sending them on. Spotless collects information
about you to provide and market our services. For information about use,
disclosure and access, see our privacy policy at http://www.spotless.com.au
Please consider our environment before printing this email.
**
---
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] Windows Task Scheduler

2008-10-03 Thread Mike Roosa
Well, I got an error with option #1, but option #2 worked fine.  I'll just
go with that way for now.  Thanks.

On Fri, Oct 3, 2008 at 12:56 AM, Tony G [EMAIL PROTECTED] wrote:

 Hi Mike.  Three methods come to mind.

 1) start /b c:\ibm\uv\bin\uv.exe PHANTOM MY.PROGRAM

 2) Some people may prefer a script, so here is how to do it like
 that.  Create a text file called uvphantom.vbs with the contents
 below.  You can do this from BASIC and customize as required.  ;)
 You can also do this with just two lines but I broke it into
 four, to avoid email wrapping here.

 
 Set objShell = CreateObject(WScript.Shell)
 uvexec = c:\ibm\uv\bin\uv.exe 
 command = PHANTOM MY.PROGRAM
 output =   phantom_output.txt
 objShell.Run cmd /c   uvexec  command  output, 0, False
 

 The /c in the last line means close the a window as soon as the
 command finishes, assuming a window gets a chance to open.
 The 0 means hide the output (you can also use 7).
 The False means don't wait for the command to finish, just spawn
 the task and move on.

 Now with task scheduler, execute:
wscript c:\path\to\uvphantom.vbs

 Since I know you work with C#, you can also use
 System.Diagnostics.Process if you want to do more rigourous
 handling of output, maybe completely wrap the process.

 HTH
 T

  From: Mike Roosa
  I am using the Windows Task Scheduler to run a job in
  Universe.  Everything is working great except that I
  can't figure out how to keep the console window from
  opening when the uv.exe command is executed.  The
  command I'm using to run my program is
  c:\ibm\uv\bin\uv.exe PHANTOM MY.PROGRAM.  Is there a
  switch or something to indicate that the console
  window should not open?
 ---
 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] Windows Task Scheduler

2008-10-03 Thread Eric Armstrong
We run batch files from the Scheduler which use uvsh.exe to call catalogged
UV programs or Paragraphs.

Eric Armstrong
Lobel Financial


-Original Message-
From: Mike Roosa [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2008 11:41 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Windows Task Scheduler


I am using the Windows Task Scheduler to run a job in Universe.  Everything
is working great except that I can't figure out how to keep the console
window from opening when the uv.exe command is executed.  The command I'm
using to run my program is c:\ibm\uv\bin\uv.exe PHANTOM MY.PROGRAM.  Is
there a switch or something to indicate that the console window should not
open?

Thanks,
Mike Roosa
---
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] Windows Task Scheduler

2008-10-03 Thread Bill Haskett
Mike:

How well did the instructions I sent you work?

Bill

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Roosa
Sent: Friday, October 03, 2008 8:48 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Windows Task Scheduler

Well, I got an error with option #1, but option #2 worked fine.  I'll just
go with that way for now.  Thanks.

On Fri, Oct 3, 2008 at 12:56 AM, Tony G [EMAIL PROTECTED] wrote:

 Hi Mike.  Three methods come to mind.

 1) start /b c:\ibm\uv\bin\uv.exe PHANTOM MY.PROGRAM

 2) Some people may prefer a script, so here is how to do it like
 that.  Create a text file called uvphantom.vbs with the contents
 below.  You can do this from BASIC and customize as required.  ;)
 You can also do this with just two lines but I broke it into
 four, to avoid email wrapping here.

 
 Set objShell = CreateObject(WScript.Shell)
 uvexec = c:\ibm\uv\bin\uv.exe 
 command = PHANTOM MY.PROGRAM
 output =   phantom_output.txt
 objShell.Run cmd /c   uvexec  command  output, 0, False
 

 The /c in the last line means close the a window as soon as the
 command finishes, assuming a window gets a chance to open.
 The 0 means hide the output (you can also use 7).
 The False means don't wait for the command to finish, just spawn
 the task and move on.

 Now with task scheduler, execute:
wscript c:\path\to\uvphantom.vbs

 Since I know you work with C#, you can also use
 System.Diagnostics.Process if you want to do more rigourous
 handling of output, maybe completely wrap the process.

 HTH
 T

  From: Mike Roosa
  I am using the Windows Task Scheduler to run a job in
  Universe.  Everything is working great except that I
  can't figure out how to keep the console window from
  opening when the uv.exe command is executed.  The
  command I'm using to run my program is
  c:\ibm\uv\bin\uv.exe PHANTOM MY.PROGRAM.  Is there a
  switch or something to indicate that the console
  window should not open?
 ---
 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] Copying UV data

2008-10-03 Thread Kevin King
Re: UV 10.1 on Linux

Is there any tricks to picking up a data account from one system and
porting it over to another?  Do we have to stop UV before the move, or can
it be paused like with Unidata?

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


[U2] RE: spaces in file names

2008-10-03 Thread Tony G
For reference, Windows still stores path/file names internally in
short 8.3 format.  Support for long names and additional
characters was added in Windows 95 as an abstraction (a view)
over that for common usage where non-technical people want to use
file names like:
   J. Jones Budget, 2007-2008 (revised).doc
   Chelsea smashed! at homecoming '07.jpg

Windows was designed to be an operating system for home users and
later became a server.  (Most people forget that PC stands for
Personal Computer.)  Macintosh supported long, friendly
filenames back in 1984 for the same reasons.  Unix is a system
for engineers, not intended to be used by people creating
OS-level filenames for their docs or pictures.

Now, just to be clear, I didn't suggest that DBMS files should be
allowed to have spaces in them, like CUSTOMER MASTER.  I was
giving IBM a little grief for not making use of a file system
enhancement which was added to Windows 13 years ago so that we
can put IBM programs under Program Files.  There's no need for
*nix compatibility at this level, commands like uv, udt,
UniAdmin, and the UniSDK tools are all platform-specific,
OS-level programs, and have nothing to do with the data in the
DBMS.

It's almost understandable that paths to data may give the DBMS
grief if they contain spaces, like:
  D:\Data Sources\ABC Company\UV\Accounts\WAREHOUSE
But even in this case, if ported to *nix anyone would know to
move that to something more appropriate like:
  /home/data/abc_company/uv/acccounts/WAREHOUSE
In either case, the DBMS-level file system should abstract the MV
DBA from OS-level issues.  For example, we should be allowed to
create files like the following without OS-related issues:
  .TEMP
  OPEN-A/R
  CUSTMAST*DEPT
That said, the CREATE.FILE verb should also prevent the creation
of filenames that are commonly agreed as being a bad idea, like
CUSTOMER MASTER.

As always (like case sensitivity) this whole situation is just
another case of engineers who decide not to make changes because
they speak Unix and they expect the rest of the world to do so
as well.  The burden is not on them to make software work for the
target OS but on developers to have to know how another OS works
so that they understand why their own platform isn't working.
That's just lazy and backwards thinking.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Copying UV data

2008-10-03 Thread jpb-u2ug
SUSPEND ON
Copy
SUSPEND OFF

Jerry Banker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Friday, October 03, 2008 3:21 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Copying UV data

Re: UV 10.1 on Linux

Is there any tricks to picking up a data account from one system and
porting it over to another?  Do we have to stop UV before the move, or can
it be paused like with Unidata?

-Kevin
http://www.PrecisOnline.com
---
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] RE: spaces in file names

2008-10-03 Thread jpb-u2ug
Do you wake up on the wrong side of the bed every morning?

Jerry Banker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tony G
Sent: Friday, October 03, 2008 3:59 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] RE: spaces in file names

For reference, Windows still stores path/file names internally in
short 8.3 format.  Support for long names and additional
characters was added in Windows 95 as an abstraction (a view)
over that for common usage where non-technical people want to use
file names like:
   J. Jones Budget, 2007-2008 (revised).doc
   Chelsea smashed! at homecoming '07.jpg

Windows was designed to be an operating system for home users and
later became a server.  (Most people forget that PC stands for
Personal Computer.)  Macintosh supported long, friendly
filenames back in 1984 for the same reasons.  Unix is a system
for engineers, not intended to be used by people creating
OS-level filenames for their docs or pictures.

Now, just to be clear, I didn't suggest that DBMS files should be
allowed to have spaces in them, like CUSTOMER MASTER.  I was
giving IBM a little grief for not making use of a file system
enhancement which was added to Windows 13 years ago so that we
can put IBM programs under Program Files.  There's no need for
*nix compatibility at this level, commands like uv, udt,
UniAdmin, and the UniSDK tools are all platform-specific,
OS-level programs, and have nothing to do with the data in the
DBMS.

It's almost understandable that paths to data may give the DBMS
grief if they contain spaces, like:
  D:\Data Sources\ABC Company\UV\Accounts\WAREHOUSE
But even in this case, if ported to *nix anyone would know to
move that to something more appropriate like:
  /home/data/abc_company/uv/acccounts/WAREHOUSE
In either case, the DBMS-level file system should abstract the MV
DBA from OS-level issues.  For example, we should be allowed to
create files like the following without OS-related issues:
  .TEMP
  OPEN-A/R
  CUSTMAST*DEPT
That said, the CREATE.FILE verb should also prevent the creation
of filenames that are commonly agreed as being a bad idea, like
CUSTOMER MASTER.

As always (like case sensitivity) this whole situation is just
another case of engineers who decide not to make changes because
they speak Unix and they expect the rest of the world to do so
as well.  The burden is not on them to make software work for the
target OS but on developers to have to know how another OS works
so that they understand why their own platform isn't working.
That's just lazy and backwards thinking.

Tony Gravagno
Nebula Research and Development
TG@ remove.pleaseNebula-RnD.com
---
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] Copying UV data

2008-10-03 Thread Brutzman, Bill
With HP-Ux it is no problem at all.  I do not stop or pause UV.  I just
copy the data files.  I have been doing this once-a-day for the last two
years.

To be prudent, with a recent backup available, after hours.  Just copy
from A to B and then do a spot-check test it in both A and B.  Or just
shoot from the hip.

--Bill



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Friday, October 03, 2008 4:21 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Copying UV data

Re: UV 10.1 on Linux

Is there any tricks to picking up a data account from one system and
porting it over to another?  Do we have to stop UV before the move, or
can
it be paused like with Unidata?

-Kevin
http://www.PrecisOnline.com
---
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/


FW: [U2] Copying UV data

2008-10-03 Thread jpb-u2ug
Sorry it should be SUSPEND.FILES ON and SUSPEND.FILES OFF

Jerry Banker


-Original Message-
From: jpb-u2ug [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 03, 2008 4:23 PM
To: 'u2-users@listserver.u2ug.org'
Subject: RE: [U2] Copying UV data

SUSPEND ON
Copy
SUSPEND OFF

Jerry Banker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Friday, October 03, 2008 3:21 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Copying UV data

Re: UV 10.1 on Linux

Is there any tricks to picking up a data account from one system and
porting it over to another?  Do we have to stop UV before the move, or can
it be paused like with Unidata?

-Kevin
http://www.PrecisOnline.com
---
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] RE: spaces in file names

2008-10-03 Thread Allen Egerton

jpb-u2ug wrote:

Do you wake up on the wrong side of the bed every morning?


snip

Um, I'm not sure why you found what Tony wrote offensive.  I thought it 
was a reasonable presentation of his point of view.


--
Allen Egerton  [EMAIL PROTECTED]  860-912-8067
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] RE: spaces in file names

2008-10-03 Thread JPB-U2UG
Not offensive, I just think he sounds angry in a lot of his emails. He 
really should watch his blood pressure.


--
From: Allen Egerton [EMAIL PROTECTED]
Sent: Friday, October 03, 2008 5:52 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] RE: spaces in file names


jpb-u2ug wrote:

Do you wake up on the wrong side of the bed every morning?


snip

Um, I'm not sure why you found what Tony wrote offensive.  I thought it 
was a reasonable presentation of his point of view.


--
Allen Egerton  [EMAIL PROTECTED]  860-912-8067
---
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/