Hi RAT :)
Hey... I was trying to remember what and how we handled this back at
Denkor... Tim Ericson also did a bunch of this type stuff... The "files"
have to reside in the same name space which the disc;save will do if I
remember correctly... been a while since I did that stuff :) and we all
know about my memory! hehehe
Art "remembering requires sleep right?" Bahrs
=======================================================
Art Bahrs, CISSP Information Security The Regence Group
(503) 225-4992 Cell 971-224-2459 FAX (503)
220-3806
"Rich Trapp"
<Rich.Trapp@MB
SHOME.COM> To
Sent by: [log in to unmask]
"HP-3000 cc
Systems
Discussion" Subject
<HP3000-L@RAVE Re: [HP3000-L] Redirect commands
N.UTC.EDU>
09/07/2006
07:24 AM
Please respond
to
"Rich Trapp"
<Rich.Trapp@MB
SHOME.COM>
|------------|
| [ ] Secure |
| E-mail |
|------------|
Friedrich,
I think the problem is that the ECHO commands are writing to a TEMP file
and are not using the FILE Equation you specify. Try modifying the file
equation and the Echo:
!file ftpXFER=ftpXFER;msg;DEV=DISC;SAVE
and add a back reference to force teh ECHO's to use the file equation:
!ECHO :print ftpbuy1 > *ftpXFER >> FTPLIST
Good luck.
RAT
Rich Trapp
Technical Solutions Architect
Managed Business Solutions
970.494.4980
http://www.mbshome.com
CONFIDENTIALITY NOTICE: The information in this email and subsequent
attachments is intended solely for the person or entity to which it is
addressed and may contain confidential and/or privileged information. Any
review, dissemination, copying, printing or other use of this e-mail by
persons or entities other than the addressee is prohibited. If you have
received this e-mail in error, please contact the sender immediately and
delete the material from your computer.
________________________________
From: HP-3000 Systems Discussion on behalf of Friedrich Harasleben
Sent: Thu 9/7/2006 7:49 AM
To: [log in to unmask]
Subject: Redirect commands
Hi
does anyone know how to overcomes this:
I want to gather information on files in different subdirectories, which
have to be retrieved via FTP.
I would like to get all of their names first into msg file.
I tried something like below, but
!ECHO :print ftpbuy1 > ftpXFER >> FTPLIST
turn out to be a problem in the job, if done manually (without redirection
it works).
any idea how to use several rederictions in one commandling.
thankx
friedrich
!JOB FTPTEST, MGR.OEKVT
!file ftpXFER=ftpXFER;msg
!ECHO open !crs_xfer_srv > FTPLIST
!ECHO USER xxxxxx >> FTPLIST
!ECHO yyyyyyy >> FTPLIST
!ECHO EXITONERROR >> FTPLIST
!ECHO cd /users/files/OKPARAG >> FTPLIST
!ECHO ls P* ftpbuy1 >> FTPLIST
!ECHO :print ftpbuy1 > ftpXFER >> FTPLIST
!ECHO cd /users/files/OKPARAG >> FTPLIST
!ECHO ls B* ftpbuy1 >> FTPLIST
!ECHO :print ftpbuy1 >> ftpXFER >> FTPLIST
!ECHO exit >> FTPLIST
!run ftp.arpa.sys < ftplist
!print ftpxfer
!eoj
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
***IMPORTANT NOTICE: This communication, including any attachment, contains information that may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message is strictly prohibited. Nothing in this email, including any attachment, is intended to be a legally binding signature.***
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|