I need to use IND$FILE to transfer a mainframe PDS down to a PC. I can do it member by member, but I'm hoping someone knows how to do it with one command that will load the PDS members into different files on the PC or even one file that can be parsed.
When I try a GET using the (mainframe.library(*)) syntax it does not like the (*) "denoting all members" parameter. Thanks.
You did not provide enough information to say that you're having firewall issues. Did this FTP get initiated from the mainframe or from your PC? From the EDC8128I message, it appears to be started by your mainframe. If this is the case, be aware that FTP must connect to a server. Most desktop PCs do not run the software that would allow them to act as an FTP server. In general, it is not possible (except in very rare circumstances) to FTP from anything to a desktop PC.
That's where I began from (if you see my first post). I tried that using IND$FILE file transfer. I can download one member at a time from the PDS, but I'd like to download the entire PDS with one command. I was hoping that was possible and someone here could give me syntax help.
I was initiating the FTP from a 3270 client on my PC. A 3270 client that was connected to the IP I was trying to FTP from.
This makes absolutely no sense. It does not matter if your 3270 emulator is connected to the mainframe or not. If your are running a batch job on the mainframe to do the FTP, it must connect to a server -- not a desktop PC (not even one running a 3270 emulator).
If you were, indeed, attempting to use FTP on the PC to connect to your mainframe then you do have network issues and need to contact your site support group since they are the only ones who can help you.
Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
It sounds like you are running hard without a direction. . .
Suggest you find the ip address of the ftp service on the mainframe with the pds and make sure you have an id and permissions on that system (if the pds is on shared dasd, there may be other possibilities).
On your pc, open the ftp client and log onto that ftp ip address.
b) Use IND$FILE to download the resulting flatfile to the PC
c) Use "whatever" to parse/process the downloaded flatfile.
Note1: The unloaded flatfile will be RECFM FBA, so column 1 of each record will be a control byte that is NOT part of the unloaded data
Note2: In the flatfile each unloaded member will be preceded by a header ( starting in column 2, of course ) of the form:
Joined: 26 Apr 2004 Posts: 4648 Location: Raleigh, NC, USA
The ISPF option:
7 Transfer Download ISPF Client/Server or Transfer data set
requires that you have the ISPF Workstation Agent (WSA) installed, configured, and running on your workstation. The WSA runs on your local workstation and maintains a connection between the workstation and the ISPF host.
Thanks. I have a request in with the lpar owner, where the PDS is housed, to let me know if I should be using a different IP (the FTP service)or not. If it's the same then I guess we have a firewall issue here. Not allowing a push into our firewall from this site.
f8ful, you have completely and totally missed the point of Kevin's post. If your PC does not have WSA installed on it, there is no firewall issue -- there is no network issue -- there is an issue on your PC.
Actually, PEBKAC applies here very strongly. You're ignoring what you are being told and going off on your little fantasy, where you think there are network issues without any indication of such.