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

In this FTP jcl i'm getting MAXCC=0,but FTPing in not coming


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
visa

New User


Joined: 01 Sep 2006
Posts: 2
Location: myore

PostPosted: Fri Sep 01, 2006 12:34 pm
Reply with quote

//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
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Fri Sep 01, 2006 3:22 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Fri Sep 01, 2006 4:04 pm
Reply with quote

Also, don't you consider putting a userid and password in your JCL like that to be a real security risk?
Back to top
View user's profile Send private message
visa

New User


Joined: 01 Sep 2006
Posts: 2
Location: myore

PostPosted: Fri Sep 01, 2006 4:17 pm
Reply with quote

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
View user's profile Send private message
sushil_ach

New User


Joined: 01 May 2006
Posts: 6

PostPosted: Fri Sep 01, 2006 5:43 pm
Reply with quote

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
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts No sysout coming in spool JCL & VSAM 4
No new posts Expected data is not coming up on Fir... CICS 2
No new posts IEBCOPY - Not replace a existing PDS ... JCL & VSAM 15
No new posts Trap the jcl error message or maxcc i... CLIST & REXX 5
No new posts Retreiving MAXCC of a Job through REXX JCL & VSAM 14
Search our Forums:

Back to Top