Re: PCLINK / ODBC



Michael Caplin wrote:

The need is to move information from the MPE files on SYS C to/from the files on SYS A. At this time there’s an application running on the 3000 that waits for information to show up in certain MSG files. When this happens, it reads the file, writes it to a separate flat file and then runs PCLINK3 (reflection) as a son process to move this file to SYS A. It then pauses and runs PCLINK3 again to get the new file created by the app on SYS A and moves the data in it to the 3000.

Michael,

another possible approach for the file sharing between the Windows system A
and the MPE system C might the use of a Samba file share on the 3000, i.e.
make a dedicated HP 3000 directory available to Windows so that the Windows
machine could map it as a network drive.

The MPE program monitoring the MSG file would then simply move its output
file to the shared directory instead of invoking the PCLINK file transfer.
Windows could pick up the file, perform its processing and place its result
file in the shared directory where your MPE program could see it and pick
it up.

The above approach might help avoiding the overhead associated with many
PCLINK process creations, file transfer socket connections, etc. When you
mount an HP 3000 Samba share as a Windows network drive persistently, the
3000 side will have a single server process and socket connection for it,
which stays alive all the time and will just have to wake up for the file
existence checking or "transfer" operations.

You'd need to test this setup to verify if / how much more efficient it is.

When copying the files to/from the shared directory, the MPE programs
might need to take care for writing binary or bytestream files, as fixed
ASCII format, for example, does not cooperate well with Posix/Samba.

You might also want to not poll for file existance more frequently than
neccessary, as the polling will add overhead. It might be wise to keep
the number of files in the directory as small as possible.

To prevent incomplete files from being picked up by the other side, it
might be good to copy to a "temporary name" (or subdirectory) and then
rename (or move) to the final name expected by the receiving side.

As I said, would need some testing to see if / how much better it works.

Regards, Lars.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

.



Relevant Pages

  • Re: PCLINK / ODBC
    ... make a dedicated HP 3000 directory available to Windows so that the ... The MPE program monitoring the MSG file would then simply move its ... file to the shared directory instead of invoking the PCLINK file ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: PCLINK / ODBC
    ... I agree with Lars suggestion that you go with Samba. ... Windows based EDI software saves inbound files to the e3000. ... The MPE program monitoring the MSG file would then simply move its ... file to the shared directory instead of invoking the PCLINK file ...
    (comp.sys.hp.mpe)
  • Re: burning hard drive to disk
    ... > The problem is that I did a backup of the original Windows ... .SYS files _thereby dislodging the magic boot links_. ... I'd think you would need to make yourself a bootable floppy (with SYS, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Cannot create directory sys or s or sy
    ... You may want to do a Search on your machine for sys, ... Search For Hidden Or System Files In Windows XP ... the cmd prompt. ... Cannot find the specified file. ...
    (microsoft.public.windowsxp.general)
  • Re: Repost 2 Node Home Network Problem
    ... For troubleshooting, you may try to start the computer with clean boot. ... How to run Windows OS with a clean boot · How to Run Windows Safe Mode with Networking · How to setup DHCP for IP Phone How to sort programs in Start ... ... (Also Symantec Network Security Intermediate File Driver, ... Hub Linksys Router w/Cable Modem Attached WORKGROUP ...
    (microsoft.public.windowsxp.network_web)

Loading