Great minds think alike! Solved a similar problem much the same way,
except I used only one EXEC. 

IIRC, FTP can be done by stuffing commands to a dataset, invoking FTP,
then looking at the output results. That is, first stuff a DIR command,
then parse the output translating into individual GET commands and
stuffing into the next commands file, then invoking FTP again. 

HTH and good luck. 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of McKown, John
Sent: Thursday, October 20, 2005 10:34 AM
To: [email protected]
Subject: Re: MGETing PC files with 2 nodes



I consider the following to be "simple". I do an ftp step which does a
"dir" to list the file names. The output is put into a MVS dataset. The
second step is a REXX program to parse the data in the MVS dataset,
creating ftp "get" commands. The third step is to use those commands to
actually get the members of the PDS.

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to