[U2] VOC Pointer

2013-03-04 Thread Israel, John R.
I need to copy PDFs from a Windows server into a UNIX dir (where UniData lives).

Can I map a VOC pointer?

Other thoughts?

Running HPUX, UniData 7.2.1.


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


Re: [U2] VOC Pointer

2013-03-04 Thread Wols Lists
On 04/03/13 20:36, Israel, John R. wrote:
 I need to copy PDFs from a Windows server into a UNIX dir (where UniData 
 lives).
 
 Can I map a VOC pointer?

Can the unix machine see a windows share? You MAY be able to put a
network path in field 2 of a voc entry, but by default, if UD recognises
a network path it'll probably refuse to access it.

And is copying PDFs (binary files) using the UD command line a good idea?
 
 Other thoughts?

Put samba on the HPUX box, share your HPUX directory, and copy the pdfs
from Windows to nix.

Or if you need to do it from the nix end, share your Windows directory
and use smbmount (probably part of samba, I'm not quite sure what's
happened to it) to make the windows share look like a nix directory
where you can use nix commands to copy.
 
 Running HPUX, UniData 7.2.1.
 
 John
 
Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] VOC Pointer

2013-03-04 Thread Robert Porter
We use Samba to move 1000's of interface transaction files across from Windows 
servers to a HP-UX UniVerse server daily. The Windows server creates the file, 
and UV on the HP-UX box picks them up. The directories and files are create on 
the HP-UX server through a Samba share. Haven't tried it the other way where 
the directories/files actually live on Windows. HTH

 
 
 
Robert F. Porter, MCSE, CCNA, ZCE, OCP-Java
Lead Sr. Programmer / Analyst
Laboratory Information Services
Ochsner Health System
 
 
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] VOC Pointer

2013-03-04 Thread Rutherford, Marc
John,

If this is one-time manual transfer I would suggest you use ftp. 

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R.
Sent: Monday, March 04, 2013 12:37 PM
To: U2 Users List
Subject: [U2] VOC Pointer

I need to copy PDFs from a Windows server into a UNIX dir (where UniData lives).

Can I map a VOC pointer?

Other thoughts?

Running HPUX, UniData 7.2.1.


John
___
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


Re: [U2] VOC Pointer

2013-03-04 Thread Robert Frailey

winftp, windows ftp explorer or any other windows ftp package
- Original Message - 
From: Israel, John R. johnisr...@daytonsuperior.com

To: U2 Users List u2-users@listserver.u2ug.org
Sent: Monday, March 04, 2013 1:36 PM
Subject: [U2] VOC Pointer


I need to copy PDFs from a Windows server into a UNIX dir (where UniData 
lives).


Can I map a VOC pointer?

Other thoughts?

Running HPUX, UniData 7.2.1.


John
___
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


Re: [U2] VOC Pointer

2013-03-04 Thread Israel, John R.
We have used Samba other ways, but I have never actually tried to copy from 
Windows to Unix.

What would the syntax be to copy?


Thanks


JRI


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
Sent: Monday, March 04, 2013 3:45 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] VOC Pointer

On 04/03/13 20:36, Israel, John R. wrote:
 I need to copy PDFs from a Windows server into a UNIX dir (where UniData 
 lives).
 
 Can I map a VOC pointer?

Can the unix machine see a windows share? You MAY be able to put a network path 
in field 2 of a voc entry, but by default, if UD recognises a network path 
it'll probably refuse to access it.

And is copying PDFs (binary files) using the UD command line a good idea?
 
 Other thoughts?

Put samba on the HPUX box, share your HPUX directory, and copy the pdfs from 
Windows to nix.

Or if you need to do it from the nix end, share your Windows directory and use 
smbmount (probably part of samba, I'm not quite sure what's happened to it) to 
make the windows share look like a nix directory where you can use nix commands 
to copy.
 
 Running HPUX, UniData 7.2.1.
 
 John
 
Cheers,
Wol
___
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


Re: [U2] VOC Pointer

2013-03-04 Thread Israel, John R.
Nightly background run every night.  It has to work w/o user intervention.


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rutherford, Marc
Sent: Monday, March 04, 2013 3:50 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

John,

If this is one-time manual transfer I would suggest you use ftp. 

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R.
Sent: Monday, March 04, 2013 12:37 PM
To: U2 Users List
Subject: [U2] VOC Pointer

I need to copy PDFs from a Windows server into a UNIX dir (where UniData lives).

Can I map a VOC pointer?

Other thoughts?

Running HPUX, UniData 7.2.1.


John
___
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
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] VOC Pointer

2013-03-04 Thread Robert Frailey

make sure if you use some sort of ftp that your set the transfer to binary
- Original Message - 
From: Israel, John R. johnisr...@daytonsuperior.com

To: U2 Users List u2-users@listserver.u2ug.org
Sent: Monday, March 04, 2013 1:56 PM
Subject: Re: [U2] VOC Pointer



Nightly background run every night.  It has to work w/o user intervention.


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rutherford, 
Marc

Sent: Monday, March 04, 2013 3:50 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

John,

If this is one-time manual transfer I would suggest you use ftp.

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R.

Sent: Monday, March 04, 2013 12:37 PM
To: U2 Users List
Subject: [U2] VOC Pointer

I need to copy PDFs from a Windows server into a UNIX dir (where UniData 
lives).


Can I map a VOC pointer?

Other thoughts?

Running HPUX, UniData 7.2.1.


John
___
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
___
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


Re: [U2] VOC Pointer

2013-03-04 Thread Robert Porter
Samba should be fine for this then... 
Create a directory type file in UD and setup Samba to share this.
Map it on the Windows server.
Define some process @ whatever time you like to copy/write the files on the 
Windows server.
If they need to be processed somehow on the UD side, create a task that is 
either time dependent, cyclical or signaled by Windows server to kick off.
 
Easy Peasy and it's been rock solid for us.
We write a transaction file on the Windows server to a Samba share on the HP 
box.
Then write a 0 byte file telling that UV watches for, letting it know it's 
available for processing.
We do 1000's of transactions (probably 10's of 1000's) across hundreds of 
interface directories with only 2 phantoms in very near real time.
 
Rob

 
Robert F. Porter, MCSE, CCNA, ZCE, OCP-Java
Lead Sr. Programmer / Analyst
Laboratory Information Services
Ochsner Health System
 
 
This transmission (including any attachments) may contain confidential 
information, privileged material (including material protected by the 
solicitor-client or other applicable privileges), or constitute non-public 
information. Any use of this information by anyone other than the intended 
recipient is prohibited. If you have received this transmission in error, 
please immediately reply to the sender and delete this information from your 
system. Use, dissemination, distribution, or reproduction of this transmission 
by unintended recipients is not authorized and may be unlawful.
 Israel, John R. johnisr...@daytonsuperior.com 3/4/2013 2:56 PM 
Nightly background run every night.  It has to work w/o user intervention.


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


Re: [U2] VOC Pointer

2013-03-04 Thread John Thompson
If copying from the windows server to the HP-UX machine...
If you use the samba method... you would need:

1) Samba installed on HP-UX server running Unidata
2) Setup a share to share a directory on HP-UX
3) Map the network drive on the Windows Server
4) Just do a standard windows copy from one drive letter to the other

That being said, my steps above are grossly over-simplified
If you have never done a samba install on HP-UX and configuration before,
this could take you several days/weeks.

If its a one time deal, then the previous posters idea of ftp, is so much
easier.

Its been a number of years, since I put samba on HP-UX.
If you can find a package that utilizes swinstall (sam) somewhere out on
the web, it might make your life easier.





On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R. 
johnisr...@daytonsuperior.com wrote:

 We have used Samba other ways, but I have never actually tried to copy
 from Windows to Unix.

 What would the syntax be to copy?


 Thanks


 JRI


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Monday, March 04, 2013 3:45 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] VOC Pointer

 On 04/03/13 20:36, Israel, John R. wrote:
  I need to copy PDFs from a Windows server into a UNIX dir (where UniData
 lives).
 
  Can I map a VOC pointer?

 Can the unix machine see a windows share? You MAY be able to put a network
 path in field 2 of a voc entry, but by default, if UD recognises a network
 path it'll probably refuse to access it.

 And is copying PDFs (binary files) using the UD command line a good idea?
 
  Other thoughts?

 Put samba on the HPUX box, share your HPUX directory, and copy the pdfs
 from Windows to nix.

 Or if you need to do it from the nix end, share your Windows directory and
 use smbmount (probably part of samba, I'm not quite sure what's happened to
 it) to make the windows share look like a nix directory where you can use
 nix commands to copy.
 
  Running HPUX, UniData 7.2.1.
 
  John
 
 Cheers,
 Wol
 ___
 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




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


