HP OpenVMS Systems

ask the wizard
Content starts here

DCL symbol substitution and FTP?

» close window

The Question is:

 
I have a batch DCL command file which has the command to FTP a file to an NT
box.  The location of the file on the NT box changes based on user
selection, by date.  How can I use a symbol or logical in the FTP command.
I have tried it and it never seems
to interpret the logical or symbol (using a CD command to change
directories).  I know I can create and build a .COM file then execute it,
but I thought there would be a simpler way. Any ideas?
 
 


The Answer is :

 
  Use COPY/FTP.
 
  If you wish to pursue DCL symbol substitution when an application,
  not DCL, is reading and processing the input, please see topics
  such as 1495 and 1960.
 

answer written or last revised on ( 7-JAN-2000 )

» close window