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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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