Re: [U2] VOC Pointer

2013-03-04 Thread John Thompson
It appears HP, may have their own version of samba too- if you wanted to
utilize HP support.
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do%3Fhpweb_printable%3Dtrue%26productNumber%3DB8725AA




On Mon, Mar 4, 2013 at 4:04 PM, Robert Porter ropor...@ochsner.org wrote:

 Samba should be fine for this then...
 Create a directory type file in UD and setup Samba to share this.
 Map it on the Windows server.
 Define some process @ whatever time you like to copy/write the files on
 the Windows server.
 If they need to be processed somehow on the UD side, create a task that is
 either time dependent, cyclical or signaled by Windows server to kick off.

 Easy Peasy and it's been rock solid for us.
 We write a transaction file on the Windows server to a Samba share on the
 HP box.
 Then write a 0 byte file telling that UV watches for, letting it know it's
 available for processing.
 We do 1000's of transactions (probably 10's of 1000's) across hundreds of
 interface directories with only 2 phantoms in very near real time.

 Rob


 Robert F. Porter, MCSE, CCNA, ZCE, OCP-Java
 Lead Sr. Programmer / Analyst
 Laboratory Information Services
 Ochsner Health System


 This transmission (including any attachments) may contain confidential
 information, privileged material (including material protected by the
 solicitor-client or other applicable privileges), or constitute non-public
 information. Any use of this information by anyone other than the intended
 recipient is prohibited. If you have received this transmission in error,
 please immediately reply to the sender and delete this information from
 your system. Use, dissemination, distribution, or reproduction of this
 transmission by unintended recipients is not authorized and may be unlawful.
  Israel, John R. johnisr...@daytonsuperior.com 3/4/2013 2:56 PM 
 Nightly background run every night.  It has to work w/o user intervention.


 JRI

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




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


Re: [U2] VOC Pointer

2013-03-04 Thread Israel, John R.
I have done things from Window to UNIX with Samba before.  As you say, we do it 
all the time.

The issue I have is I need my Unix box to grab the data from Windows and copy 
it from Windows to Unix.  The copy needs to be run from Unix, not Windows.  
THAT is the problem I am having.  Mapping a network drive in Windows will be 
great from Windows, but will not solve the problem of issuing the command from 
Unix (unless I am completely missing the point).


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Monday, March 04, 2013 4:06 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

If copying from the windows server to the HP-UX machine...
If you use the samba method... you would need:

1) Samba installed on HP-UX server running Unidata
2) Setup a share to share a directory on HP-UX
3) Map the network drive on the Windows Server
4) Just do a standard windows copy from one drive letter to the other

That being said, my steps above are grossly over-simplified
If you have never done a samba install on HP-UX and configuration before, this 
could take you several days/weeks.

If its a one time deal, then the previous posters idea of ftp, is so much 
easier.

Its been a number of years, since I put samba on HP-UX.
If you can find a package that utilizes swinstall (sam) somewhere out on the 
web, it might make your life easier.





On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R.  
johnisr...@daytonsuperior.com wrote:

 We have used Samba other ways, but I have never actually tried to copy 
 from Windows to Unix.

 What would the syntax be to copy?


 Thanks


 JRI


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Monday, March 04, 2013 3:45 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] VOC Pointer

 On 04/03/13 20:36, Israel, John R. wrote:
  I need to copy PDFs from a Windows server into a UNIX dir (where 
  UniData
 lives).
 
  Can I map a VOC pointer?

 Can the unix machine see a windows share? You MAY be able to put a 
 network path in field 2 of a voc entry, but by default, if UD 
 recognises a network path it'll probably refuse to access it.

 And is copying PDFs (binary files) using the UD command line a good idea?
 
  Other thoughts?

 Put samba on the HPUX box, share your HPUX directory, and copy the 
 pdfs from Windows to nix.

 Or if you need to do it from the nix end, share your Windows directory 
 and use smbmount (probably part of samba, I'm not quite sure what's 
 happened to
 it) to make the windows share look like a nix directory where you can 
 use nix commands to copy.
 
  Running HPUX, UniData 7.2.1.
 
  John
 
 Cheers,
 Wol
 ___
 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




--
John Thompson
___
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


Re: [U2] VOC Pointer

2013-03-04 Thread Robert Porter
It's part of the HP-UX... look for CIFS server.
 


 John Thompson jthompson...@gmail.com 3/4/2013 3:06 PM  ( 
 mailto:jthompson...@gmail.com )
...
Its been a number of years, since I put samba on HP-UX.
If you can find a package that utilizes swinstall (sam) somewhere out on
the web, it might make your life easier.

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


Re: [U2] VOC Pointer

2013-03-04 Thread John Thompson
You also might be better off using winscp on the windows server.
You could write a program/script to SCP the files over to the HP-UX
server every night.
WinSCP has some nice windows command line options.

Chances are you already have ssh, or ftp installed in HP-UX.

http://winscp.net/eng/index.php


On Mon, Mar 4, 2013 at 4:11 PM, John Thompson jthompson...@gmail.comwrote:

 It appears HP, may have their own version of samba too- if you wanted to
 utilize HP support.

 https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do%3Fhpweb_printable%3Dtrue%26productNumber%3DB8725AA




 On Mon, Mar 4, 2013 at 4:04 PM, Robert Porter ropor...@ochsner.orgwrote:

 Samba should be fine for this then...
 Create a directory type file in UD and setup Samba to share this.
 Map it on the Windows server.
 Define some process @ whatever time you like to copy/write the files on
 the Windows server.
 If they need to be processed somehow on the UD side, create a task that
 is either time dependent, cyclical or signaled by Windows server to kick
 off.

 Easy Peasy and it's been rock solid for us.
 We write a transaction file on the Windows server to a Samba share on the
 HP box.
 Then write a 0 byte file telling that UV watches for, letting it know
 it's available for processing.
 We do 1000's of transactions (probably 10's of 1000's) across hundreds of
 interface directories with only 2 phantoms in very near real time.

 Rob


 Robert F. Porter, MCSE, CCNA, ZCE, OCP-Java
 Lead Sr. Programmer / Analyst
 Laboratory Information Services
 Ochsner Health System


 This transmission (including any attachments) may contain confidential
 information, privileged material (including material protected by the
 solicitor-client or other applicable privileges), or constitute non-public
 information. Any use of this information by anyone other than the intended
 recipient is prohibited. If you have received this transmission in error,
 please immediately reply to the sender and delete this information from
 your system. Use, dissemination, distribution, or reproduction of this
 transmission by unintended recipients is not authorized and may be unlawful.
  Israel, John R. johnisr...@daytonsuperior.com 3/4/2013 2:56 PM
 
 Nightly background run every night.  It has to work w/o user intervention.


 JRI

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




 --
 John Thompson




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


Re: [U2] VOC Pointer

2013-03-04 Thread Wjhonson
ftp can be used without user intervention
thats how we do it, in several nightly runs for various processes

 

 

 

-Original Message-
From: Israel, John R. johnisr...@daytonsuperior.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Mon, Mar 4, 2013 12:57 pm
Subject: Re: [U2] VOC Pointer


Nightly background run every night.  It has to work w/o user intervention.


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
On Behalf Of Rutherford, Marc
Sent: Monday, March 04, 2013 3:50 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

John,

If this is one-time manual transfer I would suggest you use ftp. 

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
On Behalf Of Israel, John R.
Sent: Monday, March 04, 2013 12:37 PM
To: U2 Users List
Subject: [U2] VOC Pointer

I need to copy PDFs from a Windows server into a UNIX dir (where UniData lives).

Can I map a VOC pointer?

Other thoughts?

Running HPUX, UniData 7.2.1.


John
___
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
___
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


Re: [U2] VOC Pointer

2013-03-04 Thread John Thompson
If you already have samba on HP-UX, then, and you want to pursue the samba
route.

You can mount a windows share on the HP-UX machine.

I know how to do this in Linux and could post a decent how-to, BUT, I have
never done it in HP-UX.

Found a random blog entry here:
http://www.blog.rogersit.net/hp-ux-cifs-mount-windows-share/2012/03/27/


