MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Im getting MAXCC=0,but not able to FTP the file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
manesh
Beginner


Joined: 11 Apr 2006
Posts: 12
Topics: 5

PostPosted: Mon Aug 28, 2006 5:23 am    Post subject: Im getting MAXCC=0,but not able to FTP the file Reply with quote

After submitting this JCL,im getting MAXCC=0,but ftp is not being done.
BUT in output it is saying we must first issue open command ...Need Inputs on this.......
Code:

//G54574J JOB ,,NOTIFY=&SYSUID,CLASS=B,MSGLEVEL=(1,1),MSGCLASS=X   
//STEP1 EXEC PGM=EZACFSM1                                         
//SYSIN DD *                                                       
IPaddress                                                     
username                                                         
password                                                         
PUT 'G54574.VIJAY.SEQ'  &LDAY.&LMON.&LYR2..TXT                     
QUIT                                                               
/*                                                                 
//SYSOUT DD DSN=G54574.VIJAY.LDAY,DISP=(OLD,CATLG,DELETE),         
//         SPACE=(TRK,(1,1)),LRECL=80,BLKSIZE=0,RECFM=FB           
//STEP0020 EXEC PGM=FTP,REGION=4096K PARM='(EXIT=8'               
//*                                                               
//SYSMDUMP DD SYSOUT=*                                             
//SYSPRINT DD SYSOUT=*                                             
//INPUT    DD DSN='G54574.VIJAY.LDAY',DISP=SHR
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Mon Aug 28, 2006 8:03 am    Post subject: Reply with quote

Quote:

//INPUT DD DSN='G54574.VIJAY.LDAY',DISP=SHR


Manesh,

Remove the quotes around the DSN name

Hope this helps..

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
manesh
Beginner


Joined: 11 Apr 2006
Posts: 12
Topics: 5

PostPosted: Mon Aug 28, 2006 10:27 am    Post subject: Reply with quote

I have removed the quotes..but still getting the same error
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Mon Aug 28, 2006 10:52 am    Post subject: Reply with quote

manesh,

What are the messages from step0020 sysprint?

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Mon Aug 28, 2006 12:51 pm    Post subject: Reply with quote

Kolusu,

See the other thread created by this user.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group