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

FTP to a PDS


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
crazyf1

New User


Joined: 05 May 2006
Posts: 26

PostPosted: Tue May 09, 2006 12:24 pm
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: 463

PostPosted: Tue May 09, 2006 1:39 pm
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: 26

PostPosted: Tue May 09, 2006 1:49 pm
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

Global Moderator


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

PostPosted: Tue May 09, 2006 6:04 pm
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: 26

PostPosted: Tue May 09, 2006 6:27 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Search our Forums:

Back to Top