[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
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
Re: [U2] VOC Pointer
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Re: [U2] VOC Pointer
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
Re: [U2] VOC Pointer
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 the
Re: [U2] VOC Pointer
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
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
[U2] WRITESEQ and input buffer
We seem to be running up against a size limitation using WRITESEQ since increasing shared memory parameters on Friday. (SHM_GPAGESZ, SHM_LMINENTS, SHM_LCINENTS) I'm looking at ADMINNT.pdf, trying to determine if EXPBLKSIZE relates specifically to the input buffer that WRITESEQ uses. Suggestions? TIA, Amy ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] VOC Pointer
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] WRITESEQ and input buffer
Can you describe the issue you're seeing more specifically? -Original Message- From: Cook, Amy amy_c...@k2sports.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Mon, Mar 4, 2013 2:10 pm Subject: [U2] WRITESEQ and input buffer We seem to be running up against a size limitation using WRITESEQ since increasing shared memory parameters on Friday. (SHM_GPAGESZ, SHM_LMINENTS, SHM_LCINENTS) I'm looking at ADMINNT.pdf, trying to determine if EXPBLKSIZE relates specifically to the input buffer that WRITESEQ uses. Suggestions? TIA, Amy ___ 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] WRITESEQ and input buffer
On 04/03/13 22:08, Cook, Amy wrote: We seem to be running up against a size limitation using WRITESEQ since increasing shared memory parameters on Friday. (SHM_GPAGESZ, SHM_LMINENTS, SHM_LCINENTS) I'm looking at ADMINNT.pdf, trying to determine if EXPBLKSIZE relates specifically to the input buffer that WRITESEQ uses. Please please please DO NOT REPEAT DO NOT hit reply to someone else's mail and change the subject. Start a new email. The reason for this is that any decent email client will track what message replies to what, and your new message will get hidden inside a totally unrelated thread. (a) that can be very annoying (I hate it), and (b) it makes your messages a nightmare to track down if someone wants to find them later. Which could hurt you if they've suddenly thought of an answer for you ... Cheers, Wol ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
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 -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 are the
Re: [U2] VOC Pointer [SECURITY=UNCLASSIFIED]
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