Subject: | |
From: | |
Reply To: | |
Date: | Wed, 19 Jan 2000 05:50:09 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I wrote a program 10 years ago that will autosense what terminal emulator
you are using, prompt for file names and initiate the file transfer for
you. It's in COBOL, and I probably published it in one of my columns at
some point, but if anyone is interested let me know and I will send you a
copy.
Jim Phillips <[log in to unmask]> on 01/18/2000 11:09:57 AM
Please respond to Jim Phillips <[log in to unmask]>
To: [log in to unmask]
cc: (bcc: Shawn Gordon/IS/FHM/FHS)
Subject: Re: PC File Transfer
john edwards <[log in to unmask]> writes:
> The users prepare files on their PC's and transfer
> them to the 3k using relections file transfer. They
> then stream a job to process the files. The job
> expects the files to be in a special group with a
> standard naming convention. There is a menu program
> that allows them to drop into MPE for the transfer and
> to stream the job.
> I hate this.
>
> What I would like is:
> 1) transfer the PC data into a temporary file of a
> specific name.
> 2) run the programs on line to process the temporary
> file.
>
> Running the programs on line is no problems, but how
> can I control the destination file name and location?
>
> Any suggestions greatfully received.
>
We use Minisoft MS92 to do exactly th same thing. In fact our files come
from handheld bar code scanners that are uploaded to the PC and then
uploaded to the HP. What we do is to invoke the MS92 script language that
performs all the PC file renames (the file is originally uploaded to the PC
in a known file name and subdirectory), HP file equates, and the actual
file
transfer. We also have one user who uploads CSV files from Excel (they
come
from the customer like that, Wirt!) which we load into the data base using
a
COBOL program. In this case, the file is different each time. We prompt
the user for the fully-qualified file name (on the PC) and upload it to a
known file name on the HP. Of course, in this case, we hold the data in a
temporary data set (for user review) before committing the data to the HP.
I know this doesn't help you if you don't have MS92, but you should be able
to do the same type of things with Reflection.
PS to Wirt: This is the kind of functionality we will need in QCTerm as
well.
Jim Phillips Manager of Information Systems
E-Mail: [log in to unmask] Therm-O-Link, Inc.
Phone: (330) 527-2124 P. O. Box 285
Fax: (330) 527-2123 Garrettsville, Ohio 44231
|
|
|