Subject: | |
From: | |
Reply To: | |
Date: | Thu, 14 Oct 1999 12:46:34 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi all,
I need to move a file from the hp3000 979 to a Novell server. I have done
this in the past and have had no problem. This is the first time that I
used variables in the ftp process and it dose not seem to work. The file
being transferred is created daily and has the creation date in the file
name. The following is a portion of the job stream or in session mode has
the same results:
...
:SETVAR _YEAR RHT ('00' + '!HPYEAR' , 2)
:SETVAR _MONTH RHT ('00' + '!HPMONTH', 2)
:SETVAR _DAY RHT ('00' + '!HPDATE' , 2)
:showvar _@
_YEAR = 99
_MONTH = 10
_DAY = 14
:COPY CUST001,CU!_YEAR!_MONTH!_DAY
:FTP
File Transfer Protocol [A0008S33] (C) Hewlett-Packard Co. 1990
ftp> .....
230 Successful Login
ftp> pwd
257 "file://mp/prod/custserv/order_re/" is current directory.
ftp> type ascii
200 Type set to A.
ftp> put CU!_YEAR!_MONTH!_DAY
NONEXISTENT PERMANENT FILE (FSERR 52)
Data Transfer Request Failed. (FTPERR 13)
NONEXISTENT PERMANENT FILE (FSERR 52)
ftp> put CU991014
200 PORT command okay.
150 Opening data connection for CU991014 (192.168.1.1,50481).
226 Transfer complete.
30960 bytes sent in 0.00 seconds (15117.19 Kbytes/sec)
Is the variables not working because I am in a program? Is there a way to
do define the file name in the jobstream for the ftp process to work?
Thanks for any help you may provide.
Abraham Zwygart
Anodizing Inc.
Senior Programmer Analysts Email: [log in to unmask]
The thoughts, comments, and opinions expressed herein are mine
and do not reflect those of my employer(s), or anyone else.
|
|
|