It's going to depend on your ftp client software. Using the standard ftp
client on Linux, there is an "nmap" command to map the input name to an
output name. A transcript that I just did looks like:

220 Connection will close if idle for more than 50 minutes.
331 Send password please.
230-You have successfully logged on to the LIH1 ftp server.
230 AAA is logged on.  Working directory is "AAA.".
quote site noasa
200 SITE command was accepted
Remote system type is MVS.
ftp> cd pds.cntl
250 The working directory "AAA.PDS.CNTL" is a partitioned data set
ftp> prompt
Interactive mode off.
ftp> nmap $1 $1.txt
ftp> mget i*
local: IEFBR14.txt remote: IEFBR14
227 Entering Passive Mode (10,170,30,10,65,195)
125 Sending data set AAA.PDS.CNTL(IEFBR14) FIXrecfm 80
250 Transfer completed successfully.
138 bytes received in 0.0173 secs (7.96 Kbytes/sec)
local: INDD1.txt remote: INDD1
227 Entering Passive Mode (10,170,30,10,65,196)
125 Sending data set AAA.PDS.CNTL(INDD1) FIXrecfm 80
250 Transfer completed successfully.
62 bytes received in 0.0196 secs (3.16 Kbytes/sec)
local: INDD2.txt remote: INDD2
227 Entering Passive Mode (10,170,30,10,65,197)
125 Sending data set AAA.PDS.CNTL(INDD2) FIXrecfm 80
250 Transfer completed successfully.
68 bytes received in 0.0195 secs (3.49 Kbytes/sec)
local: INITPDS.txt remote: INITPDS
227 Entering Passive Mode (10,170,30,10,65,198)
125 Sending data set AAA.PDS.CNTL(INITPDS) FIXrecfm 80
250 Transfer completed successfully.
150 bytes received in 0.0168 secs (8.95 Kbytes/sec)
local: INSTALL.txt remote: INSTALL
227 Entering Passive Mode (10,170,30,10,65,199)
125 Sending data set AAA.PDS.CNTL(INSTALL) FIXrecfm 80
250 Transfer completed successfully.
396 bytes received in 0.0378 secs (10.49 Kbytes/sec)
local: IODFA2.txt remote: IODFA2
227 Entering Passive Mode (10,170,30,10,65,200)
125 Sending data set AAA.PDS.CNTL(IODFA2) FIXrecfm 80
250 Transfer completed successfully.
20523 bytes received in 0.0319 secs (642.73 Kbytes/sec)
local: IPLZIP.txt remote: IPLZIP
227 Entering Passive Mode (10,170,30,10,65,201)
125 Sending data set AAA.PDS.CNTL(IPLZIP) FIXrecfm 80
WARNING! 146574 bare linefeeds received in ASCII mode
File may not have transferred correctly.
250 Transfer completed successfully.
19684979 bytes received in 1.39 secs (14140.59 Kbytes/sec)
ftp>

I don't see any command like "nmap" when I use the normal ftp client on my
Windows 7 machine. Sorry, but Windows is not really very advanced, IMO.


On Wed, Jan 28, 2015 at 12:54 PM, J O Skip Robinson <
[email protected]> wrote:

> I'm trying to pull an entire PDS to work station. FTP MGET seems the way
> to go, but my first effort yielded files with just the member name as file
> name. I want member.txt so that I can look at them conveniently. Can't get
> anything to work. Last try was this. Each operand is surrounded by blanks.
>
> ftp> mget -i *.* *.txt
> No members found.
> ** is not preceded or followed by a period or blank.
> ** is not preceded or followed by a period or blank.
> 200 Representation type is Ascii NonPrint
> Cannot find list of remote files.
>
> .
> .
> .
> J.O.Skip Robinson
> Southern California Edison Company
> Electric Dragon Team Paddler
> SHARE MVS Program Co-Manager
> 626-302-7535 Office
> 323-715-0595 Mobile
> [email protected]<mailto:[email protected]>
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
He's about as useful as a wax frying pan.

10 to the 12th power microphones = 1 Megaphone

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to