On Mon, Mar 4, 2013 at 4:18 PM, Wjhonson wjhon...@aol.com wrote:

 ftp can be used without user intervention
 thats how we do it, in several nightly runs for various processes







 -Original Message-
 From: Israel, John R. johnisr...@daytonsuperior.com
 To: U2 Users List u2-users@listserver.u2ug.org
 Sent: Mon, Mar 4, 2013 12:57 pm
 Subject: Re: [U2] VOC Pointer


 Nightly background run every night.  It has to work w/o user intervention.


 JRI

 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org]
 On Behalf Of Rutherford, Marc
 Sent: Monday, March 04, 2013 3:50 PM
 To: U2 Users List
 Subject: Re: [U2] VOC Pointer

 John,

 If this is one-time manual transfer I would suggest you use ftp.

 Marc Rutherford
 Principal Programmer Analyst
 Advanced Bionics LLC
 661) 362 1754


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org]
 On Behalf Of Israel, John R.
 Sent: Monday, March 04, 2013 12:37 PM
 To: U2 Users List
 Subject: [U2] VOC Pointer

 I need to copy PDFs from a Windows server into a UNIX dir (where UniData
 lives).

 Can I map a VOC pointer?

 Other thoughts?

 Running HPUX, UniData 7.2.1.


 John
 ___
 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
 ___
 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




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


Re: [U2] VOC Pointer

2013-03-04 Thread Rutherford, Marc
So --- you want to a Unix process to drive a script (Remote Procedure Call) 
which would run on Windows;  the RPC would gather the required files from 
elsewhere in the Windows world a copy them to the share folder?

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R.
Sent: Monday, March 04, 2013 1:12 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

I have done things from Window to UNIX with Samba before.  As you say, we do it 
all the time.

The issue I have is I need my Unix box to grab the data from Windows and copy 
it from Windows to Unix.  The copy needs to be run from Unix, not Windows.  
THAT is the problem I am having.  Mapping a network drive in Windows will be 
great from Windows, but will not solve the problem of issuing the command from 
Unix (unless I am completely missing the point).


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Monday, March 04, 2013 4:06 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

If copying from the windows server to the HP-UX machine...
If you use the samba method... you would need:

1) Samba installed on HP-UX server running Unidata
2) Setup a share to share a directory on HP-UX
3) Map the network drive on the Windows Server
4) Just do a standard windows copy from one drive letter to the other

That being said, my steps above are grossly over-simplified
If you have never done a samba install on HP-UX and configuration before, this 
could take you several days/weeks.

If its a one time deal, then the previous posters idea of ftp, is so much 
easier.

Its been a number of years, since I put samba on HP-UX.
If you can find a package that utilizes swinstall (sam) somewhere out on the 
web, it might make your life easier.





On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R.  
johnisr...@daytonsuperior.com wrote:

 We have used Samba other ways, but I have never actually tried to copy 
 from Windows to Unix.

 What would the syntax be to copy?


 Thanks


 JRI


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Monday, March 04, 2013 3:45 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] VOC Pointer

 On 04/03/13 20:36, Israel, John R. wrote:
  I need to copy PDFs from a Windows server into a UNIX dir (where 
  UniData
 lives).
 
  Can I map a VOC pointer?

 Can the unix machine see a windows share? You MAY be able to put a 
 network path in field 2 of a voc entry, but by default, if UD 
 recognises a network path it'll probably refuse to access it.

 And is copying PDFs (binary files) using the UD command line a good idea?
 
  Other thoughts?

 Put samba on the HPUX box, share your HPUX directory, and copy the 
 pdfs from Windows to nix.

 Or if you need to do it from the nix end, share your Windows directory 
 and use smbmount (probably part of samba, I'm not quite sure what's 
 happened to
 it) to make the windows share look like a nix directory where you can 
 use nix commands to copy.
 
  Running HPUX, UniData 7.2.1.
 
  John
 
 Cheers,
 Wol
 ___
 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




--
John Thompson
___
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
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] VOC Pointer

2013-03-04 Thread Wjhonson
Hang on Kee Mo Sa Be.
I thought you wanted to map a VOC pointer ?
That implies you want to run this from *inside* U2... not from Unix, but rather 
from BASIC ?

 

 

 

-Original Message-
From: Rutherford, Marc marc.rutherf...@advancedbionics.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Mon, Mar 4, 2013 1:24 pm
Subject: Re: [U2] VOC Pointer


So --- you want to a Unix process to drive a script (Remote Procedure Call) 
which would run on Windows;  the RPC would gather the required files from 
elsewhere in the Windows world a copy them to the share folder?

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
On Behalf Of Israel, John R.
Sent: Monday, March 04, 2013 1:12 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

I have done things from Window to UNIX with Samba before.  As you say, we do it 
all the time.

The issue I have is I need my Unix box to grab the data from Windows and copy 
it 
from Windows to Unix.  The copy needs to be run from Unix, not Windows.  THAT 
is 
the problem I am having.  Mapping a network drive in Windows will be great from 
Windows, but will not solve the problem of issuing the command from Unix 
(unless 
I am completely missing the point).


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
On Behalf Of John Thompson
Sent: Monday, March 04, 2013 4:06 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

If copying from the windows server to the HP-UX machine...
If you use the samba method... you would need:

1) Samba installed on HP-UX server running Unidata
2) Setup a share to share a directory on HP-UX
3) Map the network drive on the Windows Server
4) Just do a standard windows copy from one drive letter to the other

That being said, my steps above are grossly over-simplified
If you have never done a samba install on HP-UX and configuration before, this 
could take you several days/weeks.

If its a one time deal, then the previous posters idea of ftp, is so much 
easier.

Its been a number of years, since I put samba on HP-UX.
If you can find a package that utilizes swinstall (sam) somewhere out on the 
web, it might make your life easier.





On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R.  
johnisr...@daytonsuperior.com 
wrote:

 We have used Samba other ways, but I have never actually tried to copy 
 from Windows to Unix.

 What would the syntax be to copy?


 Thanks


 JRI


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Monday, March 04, 2013 3:45 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] VOC Pointer

 On 04/03/13 20:36, Israel, John R. wrote:
  I need to copy PDFs from a Windows server into a UNIX dir (where 
  UniData
 lives).
 
  Can I map a VOC pointer?

 Can the unix machine see a windows share? You MAY be able to put a 
 network path in field 2 of a voc entry, but by default, if UD 
 recognises a network path it'll probably refuse to access it.

 And is copying PDFs (binary files) using the UD command line a good idea?
 
  Other thoughts?

 Put samba on the HPUX box, share your HPUX directory, and copy the 
 pdfs from Windows to nix.

 Or if you need to do it from the nix end, share your Windows directory 
 and use smbmount (probably part of samba, I'm not quite sure what's 
 happened to
 it) to make the windows share look like a nix directory where you can 
 use nix commands to copy.
 
  Running HPUX, UniData 7.2.1.
 
  John
 
 Cheers,
 Wol
 ___
 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




--
John Thompson
___
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
___
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


Re: [U2] VOC Pointer

2013-03-04 Thread Israel, John R.
Let me give a full picture.

I have a program on our Unix box running UniData.  This program processes a 
BUNCH of nightly stuff including the launching of our PDF invoices which are 
built on a Windows server (I have no control of that).  When the job finishes, 
one of the things I need to do is verify that the PDFs were in fact created and 
then send them out to a 3rd party source to be printed, stuffed and mailed.  I 
thought it would be easier to copy the PDFs back to a temp folder on the Unix 
box, tar them and send them to the 3rd party processing company.

I understand that I could have a job on the Windows box do this part, but then 
I would need some mechanism to fire off the script on the WIndows box.  Then, 
when the Windows script is done, it would need some way to fire off/release the 
continuation of the tasks on the Unix box.  Timing is important here.

It may seem clumsy to pull the PDFs back on the Unix box, but I was trying to 
keep all the control in one place and not try to chain things between 
difference boxes and hope I got my timings right.  Fewer points of failure and 
no real timing issues.

STOP LAUGHING AT ME!


JRI


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rutherford, Marc
Sent: Monday, March 04, 2013 4:24 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

So --- you want to a Unix process to drive a script (Remote Procedure Call) 
which would run on Windows;  the RPC would gather the required files from 
elsewhere in the Windows world a copy them to the share folder?

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R.
Sent: Monday, March 04, 2013 1:12 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

