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
 

 

Need help regarding FTP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Need help regarding FTP
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

Moderator Team Head


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

PostPosted: Thu May 17, 2007 6:24 pm    Post subject: Re: Need help regarding FTP
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

Moderator Team Head


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

PostPosted: Thu May 17, 2007 6:27 pm    Post subject: Re: Need help regarding FTP
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    Post subject: Re: Need help regarding FTP
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics 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