Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: passing a variable for CD in ftp script from RPG CL  (Read 3029 times)

0 Members and 1 Guest are viewing this topic.

lao

  • Guest
passing a variable for CD in ftp script from RPG CL
« on: August 26, 2008, 02:24:18 PM »
Does anyone know if it is possible to pass a variable from an RPG cl to an FTP script for command CD?

Example:

My path is data_updates so the value of variable &PATH is data_updates.  I want to pass &PATH to the FTP command CD and change the directory to data_updates.  Is this possible and how can I do it?  I have tried and failed.

Thanks in advance