I have done things from Window to UNIX with Samba before.  As you say, we do it 
all the time.

The issue I have is I need my Unix box to grab the data from Windows and copy 
it from Windows to Unix.  The copy needs to be run from Unix, not Windows.  
THAT is the problem I am having.  Mapping a network drive in Windows will be 
great from Windows, but will not solve the problem of issuing the command from 
Unix (unless I am completely missing the point).


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Monday, March 04, 2013 4:06 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

If copying from the windows server to the HP-UX machine...
If you use the samba method... you would need:

1) Samba installed on HP-UX server running Unidata
2) Setup a share to share a directory on HP-UX
3) Map the network drive on the Windows Server
4) Just do a standard windows copy from one drive letter to the other

That being said, my steps above are grossly over-simplified
If you have never done a samba install on HP-UX and configuration before, this 
could take you several days/weeks.

If its a one time deal, then the previous posters idea of ftp, is so much 
easier.

Its been a number of years, since I put samba on HP-UX.
If you can find a package that utilizes swinstall (sam) somewhere out on the 
web, it might make your life easier.





On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R.  
johnisr...@daytonsuperior.com wrote:

 We have used Samba other ways, but I have never actually tried to copy 
 from Windows to Unix.

 What would the syntax be to copy?


 Thanks


 JRI


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Monday, March 04, 2013 3:45 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] VOC Pointer

 On 04/03/13 20:36, Israel, John R. wrote:
  I need to copy PDFs from a Windows server into a UNIX dir (where 
  UniData
 lives).
 
  Can I map a VOC pointer?

 Can the unix machine see a windows share? You MAY be able to put a 
 network path in field 2 of a voc entry, but by default, if UD 
 recognises a network path it'll probably refuse to access it.

 And is copying PDFs (binary files) using the UD command line a good idea?
 
  Other thoughts?

 Put samba on the HPUX box, share your HPUX directory, and copy the 
 pdfs from Windows to nix.

 Or if you need to do it from the nix end, share your Windows directory 
 and use smbmount (probably part of samba, I'm not quite sure what's 
 happened to
 it) to make the windows share look like a nix directory where you can 
 use nix commands to copy.
 
  Running HPUX, UniData 7.2.1.
 
  John
 
 Cheers,
 Wol
 ___
 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

Re: [U2] VOC Pointer

2013-03-04 Thread Israel, John R.
From a basic pgm, yes, but I can run UNIX commands as needed.

I might be off course here.

See E-mail from a minute ago for a full picture.

JRI


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Wjhonson
Sent: Monday, March 04, 2013 4:32 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] VOC Pointer

Hang on Kee Mo Sa Be.
I thought you wanted to map a VOC pointer ?
That implies you want to run this from *inside* U2... not from Unix, but rather 
from BASIC ?

 

 

 

-Original Message-
From: Rutherford, Marc marc.rutherf...@advancedbionics.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Mon, Mar 4, 2013 1:24 pm
Subject: Re: [U2] VOC Pointer


So --- you want to a Unix process to drive a script (Remote Procedure Call) 
which would run on Windows;  the RPC would gather the required files from 
elsewhere in the Windows world a copy them to the share folder?

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org]
On Behalf Of Israel, John R.
Sent: Monday, March 04, 2013 1:12 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

I have done things from Window to UNIX with Samba before.  As you say, we do it 
all the time.

The issue I have is I need my Unix box to grab the data from Windows and copy 
it from Windows to Unix.  The copy needs to be run from Unix, not Windows.  
THAT is the problem I am having.  Mapping a network drive in Windows will be 
great from Windows, but will not solve the problem of issuing the command from 
Unix (unless I am completely missing the point).


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org]
On Behalf Of John Thompson
Sent: Monday, March 04, 2013 4:06 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

If copying from the windows server to the HP-UX machine...
If you use the samba method... you would need:

1) Samba installed on HP-UX server running Unidata
2) Setup a share to share a directory on HP-UX
3) Map the network drive on the Windows Server
4) Just do a standard windows copy from one drive letter to the other

That being said, my steps above are grossly over-simplified
If you have never done a samba install on HP-UX and configuration before, this 
could take you several days/weeks.

If its a one time deal, then the previous posters idea of ftp, is so much 
easier.

Its been a number of years, since I put samba on HP-UX.
If you can find a package that utilizes swinstall (sam) somewhere out on the 
web, it might make your life easier.





On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R.  
johnisr...@daytonsuperior.com 
wrote:

 We have used Samba other ways, but I have never actually tried to copy 
 from Windows to Unix.

 What would the syntax be to copy?


 Thanks


 JRI


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Monday, March 04, 2013 3:45 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] VOC Pointer

 On 04/03/13 20:36, Israel, John R. wrote:
  I need to copy PDFs from a Windows server into a UNIX dir (where 
  UniData
 lives).
 
  Can I map a VOC pointer?

 Can the unix machine see a windows share? You MAY be able to put a 
 network path in field 2 of a voc entry, but by default, if UD 
 recognises a network path it'll probably refuse to access it.

 And is copying PDFs (binary files) using the UD command line a good idea?
 
  Other thoughts?

 Put samba on the HPUX box, share your HPUX directory, and copy the 
 pdfs from Windows to nix.

 Or if you need to do it from the nix end, share your Windows directory 
 and use smbmount (probably part of samba, I'm not quite sure what's 
 happened to
 it) to make the windows share look like a nix directory where you can 
 use nix commands to copy.
 
  Running HPUX, UniData 7.2.1.
 
  John
 
 Cheers,
 Wol
 ___
 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




--
John Thompson
___
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
___
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

Re: [U2] VOC Pointer

2013-03-04 Thread Wjhonson
You can create a script, which runs in Unidata/Unix, that simply ftp's into a 
directory and copies *everything* sitting there.
And this can be done automatically without user intervention.


 

 

 

-Original Message-
From: Israel, John R. johnisr...@daytonsuperior.com
To: U2 Users List u2-users@listserver.u2ug.org
Sent: Mon, Mar 4, 2013 1:36 pm
Subject: Re: [U2] VOC Pointer


Let me give a full picture.

I have a program on our Unix box running UniData.  This program processes a 
BUNCH of nightly stuff including the launching of our PDF invoices which are 
built on a Windows server (I have no control of that).  When the job finishes, 
one of the things I need to do is verify that the PDFs were in fact created and 
then send them out to a 3rd party source to be printed, stuffed and mailed.  I 
thought it would be easier to copy the PDFs back to a temp folder on the Unix 
box, tar them and send them to the 3rd party processing company.

I understand that I could have a job on the Windows box do this part, but then 
I 
would need some mechanism to fire off the script on the WIndows box.  Then, 
when 
the Windows script is done, it would need some way to fire off/release the 
continuation of the tasks on the Unix box.  Timing is important here.

It may seem clumsy to pull the PDFs back on the Unix box, but I was trying to 
keep all the control in one place and not try to chain things between 
difference 
boxes and hope I got my timings right.  Fewer points of failure and no real 
timing issues.

STOP LAUGHING AT ME!


JRI


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
On Behalf Of Rutherford, Marc
Sent: Monday, March 04, 2013 4:24 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

So --- you want to a Unix process to drive a script (Remote Procedure Call) 
which would run on Windows;  the RPC would gather the required files from 
elsewhere in the Windows world a copy them to the share folder?

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
On Behalf Of Israel, John R.
Sent: Monday, March 04, 2013 1:12 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

I have done things from Window to UNIX with Samba before.  As you say, we do it 
all the time.

The issue I have is I need my Unix box to grab the data from Windows and copy 
it 
from Windows to Unix.  The copy needs to be run from Unix, not Windows.  THAT 
is 
the problem I am having.  Mapping a network drive in Windows will be great from 
Windows, but will not solve the problem of issuing the command from Unix 
(unless 
I am completely missing the point).


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] 
On Behalf Of John Thompson
Sent: Monday, March 04, 2013 4:06 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

If copying from the windows server to the HP-UX machine...
If you use the samba method... you would need:

1) Samba installed on HP-UX server running Unidata
2) Setup a share to share a directory on HP-UX
3) Map the network drive on the Windows Server
4) Just do a standard windows copy from one drive letter to the other

That being said, my steps above are grossly over-simplified
If you have never done a samba install on HP-UX and configuration before, this 
could take you several days/weeks.

