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

Need help regarding FTP


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nileshp

New User


Joined: 25 Feb 2006
Posts: 31

PostPosted: Thu May 17, 2007 6:14 pm
Reply with quote

Hi,
Can anyone tell me the meaning of the following step.
In the control card which is the Userid & Password.
What is DNS Name.

Code:

//FTPSTEP1  EXEC PGM=FTP,COND=(0,NE,IDCAMS01),               
//          REGION=2048K,PARM='AAA.BBBBBB.CCC (EXIT'       
//SYSDUMP   DD SYSOUT=*                                       
//SYSPRINT  DD SYSOUT=*                                       
//OUTPUT    DD SYSOUT=*                                       
//INPUT     DD DSN=MM.PROD.UTILLIB(UDFTP1E1),DISP=SHR   


---------------------------------------------------------------
MM.PROD.UTILLIB(UDFTP1E1)

Code:

ddddd eeeeee                                                       
mode s                                                               
put 'xx.xxxxxx.xxxxx.xxxxx.MW(0)' LGNP.SMR.XPX0000.ACEI.INPUT01 
quit   



Thanks & Regards
Nilesh
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Thu May 17, 2007 6:24 pm
Reply with quote

nileshp wrote:
In the control card which is the Userid & Password.

ddddd is the Userid
eeeeee is the Password

nileshp wrote:

What is DNS Name.

The Domain Name System (DNS) is the method by which Internet addresses in mnemonic form such as sunc.scit.wlv.ac.uk. are converted into the equivalent numeric IP address such as 134.220.4.1. To the user and application process this translation is a service provided either by the local host or from a remote host via the Internet.
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Thu May 17, 2007 6:27 pm
Reply with quote

By the way, I think that coding a userid and password in a control library member is a very poor practice from a security standpoint.

Also, I think coding a put statement for a GDG:

put 'xx.xxxxxx.xxxxx.xxxxx.MW(0)'

is also bad practice.
Back to top
View user's profile Send private message
nileshp

New User


Joined: 25 Feb 2006
Posts: 31

PostPosted: Thu May 17, 2007 6:29 pm
Reply with quote

Thanks for information.
But I want to put FTPed file into particular folder.
For that what changes I need to do in control card?
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu May 17, 2007 6:37 pm
Reply with quote

Quote:
FTPed file into particular folder.


do a change directory command before PUT command
Code:
cd foldername
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 -> All Other Mainframe Topics

 


Search our Forums:

Back to Top