Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
In this FTP jcl i'm getting MAXCC=0,but FTPing in not coming

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: In this FTP jcl i'm getting MAXCC=0,but FTPing in not coming
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

Moderator Team Head


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

PostPosted: Fri Sep 01, 2006 3:22 pm    Post subject: Re: In this FTP jcl i'm getting MAXCC=0,but FTPing in not co
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

Moderator Team Head


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

PostPosted: Fri Sep 01, 2006 4:04 pm    Post subject: Re: In this FTP jcl i'm getting MAXCC=0,but FTPing in not co
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    Post subject:
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    Post subject: HI!
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
https://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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Retreiving MAXCC of a Job through REXX prasadchikane JCL & VSAM 14 Tue Feb 18, 2014 4:15 pm
No new posts Issues in FTPing Excel to mainframe d... venkatprasana All Other Mainframe Topics 5 Tue Oct 29, 2013 11:08 am
No new posts IMS DC MFS screen issue, getting Maxc... chandru1980 IMS DB/DC 1 Fri Feb 01, 2013 8:02 pm
No new posts need help on SAS, new line is coming ... sushidas IBM Tools 2 Thu Jan 31, 2013 12:41 am
No new posts Retreive return code(Maxcc) of job th... balaji81_k CLIST & REXX 3 Fri Dec 28, 2012 1:29 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us