If its a one time deal, then the previous posters idea of ftp, is so much 
easier.

Its been a number of years, since I put samba on HP-UX.
If you can find a package that utilizes swinstall (sam) somewhere out on the 
web, it might make your life easier.





On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R.  
johnisr...@daytonsuperior.com 
wrote:

 We have used Samba other ways, but I have never actually tried to copy 
 from Windows to Unix.

 What would the syntax be to copy?


 Thanks


 JRI


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Monday, March 04, 2013 3:45 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] VOC Pointer

 On 04/03/13 20:36, Israel, John R. wrote:
  I need to copy PDFs from a Windows server into a UNIX dir (where 
  UniData
 lives).
 
  Can I map a VOC pointer?

 Can the unix machine see a windows share? You MAY be able to put a 
 network path in field 2 of a voc entry, but by default, if UD 
 recognises a network path it'll probably refuse to access it.

 And is copying PDFs (binary files) using the UD command line a good idea?
 
  Other thoughts?

 Put samba on the HPUX box, share your HPUX directory, and copy the 
 pdfs from Windows to nix.

 Or if you need to do it from the nix end, share your Windows directory 
 and use smbmount (probably part of samba, I'm not quite sure what's 
 happened to
 it) to make

Re: [U2] VOC Pointer

2013-03-04 Thread Tony Gravagno
 From: Israel, John R. 
 I need to copy PDFs from a Windows server into a UNIX dir (where
 UniData lives). Can I map a VOC pointer? Other thoughts?
 Running HPUX, UniData 7.2.1.

I'm not as familiar with internals in UV/UD as with other platforms so
this may not apply - and I'm eager to understand exactly how these
systems Do work in this regard...

If you create a Voc pointer and use Copy, I believe the DBMS would
pull data through the virtual machine, drawing it into the DBMS from
the source, applying EOL/AM conversions, then writing it back out to
the target with similar character translation. That can be hugely
painful.

On other platforms that have a virtual machine environment (blob),
overflow frames, etc, that would also mean pulling lots of frames from
overflow and then just releasing them. Again, a major performance
issue at the time of operation, and a source of rapid overflow
fragmentation if done too often.

I agree with the suggestions by others to use FTP, etc, and for the
reason stated here I would strongly discourage using DBMS verbs for
OS-level file transfers.

Now, can someone familiar with UV and UD internals confirm or correct
that?

Thanks.
T

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


Re: [U2] VOC Pointer

2013-03-04 Thread Rutherford, Marc
If I better understand your process I suggest:

Create a Unidata directory file:   CREATE-FILE DIR filename

Share that resulting Unix directory as per suggestions with samba.

Map a windows drive to said directory.

---  Have the pdf-create process write the pdf files directly to the share 
drive.

Presto: the pdf are in the Unix directory.  They are visible as record IDs by 
listing the Unidata DIR filename.   

Since they are already in a Unix directory go ahead and do you tar magic...

If you want to read them directly into UNIBASIC I would open the DIR file with 
a OPENSEQ for best performance.

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R.
Sent: Monday, March 04, 2013 1:36 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

Let me give a full picture.

I have a program on our Unix box running UniData.  This program processes a 
BUNCH of nightly stuff including the launching of our PDF invoices which are 
built on a Windows server (I have no control of that).  When the job finishes, 
one of the things I need to do is verify that the PDFs were in fact created and 
then send them out to a 3rd party source to be printed, stuffed and mailed.  I 
thought it would be easier to copy the PDFs back to a temp folder on the Unix 
box, tar them and send them to the 3rd party processing company.

I understand that I could have a job on the Windows box do this part, but then 
I would need some mechanism to fire off the script on the WIndows box.  Then, 
when the Windows script is done, it would need some way to fire off/release the 
continuation of the tasks on the Unix box.  Timing is important here.

It may seem clumsy to pull the PDFs back on the Unix box, but I was trying to 
keep all the control in one place and not try to chain things between 
difference boxes and hope I got my timings right.  Fewer points of failure and 
no real timing issues.

STOP LAUGHING AT ME!


JRI


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Rutherford, Marc
Sent: Monday, March 04, 2013 4:24 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

So --- you want to a Unix process to drive a script (Remote Procedure Call) 
which would run on Windows;  the RPC would gather the required files from 
elsewhere in the Windows world a copy them to the share folder?

Marc Rutherford
Principal Programmer Analyst
Advanced Bionics LLC
661) 362 1754


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R.
Sent: Monday, March 04, 2013 1:12 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

I have done things from Window to UNIX with Samba before.  As you say, we do it 
all the time.

The issue I have is I need my Unix box to grab the data from Windows and copy 
it from Windows to Unix.  The copy needs to be run from Unix, not Windows.  
THAT is the problem I am having.  Mapping a network drive in Windows will be 
great from Windows, but will not solve the problem of issuing the command from 
Unix (unless I am completely missing the point).


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Monday, March 04, 2013 4:06 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

If copying from the windows server to the HP-UX machine...
If you use the samba method... you would need:

1) Samba installed on HP-UX server running Unidata
2) Setup a share to share a directory on HP-UX
3) Map the network drive on the Windows Server
4) Just do a standard windows copy from one drive letter to the other

That being said, my steps above are grossly over-simplified
If you have never done a samba install on HP-UX and configuration before, this 
could take you several days/weeks.

If its a one time deal, then the previous posters idea of ftp, is so much 
easier.

Its been a number of years, since I put samba on HP-UX.
If you can find a package that utilizes swinstall (sam) somewhere out on the 
web, it might make your life easier.





On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R.  
johnisr...@daytonsuperior.com wrote:

 We have used Samba other ways, but I have never actually tried to copy 
 from Windows to Unix.

 What would the syntax be to copy?


 Thanks


 JRI


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Monday, March 04, 2013 3:45 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] VOC Pointer

 On 04/03/13 20:36, Israel, John R. wrote:
  I need to copy PDFs from a Windows server into a UNIX dir (where 
  UniData
 lives).
 
  Can I map a VOC pointer?

 Can the unix machine see a windows

Re: [U2] VOC Pointer

2013-03-04 Thread Wols Lists
On 04/03/13 21:11, Israel, John R. wrote:
 I have done things from Window to UNIX with Samba before.  As you say, we do 
 it all the time.
 
 The issue I have is I need my Unix box to grab the data from Windows and copy 
 it from Windows to Unix.  The copy needs to be run from Unix, not Windows.  
 THAT is the problem I am having.  Mapping a network drive in Windows will be 
 great from Windows, but will not solve the problem of issuing the command 
 from Unix (unless I am completely missing the point).

mount -t cifs //windows/share /mnt/windowsdrive -o user=username -o
pass=password

This will enable you to copy from the unix box. You'll need to hunt up
what you need to install to get the -t cifs option but it should come
with samba - man mount.cifs.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] VOC Pointer

2013-03-04 Thread Peter Cheney
How about using scp with public/private key authentication running from a unix 
cron to scp from the windows host to a dir on the unix host? Requires ssh 
installed on both hosts.

I've also installed Cygwin on a windows host in the past and used that for the 
ssh/scp component as you get a nice unix flavour when you ssh in remotely.

Alternatively as someone has already said try using smbmount to mount a windows 
share on a unix dir and use unix cp or mv. Requires samba installed on your 
HPUX host and that install must have the smbmount (or equivalent) utility.

You could also use ftp to fetch the files from the windows server. Requires ftp 
server installed on windows host.

All the above could be driven from within a UD/UV basic program.

HTH
Peter


-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R.
Sent: Tuesday, 5 March 2013 7:12
To: U2 Users List
Subject: Re: [U2] VOC Pointer

I have done things from Window to UNIX with Samba before.  As you say, we do it 
all the time.

The issue I have is I need my Unix box to grab the data from Windows and copy 
it from Windows to Unix.  The copy needs to be run from Unix, not Windows.  
THAT is the problem I am having.  Mapping a network drive in Windows will be 
great from Windows, but will not solve the problem of issuing the command from 
Unix (unless I am completely missing the point).


JRI

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of John Thompson
Sent: Monday, March 04, 2013 4:06 PM
To: U2 Users List
Subject: Re: [U2] VOC Pointer

If copying from the windows server to the HP-UX machine...
If you use the samba method... you would need:

1) Samba installed on HP-UX server running Unidata
2) Setup a share to share a directory on HP-UX
3) Map the network drive on the Windows Server
4) Just do a standard windows copy from one drive letter to the other

