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
 

 

BPXBATCH and FTP: QUIT generated by unexpected end of file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
poolpi

New User


Joined: 12 Apr 2007
Posts: 1
Location: France

PostPosted: Tue Jul 10, 2007 6:10 pm    Post subject: BPXBATCH and FTP: QUIT generated by unexpected end of file
Reply with quote

Hi all,

I'm trying to send files using BPXBATCH and ftp but i always read this output from my stdout file :

QUIT generated by unexpected end of file
>>> QUIT
221 Goodbye

I think there is a problem in the ftp sequence ):

My JCL :

Code:

//STEP1 EXEC PGM=BPXBATCH,
//            PARM='PGM /bin/ftp ftpServer'
//STDIN DD *
user
password
cd /Systeme/CatFicVolK7/Historique/Fichiers
bin
lcd /usr/csi/xfer/temp/
put ftpSologne.ftp test.ftp
quit
/*
//STDOUT   DD   PATH='/usr/csi/xfer/temp/ftpSologne.stdout',
//            PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
//            PATHMODE=SIRWXU
//STDERR   DD   PATH='/usr/csi/xfer/temp/ftpSologne.stderr',
//            PATHOPTS=(OWRONLY,OCREAT,OTRUNC),
//            PATHMODE=SIRWXU



PooLpi icon_cry.gif
Back to top
View user's profile Send private message

vikirum

New User


Joined: 26 Apr 2007
Posts: 30
Location: Chennai

PostPosted: Fri Aug 10, 2007 11:21 am    Post subject: Re: BPXBATCH and FTP
Reply with quote

Morning,

I did the same research for connecting the two OS - UNIX and MVS. I do the connection by trying to execute a shell script as opposed to a program in UNIX. And this works like a charm. Might sound silly, but if you want to try executing the same using a shell script I can offer my assistance.

P.S Reason why I say a shell script is that I had countless abends(abends so against to manual - Name a number I got it from 125 to whatever, and with unbelievable explanations in the joblog ** grim nod **). Perhaps because of the settings and restrictions used in the OS by these folks here, I don't know. Wish there were more help or manuals around for such procedure(s).

Anyway, without digressing, if you want to tweak this a little bit using a shell script feel free to give me a yell.

Thanks much
Vik Rajagopalan.
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 SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us