IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

TSO IND$FILE from a mainframe PDS to a PC.


IBM Mainframe Forums -> PC Guides & IT News
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 23, 2010 9:07 pm
Reply with quote

Hello,

Quote:
Not allowing a push into our firewall from this site.
If you do this as i suggested, there will be no "push". You would PULL the data from the mainframe.

The only way you could PUSH the data onto your pc with ftp is if your pc was configured as an ftp server not a client. Most organizations do not permit individual pc's to run an ftp server. . .
Back to top
View user's profile Send private message
f8ful

New User


Joined: 02 Nov 2006
Posts: 30

PostPosted: Fri Jul 23, 2010 10:17 pm
Reply with quote

d.sch.

As I said, I have a request in for IP information with the lpar owner. The only way I know to initiate FTP from my PC is through the 3270 client that I have and this would actually be initiating the FTP from the lpar which would constitute the "PUSH". If 3.7 (TSO) is initiating FTP from my PC then I have "no connection".
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jul 23, 2010 10:41 pm
Reply with quote

it always amazes me how much people know,
yet they can't get jack to work.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 23, 2010 10:58 pm
Reply with quote

Hello,

Quote:
The only way I know to initiate FTP from my PC is through the 3270 client that I have
Then it is time to learn more. . . What you know is quite incomplete.

FTP is part of your tcp/ip software. To see this, go to the old command prompt and at the > key ftp and press Enter. You will (should) see ftp> from whence you can run an ftp session "by hand".

Your system most likely has a Windows version of FTP that supports point-and-click. . .

It is possible that your 3270-emulator, ftp, and other features are all part of an overall product, but ftp will run even if the 3270 is not connected.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jul 23, 2010 11:05 pm
Reply with quote

plus, you can obtain the IP address from your emulator.
Back to top
View user's profile Send private message
f8ful

New User


Joined: 02 Nov 2006
Posts: 30

PostPosted: Fri Jul 23, 2010 11:32 pm
Reply with quote

d.sch.

I did try ftp from the old dos command prompt. It gets to the point of asking for my userid and password. Does not balk on the userid, but does not like the password,yet it is the same userid and passsword I use to access the mainframe on that lpar.

I got a response back from the systems group who manages the lpar and they only said they have not been able to accomplish this (FTP) themselves and they directed me back to the IND$FILE transfer process.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 23, 2010 11:42 pm
Reply with quote

Hello,

Then "they" need to fix whatever is wrong. . .

One other way to do what you want is to send the members to yourself as attachments to some e-mails - if they have smtp configured properly. . .

Suggest you run an experiment to see if you can send yourself an e-mail from that system.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sat Jul 24, 2010 12:04 am
Reply with quote

Quote:
I did try ftp from the old dos command prompt. It gets to the point of asking for my userid and password. Does not balk on the userid, but does not like the password,yet it is the same userid and passsword I use to access the mainframe on that lpar.

I got a response back from the systems group who manages the lpar and they only said they have not been able to accomplish this (FTP) themselves and they directed me back to the IND$FILE transfer process.
I ran into a similar situation this week and the problem was the user id did not have an OMVS segment defined (we use RACF) -- which prevents FTP from connecting.
Back to top
View user's profile Send private message
f8ful

New User


Joined: 02 Nov 2006
Posts: 30

PostPosted: Sat Jul 24, 2010 12:24 am
Reply with quote

TANSTAAFL,

I tried the DOS prompt again with a bogus userid. It still did not balk until after the password, so maybe it doesn't like my (valid) userid either.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sat Jul 24, 2010 12:40 am
Reply with quote

Sigh. You just don't pay attention to what you're being told, do you?

The symptoms were:
    the programmer could sign on normally, no problem.
    the programmer attempted to use WS-FTP
    the programmer user id was accepted but after entering the password the programmer sign on was rejected.
    the programmer got the same results when attempting to sign on via command line ftp from the PC.


In other words, the mainframe FTP server balked once the user id AND PASSWORD had been entered, but before any commands were entered. Does any of this sound familiar?

We resolved the programmer problem by defining an OMVS segment via RACF to the user id -- after that, WS-FTP and command line FTP both worked fine.

Contact your site support group for assistance -- only they will be able to work through your issue(s).
Back to top
View user's profile Send private message
f8ful

New User


Joined: 02 Nov 2006
Posts: 30

PostPosted: Sat Jul 24, 2010 12:56 am
Reply with quote

TANSTAAFL

As I mentioned ealier, I contacted site support and they declined or were unable to assist. So those who have the power to alter RACF are not helping.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sat Jul 24, 2010 1:01 am
Reply with quote

Did you ask them if your user id has an OMVS segment? If not, ask them to add one.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jul 24, 2010 1:07 am
Reply with quote

Hello,

This bears repeating. . .

Robert Sample wrote:
We resolved the programmer problem by defining an OMVS segment via RACF to the user id -- after that, WS-FTP and command line FTP both worked fine.


It is most important to read and understand the replies that are posted. . .
Back to top
View user's profile Send private message
f8ful

New User


Joined: 02 Nov 2006
Posts: 30

PostPosted: Tue Jul 27, 2010 4:47 pm
Reply with quote

I forwarded on your idea. "They" are looking at it. "They" have Top Secret rather than RACF.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jul 27, 2010 7:13 pm
Reply with quote

Hello,

Security is security. . . There are 3 main products (racf, acf2, and top secret).

While the mechanics may differ, permissions to "things" and to "do things" are still granted in each product . . .
Back to top
View user's profile Send private message
f8ful

New User


Joined: 02 Nov 2006
Posts: 30

PostPosted: Fri Jul 30, 2010 7:43 pm
Reply with quote

I have been cleared to access the IP where I want to FTP from. AFter I connect I try a GET and it responds back I need MGET for a partitioned dataset. I try MGET and it responds by repeating the DSN I entered followed by a "?". If I just hit enter or respond "yes" it tells me I retreive of a whole partitioned dataset is not possible. Try MGET?

Any thoughts?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 30, 2010 7:50 pm
Reply with quote

When I'm downloading a PDS, I use FTP commands
Code:
cd <pds.name>
prompt
mget *
to turn off prompting for each download.
Back to top
View user's profile Send private message
f8ful

New User


Joined: 02 Nov 2006
Posts: 30

PostPosted: Fri Jul 30, 2010 8:06 pm
Reply with quote

That worked great! Except it sent the members to my "Documents and Settings" folder. How can I direct where the PDS members get loaded?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 30, 2010 8:34 pm
Reply with quote

Code:
lcd <pc directory>
Back to top
View user's profile Send private message
f8ful

New User


Joined: 02 Nov 2006
Posts: 30

PostPosted: Fri Jul 30, 2010 10:52 pm
Reply with quote

Thanks for all your help.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 30, 2010 11:11 pm
Reply with quote

Glad to hear it worked!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PC Guides & IT News Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top