That being said, my steps above are grossly over-simplified
If you have never done a samba install on HP-UX and configuration before, this 
could take you several days/weeks.

If its a one time deal, then the previous posters idea of ftp, is so much 
easier.

Its been a number of years, since I put samba on HP-UX.
If you can find a package that utilizes swinstall (sam) somewhere out on the 
web, it might make your life easier.





On Mon, Mar 4, 2013 at 3:55 PM, Israel, John R.  
johnisr...@daytonsuperior.com wrote:

 We have used Samba other ways, but I have never actually tried to copy 
 from Windows to Unix.

 What would the syntax be to copy?


 Thanks


 JRI


 -Original Message-
 From: u2-users-boun...@listserver.u2ug.org [mailto:
 u2-users-boun...@listserver.u2ug.org] On Behalf Of Wols Lists
 Sent: Monday, March 04, 2013 3:45 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] VOC Pointer

 On 04/03/13 20:36, Israel, John R. wrote:
  I need to copy PDFs from a Windows server into a UNIX dir (where 
  UniData
 lives).
 
  Can I map a VOC pointer?

 Can the unix machine see a windows share? You MAY be able to put a 
 network path in field 2 of a voc entry, but by default, if UD 
 recognises a network path it'll probably refuse to access it.

 And is copying PDFs (binary files) using the UD command line a good idea?
 
  Other thoughts?

 Put samba on the HPUX box, share your HPUX directory, and copy the 
 pdfs from Windows to nix.

 Or if you need to do it from the nix end, share your Windows directory 
 and use smbmount (probably part of samba, I'm not quite sure what's 
 happened to
 it) to make the windows share look like a nix directory where you can 
 use nix commands to copy.
 
  Running HPUX, UniData 7.2.1.
 
  John
 
 Cheers,
 Wol
 ___
 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




--
John Thompson
___
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

 ---
Note: 
This email (inc all attachments) is for the use of the intended recipient(s) 
only.
Privileged or confidential information may be contained in this communication. 
If you have received this email in error, please notify the sender immediately 
and then delete all copies of this message from your computer network. If you 
are not the intended recipient, you must not keep, use, disclose, copy or 
distribute this email without the author's prior permission. If you

Re: [U2] VOC Pointer [SECURITY=UNCLASSIFIED]

2013-03-04 Thread HENDERSON MIKE, MR
Or, instead of SAMBA on the HP-UX system, you could have an NFS share on
the Windows box - Windows Server 2008 has Microsoft NFS Services for
Windows and there are several freeware / shareware / commercial NFS
clients for Windows.

Lots of ways to skin this particular cat

-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Peter Cheney
Sent: Tuesday, 5 March 2013 11:51 a.m.
To: U2 Users List
Subject: Re: [U2] VOC Pointer

How about using scp with public/private key authentication running from
a unix cron to scp from the windows host to a dir on the unix host?
Requires ssh installed on both hosts.

I've also installed Cygwin on a windows host in the past and used that
for the ssh/scp component as you get a nice unix flavour when you ssh in
remotely.

Alternatively as someone has already said try using smbmount to mount a
windows share on a unix dir and use unix cp or mv. Requires samba
installed on your HPUX host and that install must have the smbmount (or
equivalent) utility.

You could also use ftp to fetch the files from the windows server.
Requires ftp server installed on windows host.

All the above could be driven from within a UD/UV basic program.

HTH
Peter

[snip]
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] VOC pointer replaced

2005-12-06 Thread Herve Balestrieri
Open a session in UNIX shell. Then :

$ cd ACCOUNT_DIRECTORY
$ `cat /.uvhome`/bin/UVwrite VOC VOC F VOC D_VOC

... For your customized NEWACC file, you could do, when logged in UNIX as
the UniVerse Administrator :

$ cd `cat /.uvhome`
$ `cat /.uvhome`/bin/UVdelete NEWACC/NEWACC VOC

Hope this will help

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


RE: [U2] VOC pointer replaced

2005-12-06 Thread Keith W. Roberts
You got several ways to fix it, but noone mentioned that you should replace
the offending item in NEWACC as well (or it'll mess up every account you
update).

In U2, VOC is *always* the real file; MD is the synonym for Pick
compatibility.

-Keith

Original Message
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill_H
Sent: Monday, December 05, 2005 4:11 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] VOC pointer replaced

 I was working on upgrading an account to the most recent version of
 UniVerse PE.  When coping a list of custom VOC items, from a custom
 NEWAC file, to the local VOC (with an overwrite) it happened one of
 the item IDs was VOC, which was a Pick synonym for the (MD):
 
 001 Q
 .
 .
 009 L
 010 12
 
 It seems now I continually get the message:
 LU
 
 These are the UniVerse users presently sharing the system.
 
 uid  User No  User Name Terminal No Login Time
   0 2820  NT AUTHORITY\system   uvdlock:2820
 Nov 25 17:49
 * 0 5508  ASIBILL\wphaskett telnet:5508
 Dec 5 10:56
 
 There are currently 2 users logged on the system.
 CT VOC VOC
 Can not open the VOC file
 LISTF
 Can not open the VOC file
 
 Is there a way I can modify the VOC item back.  I can still see the
 file exists in Windows Explorer.
 
 Any help would be appreciated.  :-)
 
 Bill
 ---
 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] VOC pointer replaced

2005-12-06 Thread Bill_H
Thanks to all who replied.

Bruce: ED gets the same response
  Welcome to the IBM UniVerse Telnet Server.
  Enter user name: wphaskett
  Enter password:
  Account name or path(DTA):DTAWEB
  UniVerse Command Language 10.1
  (c) Copyright IBM Corporation 2003. All rights reserved.
  DTAWEB logged on: Tue Dec 06 11:35:04 2005
  
  Unable to open your 'VOC' file.
  ED VOC VOC
  Unable to open VOC file.
  

Ray:  A; the ticket.  :-)  SETFILE VOC VOC OVERWRITING.

John:  Of course, I should have thought of that.

Wouldn't one think it appropriate to disallow altering file pointers, unless
explicitly requested via an option of ED or something else?  Oh well, live
and learn and be careful.

Bill Haskett
Advantos Systems, Inc.
www.advantos.net 
(760)944-5570 (CA)
(360)923-4838 (WA)
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Nichol
 Sent: Monday, December 05, 2005 5:34 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] VOC pointer replaced
 
 Goo'day, Bill,
 
 At 16:10 05/12/05 -0800, you wrote:
 
 I was working on upgrading an account to the most recent version of 
 UniVerse PE.  When coping a list of custom VOC items, from a custom 
 NEWAC file, to the local VOC (with an overwrite) it happened 
 one of the 
 item IDs was VOC, which was a Pick synonym for the (MD):
 
 001 Q
 .
 .
 009 L
 010 12
 
 It seems now I continually get the message:
  LU
 
 These are the UniVerse users presently sharing the system.
 
  uid  User No  User Name Terminal No 
  Login Time
0 2820  NT AUTHORITY\system   uvdlock:2820
  Nov 25 17:49
 * 0 5508  ASIBILL\wphaskett telnet:5508  
 Dec 5 10:56
 
 There are currently 2 users logged on the system.
  CT VOC VOC
 Can not open the VOC file
  LISTF
 Can not open the VOC file
 
 Is there a way I can modify the VOC item back.  I can 
 still see the 
 file exists in Windows Explorer.
 
 Does this help?
 
  CT VOC VOC
 
   VOC
 0001 F
 0002 VOC
 0003 D_VOC
  
 
 Any help would be appreciated.  :-)
 
 Use ED?
 
 
 Bill
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
 
 
 --
 No virus found in this incoming message.
 Checked by AVG Anti-Virus.
 Version: 7.1.371 / Virus Database: 267.13.12/192 - Release Date: 
 05/12/05
 
 Regards,
 
 Bruce Nichol
 Talon Computer Services
 ALBURYNSW 2640
 Australia
 
 http://www.taloncs.com.au
 
 Tel: +61 (0)411149636
 Fax: +61 (0)260232119
 
 If it ain't broke, fix it till it is! 
 
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.1.371 / Virus Database: 267.13.12/192 - Release 
 Date: 05/12/05
 ---
 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] VOC pointer replaced

2005-12-05 Thread Bill_H
I was working on upgrading an account to the most recent version of UniVerse
PE.  When coping a list of custom VOC items, from a custom NEWAC file, to
the local VOC (with an overwrite) it happened one of the item IDs was VOC,
which was a Pick synonym for the (MD):

