HP OpenVMS Systems

ask the wizard
Content starts here

Foreign File Syntax and FTP?

» close window

The Question is:

FTP PUT problem
I have a problem perform a file rename in an FTP PUT statement.  I works fine
 if I leave off the (+1) auto increment specifier. Is there a way I can format
 this command to accept the (+1) required by our IBM host?
$ ftp
connect IBMHOST
220-FTPD1 IBM FTP CS V2R10 at CNCPMVS, 12:04:50 on 2004-06-21.
220 Connection will close if idle for more than 10 minutes.
Connected to
login ZZNVB
331 Send password please.
230 ZZNVB is logged on.  Working directory is "ZZNVB.".
200 Representation type is Image
put CRDATA.20-06 'BRSP.HG.OTC001.COLLECTR(+1)'
%CLI-F-PARMDEL, invalid parameter delimiter - check use of special characters
%DCL-W-SKPDAT, image data (records not beginning with "$") ignored

The Answer is :

  Assuming this is TCP/IP Services, the usual approach is to quote
  the foreign-file-syntax string.
    FTP> put login.com "login.tmp"
  Please contact the support center, as details of the TCP/IP Services
  version and ECO leve, as well as the commands used, will be of used.
  With OpenVMS V6.2 and later and an appropriate version of TCP/IP
  Services, you can also use COPY/FTP at the DCL prompt.  This DCL
  command allows symbol substitution and other useful advantages
  over the FTP utility and its prompting environment.

answer written or last revised on ( 21-JUN-2004 )

» close window