Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP to a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
crazyf1

New User


Joined: 05 May 2006
Posts: 27

PostPosted: Tue May 09, 2006 12:24 pm    Post subject: FTP to a PDS
Reply with quote

I am trying to put members in a PDS. I am always getting an error when i execute multiple batch files; however, it works when i excute 1 at a time.

Is there a way/parameter to send different files executed all at the same time that will update a PDS(different member)

The error..
Code:

200 Port request OK.
---> STOR 'tsgp.pds.jason.work.doclib(one)'
125 Storing data set TSGP.PDS.JASON.WORK.DOCLIB(ONE)
550 Open of TSGP.PDS.JASON.WORK.DOCLIB(ONE) failed.
ftp: 1872 bytes sent in 0.00Seconds 1872000.00Kbytes/sec.
ftp> bye
---> QUIT
221 Quit command received. Goodbye.



Thanks as always.
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Tue May 09, 2006 1:39 pm    Post subject: Re: FTP to a PDS
Reply with quote

HI,

Is it possible to ftp multiple files?

Regards
Rupesh
Back to top
View user's profile Send private message
crazyf1

New User


Joined: 05 May 2006
Posts: 27

PostPosted: Tue May 09, 2006 1:49 pm    Post subject:
Reply with quote

yes. although i am doing it via batch files.

ex. ftp1.bat will send and add member tsgp.pds.jason.work(one)
ftp2.bat will send and add member tsgp.pds.jason.work(two)
ftp3.bat will send and add member tsgp.pds.jason.work(three)

however, encountering an error.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue May 09, 2006 6:04 pm    Post subject: Re: FTP to a PDS
Reply with quote

If they're all going into the same PDS, wouldn't it be easier to just put all of the members with a single mput command?
Back to top
View user's profile Send private message
crazyf1

New User


Joined: 05 May 2006
Posts: 27

PostPosted: Tue May 09, 2006 6:27 pm    Post subject:
Reply with quote

yes. but this files are not from 1 source; meaning it may go into 1 pds, but files will be given by different apps(and there may be a time that it will occur the same time) so mput would not be advisable in this scenario. and they need to be invoked individually since they create a specific member that would let the mainframe know what to do.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:



Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us