001 Q
.
.
009 L
010 12

It seems now I continually get the message:
LU

These are the UniVerse users presently sharing the system.

uid  User No  User Name Terminal No  Login Time
  0 2820  NT AUTHORITY\system   uvdlock:2820 Nov 25 17:49
* 0 5508  ASIBILL\wphaskett telnet:5508  Dec 5 10:56

There are currently 2 users logged on the system.
CT VOC VOC
Can not open the VOC file
LISTF
Can not open the VOC file

Is there a way I can modify the VOC item back.  I can still see the file
exists in Windows Explorer.

Any help would be appreciated.  :-)

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


Re: [U2] VOC pointer replaced

2005-12-05 Thread Bruce Nichol

Goo'day, Bill,

At 16:10 05/12/05 -0800, you wrote:


I was working on upgrading an account to the most recent version of UniVerse
PE.  When coping a list of custom VOC items, from a custom NEWAC file, to
the local VOC (with an overwrite) it happened one of the item IDs was VOC,
which was a Pick synonym for the (MD):

001 Q
.
.
009 L
010 12

It seems now I continually get the message:
LU

These are the UniVerse users presently sharing the system.

uid  User No  User Name Terminal No  Login Time
  0 2820  NT AUTHORITY\system   uvdlock:2820 Nov 25 17:49
* 0 5508  ASIBILL\wphaskett telnet:5508  Dec 5 10:56

There are currently 2 users logged on the system.
CT VOC VOC
Can not open the VOC file
LISTF
Can not open the VOC file

Is there a way I can modify the VOC item back.  I can still see the file
exists in Windows Explorer.


Does this help?

CT VOC VOC

 VOC
0001 F
0002 VOC
0003 D_VOC



Any help would be appreciated.  :-)


Use ED?



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



--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.13.12/192 - Release Date: 05/12/05


Regards,

Bruce Nichol
Talon Computer Services
ALBURYNSW 2640
Australia

http://www.taloncs.com.au

Tel: +61 (0)411149636
Fax: +61 (0)260232119

If it ain't broke, fix it till it is! 



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.371 / Virus Database: 267.13.12/192 - Release Date: 05/12/05
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] VOC pointer replaced

2005-12-05 Thread Bob Woodward
Do you still have the MD entry that you can use?  If not, log into
another account (like UV) set a temporary file pointer and edit it that
way.

BobW
 
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill_H
Sent: Monday, December 05, 2005 4:11 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] VOC pointer replaced

I was working on upgrading an account to the most recent version of
UniVerse
PE.  When coping a list of custom VOC items, from a custom NEWAC file,
to
the local VOC (with an overwrite) it happened one of the item IDs was
VOC,
which was a Pick synonym for the (MD):

001 Q
.
.
009 L
010 12

It seems now I continually get the message:
LU

These are the UniVerse users presently sharing the system.

uid  User No  User Name Terminal No  Login Time
  0 2820  NT AUTHORITY\system   uvdlock:2820 Nov 25
17:49
* 0 5508  ASIBILL\wphaskett telnet:5508  Dec 5 10:56

There are currently 2 users logged on the system.
CT VOC VOC
Can not open the VOC file
LISTF
Can not open the VOC file

Is there a way I can modify the VOC item back.  I can still see the
file
exists in Windows Explorer.

Any help would be appreciated.  :-)

Bill
---
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] VOC pointer replaced

2005-12-05 Thread John Hester

Bill_H wrote:

Is there a way I can modify the VOC item back.  I can still see the file
exists in Windows Explorer.


You should be able to create a VOC pointer in another account, or the UV 
master account, that is a type F and points to the VOC file with the 
overwritten VOC entry:


001: F
002: path\to\bad\VOC
003: path\to\bad\D_VOC

then:

ED BAD.VOC VOC

and replace it with

001: F
002: VOC
003: D_VOC

-John
--
John Hester
System  Network Administrator
Momentum Group Inc.
(949) 833-8886 x623
http://memosamples.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Voc pointer not working

2005-07-12 Thread John Jenkins
SET.INDEX filename path

Please watch copying files at the O.S level if they could be in use. On
UniVerse please use SUSPEND.FILES ON / OFF and on UniData dbpause /
dbresume.

Of course you could just stop the database...

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


RE: [U2] Voc pointer not working (fwd)

2005-07-11 Thread Brian Leach
 Marilyn Hilb wrote:
 The trigger here seems to be files that have I_ folders on them, 
 Index Map?.

As Karl stated, the index file location is hard coded into the file header.
You can amend this using the SET.INDEX command. This can either reset the
index path to the local location OR clear the index path so you can rebuild.

Copying files with indices attached is one of those gotchas that frequently
messes up systems, particularly if someone wants to make a test account on
the same machine and ends up with test files accessing live indices.

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


RE: [U2] Voc pointer not working (fwd)

2005-07-11 Thread Marilyn Hilb
Thanks To Karl and Brian. I thought it was something like this. 

Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

 -Original Message-
From:   Brian Leach [mailto:[EMAIL PROTECTED] 
Sent:   Monday, July 11, 2005 3:02 AM
To: u2-users@listserver.u2ug.org
Subject:RE: [U2] Voc pointer not working (fwd)

 Marilyn Hilb wrote:
 The trigger here seems to be files that have I_ folders on them, 
 Index Map?.

As Karl stated, the index file location is hard coded into the file header.
You can amend this using the SET.INDEX command. This can either reset the
index path to the local location OR clear the index path so you can rebuild.

Copying files with indices attached is one of those gotchas that frequently
messes up systems, particularly if someone wants to make a test account on
the same machine and ends up with test files accessing live indices.

Brian
---
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] Voc pointer not working (fwd)

2005-07-11 Thread Marilyn Hilb
I am not certain that this is the problem here after looking at this. SET.INDEX 
filename INFORM. Is returning the right path in all cases but when I am on the 
different machine.

The messages being returned do show the correct path. The only odd thing is the 
forward slash before the INDEX.MAP. 

I am aware there are two different levels of indexes in play here. SB+ and 
Universe. Which level is the I_ ?

TEST ACCOUNT: LIST fails when pointing to the test account

CT VOC SM.ORDERS   
 SM.ORDERS  
0001 F  
0002 \\VPIMP2\MP6VPITEST\SM.ORDERS  
0003 E:\CADTEST\D_SM.ORDERS 

LIST.INDEX SM.ORDERS ALL   
Program LIST.INDEX: pc = 3E0, Unable to open index map g:\mp6vpitest\I_SM.ORD
ERS/INDEX.MAP for read/write,Unable to open SM.ORDERS.   

SET.INDEX SM.ORDERS INFORM 
Program SET.INDEX: pc = CD6, Unable to open index map g:\mp6vpitest\I_SM.ORDE
RS/INDEX.MAP for read/write,File SM.ORDERS has no secondary indices.   
Header incorrectly contains path indicating indices should exist!   
(g:\mp6vpitest\I_SM.ORDERS) 

   



LIVE ACCOUNT: - LIST works fine when voc is pointing to the live account. 

CT VOC SM.ORDERS  
 SM.ORDERS 
0001 F 
0002 \\VPIMP2\MP6VPI\SM.ORDERS 
0003 E:\CADTEST\D_SM.ORDERS   
 
SET.INDEX SM.ORDERS INFORM
File SM.ORDERS has no secondary indices.   
Header incorrectly contains path indicating indices should exist!  
(H:\MP6VPI\I_SM.ORDERS)
   
LIST.INDEX SM.ORDERS ALL  
File SM.ORDERS has no indices.   
  


Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

 -Original Message-
From:   Brian Leach [mailto:[EMAIL PROTECTED] 
Sent:   Monday, July 11, 2005 3:02 AM
To: u2-users@listserver.u2ug.org
Subject:RE: [U2] Voc pointer not working (fwd)

 Marilyn Hilb wrote:
 The trigger here seems to be files that have I_ folders on them, 
 Index Map?.

As Karl stated, the index file location is hard coded into the file header.
You can amend this using the SET.INDEX command. This can either reset the
index path to the local location OR clear the index path so you can rebuild.

Copying files with indices attached is one of those gotchas that frequently
messes up systems, particularly if someone wants to make a test account on
the same machine and ends up with test files accessing live indices.

Brian
---
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] Voc pointer not working (fwd)

