View previous topic :: View next topic
|
Author |
Message |
visa
New User
Joined: 01 Sep 2006 Posts: 2 Location: myore
|
|
|
|
//STEP0020 EXEC PGM=FTP,REGION=4096K PARM='(EXIT=8'
//*
//SYSMDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//INPUT DD *
ipaddress
username
password
PUT 'G54574.vijay.seq' SAG1.MDB
LS
CLOSE
QUIT
/*
//*
mAXCC=0 BUT in output it is saying we must first issue open command
EZA1736I FTP
EZA1450I IBM FTP CS V1R4
EZA1456I Connect to ?
EZA1736I ipaddress
EZA1554I Connecting to: ipaddress port: 31003.
EZA2590E getNextReply error from recv = (1128.769F0442) - EDC8128I Connection re
EZA1475I Connection with ipaddress terminated
EZA1460I Command:
EZA1618I Unknown command: 'username'
EZA1619I For a list of the available commands, say HELP
EZA1460I Command:
EZA1736I password
EZA1618I Unknown command: 'password'
EZA1460I Command:
EZA1736I PUT 'G54574.VIJAY.SEQ' SAG1.MDB 00035014
EZA1457I You must first issue the 'OPEN' command
EZA1460I Command:
EZA1736I QUIT |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Why are you connecing to port 31003? FTP is usually port 21.
EZA1554I Connecting to: ipaddress port: 31003.
Are you sure there's not some bogus data somewhere on your input command stream? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Also, don't you consider putting a userid and password in your JCL like that to be a real security risk? |
|
Back to top |
|
|
visa
New User
Joined: 01 Sep 2006 Posts: 2 Location: myore
|
|
|
|
The Jcl which i posted is a sample one....and that too im new to this mainframe world......so security and other issues i dont know yet....give me more inputs on this...........
no im not giving any port no like 31001..its automatically taking that port no.............when i submitting that job im getting maxcc=0....and when i check sysprint there the above error message is coming..........
In another jcl i have the same step for doing the ftp...this jcl is working fine....so what i did is i just copied ftp step and made a new jcl(which i posted)..and i submitted..........but this is not working..........i dont know what is the error........... |
|
Back to top |
|
|
sushil_ach
New User
Joined: 01 May 2006 Posts: 6
|
|
|
|
First of all u need to open the HOSTNAME , the other JCL works fine because the hostname would have been already opened...
This is the sequence:
ftp> open hostname
ftp>user and password
ftp> binary
ftp> quote site fixrecfm 1024
ftp> put product_id.ptf
ftp> quit
for further information
www.support.storagetek.com/globalnavigation/support/download.htm |
|
Back to top |
|
|
|