HP3000-L Archives

December 1997, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Paul H. Christidis" <[log in to unmask]>
Reply To:
Date:
Wed, 3 Dec 1997 13:57:37 PST8
Content-Type:
text/plain
Parts/Attachments:
text/plain (63 lines)
Pat,

One way to avoid the overhead of invoking 'ftp' over and over is to use
MPEXs 'runcreate', 'runinput' and 'runactivate' commands.

Regards

Paul H. Christidis


______________________________ Reply Separator _________________________________
Subject: ftp burden of performance -Reply
Author:  Pat Shugart <[log in to unmask]> at CCGATE
Date:    12/03/97 12:49


One thing we've done when we want to shoot a bunch of files to
another machine is to initiate the GET on the 3k and use MPEX as the
looping mechanism.

For example:
!JOB MOVEIT,(*USER).?(*ACCT); INPRI=5; OUTCLASS=LP,2
!
!RUN MAIN.PUB.VESOFT,MPEX
  REPEAT
    ECHO !HPACCOUNT MMAED00J Transferring ![RFILE.FILE] to Angel.
    COMMENT Command file with ftp login info
    TOANGEL.JCL !MPEXCURRENTFILE ![RFILE.FILE].TXS
    IF !FTPLASTERR = 0 THEN
      ECHO !HPACCOUNT MMAED00J ![RFILE.FILE] sent to Angel.
      ECHO !HPACCOUNT MMAED00J Purging ![RFILE.FILE].
      PURGE !MPEXCURRENTFILE
    ELSE
      TELLOP !HPACCOUNT MMAED00J Send failed for file ![RFILE.FILE]!!
      SETJCW JCW FATAL
      :EOJ
    ENDIF
  FORFILES /!HPACCOUNT/TOANGEL/@
  EXIT
!ECHO !HPACCOUNT Daily file transfers complete!
!
!EOJ

The drawback is that ftp is invoked for each file. I don't know if ftp can
utilize indirect files for a "bulk transfer" or not. This may not be the
efficiency you were looking for, but definitely will provide an audit trail.

HTH,

Pat Shugart
Oaksoft Consulting, Inc.
(248) 489-6565

>>> <[log in to unmask]> 12/03/97 03:19pm >>>
I want to move a few thousand relatively small source files (25KB
average) from an NT server to our 3Ks. I know that I should compress
them into one big file so they take less time to transfer, but part of the
reasoning is that by doing this in a job stream, I have a 'paper trail' for the
auditors. Other than this paper trail, is there any advantage to initiating
the get from the 3K? Asked differently, what is the most efficient way of
ftping all of the files in a list of directories from the NT server to the 3K?
Or does it not much matter?

ATOM RSS1 RSS2