2005-07-11 Thread Mark Eastwood
SET.INDEX TO NULL

Mark
Annapolis, MD

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Taylor
Sent: Monday, July 11, 2005 1:46 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Voc pointer not working (fwd)

The I_ files are Universe indexes.  It seems like the you don't have
indexes on the file on Live, but the header still believes that you have
them.  I would use the SET-INDEX command to clear the path from the
header.  The exact syntax escapes me at the moment, but online help
should
give you that.
tp://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Voc pointer not working (fwd)

2005-07-11 Thread Marilyn Hilb
Thanks for the response Rich. I figured I was only looking at Universe index at 
this level, just wanted to be sure. You never know where SB+ puts its little 
goodies. 

There are Universe level indexes on this file in both live and test. LIST.INDEX 
filename ALL when run in the account properly shows them, and SET.INDEX INFORM 
shows the proper pathing when in the accounts. Besides.. this is {apparently} 
happening on every file with an Index, not just this one file.

I am not 'too' concerned about this as I can see the file in live via this 
pointer which is all I absolutely need to do. I'll only be reading the main 
file, no access to index, no changing data. I did want to give the process a 
good testing through the test account, which it appears I won't be able to do. 

We are of course concerned that we don't have index crossing over the live and 
test account on the same box. But all the commands {suggested here} I have run 
tell me that they are fine. That the process we run when we copy over the 
account is correct. 

Ps. Seems Mr. Bill Gates needs to get pathing into his dictionary :) 

Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com

 -Original Message-
From:   Richard Taylor [mailto:[EMAIL PROTECTED] 
Sent:   Monday, July 11, 2005 3:46 PM
To: u2-users@listserver.u2ug.org
Subject:RE: [U2] Voc pointer not working (fwd)

The I_ files are Universe indexes.  It seems like the you don't have
indexes on the file on Live, but the header still believes that you have
them.  I would use the SET-INDEX command to clear the path from the
header.  The exact syntax escapes me at the moment, but online help should
give you that.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Voc pointer not working

2005-07-10 Thread Marilyn Hilb
Hi all. I have a question and hopefully I'll give you all the info you need to 
answer.

Universe 9.4 SB+ 3.4.0 I don't know if SB+ comes into play on this.  NT

We make a copy of our live account every so often. When doing this we use NT to 
make the copy and then run it through a universe process so that Universe knows 
about the account. All works just fine, we have been doing this for years.

What I just am now doing is creating a VOC pointer on a different machine (our 
testing machine which happens to be w2k) and pointing over to Universe files in 
the copied account. The pointer works fine on some files and not so fine on 
other. It works fine on all files in the Live account, it is the copy of the 
account it doesn't work in.

The trigger here seems to be files that have I_ folders on them, Index Map?.

We are of the mind that when we copy the account over, some pointer is not 
being re-set in these files/index maps. That we are failing to run a routine 
when we first copy the account.

This voc pointer works fine on the original 'live' account and fine on files in 
the test account that don't have this I-folder. 

We checked permissions, sharing and all those goodies. Don't see any reason 
there for this. And again, it works on (apparently) all files without the 
I-xx and doesn't work on all files with one. 

What are we missing?

CT VOC SM.ORDERS   

 SM.ORDERS  
0001 F  
0002 \\MACHINENAME\ACCOUNTTEST\SM.ORDERS
  
0003 E:\OTHERTEST\D_SM.ORDERS   
  
LIST SM.ORDERS 
Unable to open index map g:\accounttest\I_SM.ORDERS/INDEX.MAP for 
read/write,Un
able to open SM.ORDERS file.  
   


Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Voc pointer not working

2005-07-10 Thread Karl L. Pearson

Marilyn Hilb wrote:


Hi all. I have a question and hopefully I'll give you all the info you need to 
answer.

Universe 9.4 SB+ 3.4.0 I don't know if SB+ comes into play on this.  NT

We make a copy of our live account every so often. When doing this we use NT to 
make the copy and then run it through a universe process so that Universe knows 
about the account. All works just fine, we have been doing this for years.

What I just am now doing is creating a VOC pointer on a different machine (our 
testing machine which happens to be w2k) and pointing over to Universe files in 
the copied account. The pointer works fine on some files and not so fine on 
other. It works fine on all files in the Live account, it is the copy of the 
account it doesn't work in.

The trigger here seems to be files that have I_ folders on them, Index Map?.

 



A Ha. You are seeing Indexes, which have the absolute path hard-coded in 
the file header. Those can't be copied by non-uniVerse processes without 
them appearing to be corrupted. There are no VOC pointers to those files 
in a 'real' account; only the header of the file to which each index 
belongs.


If you wish to see whether the indexes are working on the copy, try this 
command:


LIST.INDEX FILENAME ALL

in the VOC of the copy account.

HTH

Karl


We are of the mind that when we copy the account over, some pointer is not 
being re-set in these files/index maps. That we are failing to run a routine 
when we first copy the account.

This voc pointer works fine on the original 'live' account and fine on files in the test account that don't have this I-folder. 

We checked permissions, sharing and all those goodies. Don't see any reason there for this. And again, it works on (apparently) all files without the I-xx and doesn't work on all files with one. 


What are we missing?

 

CT VOC SM.ORDERS   
   

   
SM.ORDERS  
0001 F  
0002 \\MACHINENAME\ACCOUNTTEST\SM.ORDERS  
0003 E:\OTHERTEST\D_SM.ORDERS 
 

LIST SM.ORDERS 
   


Unable to open index map g:\accounttest\I_SM.ORDERS/INDEX.MAP for 
read/write,Un
able to open SM.ORDERS file.  
 

 
   




Thanks,

Marilyn A. Hilb 
Value Part, Inc

Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.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] Voc pointer not working (fwd)

2005-07-10 Thread Karl L Pearson
Marilyn Hilb wrote:

Hi all. I have a question and hopefully I'll give you all the info you
need to answer.

Universe 9.4 SB+ 3.4.0 I don't know if SB+ comes into play on this.  NT

We make a copy of our live account every so often. When doing this we use
NT to make the copy and then run it through a universe process so that
Universe knows about the account. All works just fine, we have been doing
this for years.

What I just am now doing is creating a VOC pointer on a different machine
(our testing machine which happens to be w2k) and pointing over to
Universe files in the copied account. The pointer works fine on some
files and not so fine on other. It works fine on all files in the Live
account, it is the copy of the account it doesn't work in.

The trigger here seems to be files that have I_ folders on them,
Index Map?.

  


A Ha. You are seeing Indexes, which have the absolute path hard-coded in
the file header. Those can't be copied by non-uniVerse processes without
them appearing to be corrupted. There are no VOC pointers to those files
in a 'real' account; only the header of the file to which each index
belongs.

If you wish to see whether the indexes are working on the copy, try this
command:

LIST.INDEX FILENAME ALL

in the VOC of the copy account.

HTH

Karl

We are of the mind that when we copy the account over, some pointer is
not being re-set in these files/index maps. That we are failing to run a
routine when we first copy the account.

This voc pointer works fine on the original 'live' account and fine on
files in the test account that don't have this I-folder.

We checked permissions, sharing and all those goodies. Don't see any
reason there for this. And again, it works on (apparently) all files
without the I-xx and doesn't work on all files with one.

What are we missing?

  

CT VOC SM.ORDERS


   
  
 SM.ORDERS
0001 F 
 
0002 \\MACHINENAME\ACCOUNTTEST\SM.ORDERS   
   
0003 E:\OTHERTEST\D_SM.ORDERS  
   
  

LIST SM.ORDERS
 


Unable to open index map g:\accounttest\I_SM.ORDERS/INDEX.MAP for 
read/write,Un
able to open SM.ORDERS file. 
 
  

  




Thanks,

Marilyn A. Hilb 
Value Part, Inc
Direct: 847-918-6099
Fax: 847-367-1892
[EMAIL PROTECTED]
www.valuepart.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] Voc pointer not working

2005-07-10 Thread Moderator

All,
   Please watch the overquoting. Trimming means never having to say you 
blew out my e-mailbox's byte quota.


   - Charles Barouch, Moderator

  Note: If you are reading this on indexfocus, gmane, or any other 
reposting or archiving service, please visit 
http://listserver.u2ug.org/, enter your e-mail address, and 'browse all' 
lists to maintain your access. We look forward to welcoming you to the 
lists.

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