script v IBM

I had a real little battle today getting a batch file to ftp from WIn XP to a IBM mainframe. I’ll update this post with thte [suitably] modified code but the real tricks were:

1. just putting the file path and name to be sent to the mainframe in uppercase e.g. AAA.BBBB.FILENAME.TXT, and
2. adding single quotes around the IBM path e.g.
put c:\filename.txt  ‘AAA.BBBB.FILENAME.TXT’

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: