> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Howard Brazee
> Sent: Tuesday, July 28, 2009 11:12 AM
> To: [email protected]
> Subject: Re: FTP to Unix directory with spaces
> 
> On 28 Jul 2009 08:55:17 -0700, [email protected] (McKown,
> John) wrote:
> 
> 
> >Is this an interactive session (you're typing in the 
> commands), or a "batch" session (some sort of script)?
> 
> It's a batch job run from JCL, using production procs.

OK, so your client is the z/OS ftp client. I assume (ouch!) that you're running 
PGM=FTP. OOPS - looked at your original message and you're running ftp in TSO 
batch. Why? Example JCL without TSO in batch would be:

//STEP1    EXEC  PGM=FTP,
//             REGION=0M,
//             PARM='(EXIT'
//SYSPRINT DD  SYSOUT=*
//OUTPUT   DD  SYSOUT=*
//INPUT    DD  *
ipaddress-of-remote
userid-to-use
password-to-use
cd "/ps/cs90ftp/conversion_files/CC/extract/Files for Production"
put 'UMSDEV.QA06.CCITFULL.D090714'  citizen_D090714.dat 
/*

I wonder if TSO is stripping off the quote marks?!?

> 
> >How about trying something like:
> >
> >cd /ps/cs90ftp/convesion_files/CC/extract
> >dir
> 
> That's a better way to test, without creating the file in the wrong
> place.   Good idea.
> 
> >In desperation, do you really needs the damn blanks?
> 
> It's a political thing.   I can argue with users to who are already
> using directories with blanks, or find a way to accommodate them. They
> have several directories so defined.
> 
> I suppose we could have Unix scripts moving the files after I get them
> to a drop off directory, if we have a trigger paid for on the
> destination machine.

Can you post the entire output of your batch ftp job? It might help us discover 
what the server software is. And that might help with debugging. Munge as 
little of the output as possible (just things like IP address, userids and 
passwords, if possible).

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to