Thiru,

Although you are not responding to my last post which actually indicated you
needed to prepend the SITE FTP command in order to send the FILETYPE FTP
command to CS IP, I can see that I too was guilty of a lack of care in
establishing precisely how you send an FTP command to the CS IP FTP server
from Windows, in other words, what the Windows equivalent to the SITE FTP
command is.

I checked back to some class exercises I used to set to do precisely what
you want to do and I see that on the PC, the FTP command is still "site
filetype=jes". However, this was back in the early 90s and it was an IBM
education centre and, in those days, everything on the PC had to be OS/2.

With a quick look at the FTP commands on my own Windows NT system and with a
bit of Googling for "ftp windows help", I note that the QUOTE FTP command
sends an arbitrary command to the remote system. (See, for example
http://www.computerhope.com/software/ftp.htm) I also had a faint twinge of
recognition when I spotted QUOTE so this may be the solution. In other words

quote "filetype=jes"
put <the job file>
ls - in order to find the job output using the information from my last post
in order to find the output files
get <the job output file> - as many times as necessary
quote "filetype=seq" - in order to tidy up

Checking my next Google hit which was the Microsoft manual for XP covering
FTP, it said precisely the same for QUOTE but added that QUOTE was identical
to LITERAL. Looking further I get just the same information. However,
despite the name of the FTP command, I'm not actually sure the quotation
marks I show in my scenario above are needed so, if the above doesn't work,
try without the quotation marks following the QUOTE FTP command.

Well, I can be like a dog with a bone at times like this so I thought I'd
check Peter's reference - which, of course, strictly isn't appropriate given
that it describes what you do with the CS IP FTP client rather than the
Windows FTP client. However, Peter's reference does show us what the CS IP
FTP server expects for job submission in case more help than I gave in my
last post - as well as this one - is needed.

Wouldn't you know it, "quote" is also a command of the CS IP FTP client? I
quote (well, I would, wouldn't I?)

"5.54 QUOte subcommand--Send an uninterpreted string of data
Purpose
Use the QUOte subcommand to send an uninterpreted string of data to the
server port on the foreign host.
The QUOte subcommand bypasses the FTP interface of your local host. You can
use the QUOte subcommand to send commands that the remote server
understands, but that the local host does not understand.
Format

>>__QUOte__string_______________________________________________________><
Parameters
string
Specifies the data to be sent verbatim to the remote host FTP server.

I stop at the Example - which is a bit complicated - but what the example
shows is identical to the sort of action that could have been achieved using
the SITE FTP command - or subcommand as it is described in the CS IP manual.

I was thinking - shaking my bone - of being critical of the CS IP manual
authors but we have to remember that their task in this "User's Guide" is to
provide information for the CS IP FTP client. Ideally there would be another
manual for the use of users on other platforms. Having worked with TCP/IP
for MVS when it first appeared, and when there were far fewer manuals to
choose from, I recall that, typically, advice was given on using the TCP/IP
for MVS servers from other platforms, typically UNIX, when there was no
implementation of a TCP/IP for MVS client. I was going to give X-windows as
an example but stopped because this post is quite long enough already and
folk who know X-windows terminology will understand very well why I stopped!

Chris Mason

----- Original Message ----- 
From: "thirumurugan" <[EMAIL PROTECTED]>
Newsgroups: bit.listserv.ibm-main
To: <[email protected]>
Sent: Saturday, 10 December, 2005 9:55 AM
Subject: Re: Mainframe to windows and windows to mainframe


> Hi
>   i agree with you.. but when i do FTP from windows to
> MVS using the command prompt i dont find the the
> option FILETYPE.. so i couldnt able to perform the
> submission from windows.
>
> Below are the options i found when i do ftp from
> command prompt
> !               delete          literal         prompt
>          send
> ?               debug           ls              put
>          status
> append          dir             mdelete         pwd
>          trace
> ascii           disconnect      mdir            quit
>          type
> bell            get             mget            quote
>          user
> binary          glob            mkdir           recv
>          verbose
> bye             hash            mls
> remotehelp
> cd              help            mput            rename
> close           lcd             open            rmdir
>
> so kindly help me out
>
> -thiru
>
> --- "Hunkeler Peter (KRDO 4)"
> <[EMAIL PROTECTED]> wrote:
>
> > Use FTP with FILETYPE=JES. It is documented in "4.13
> > Interfacing
> > with JES" in the "IP User's Guide and Commands"
> > manual and has been
> > discussed here multiple times. You may want to
> > search the archive.
> >
> >
> > Peter Hunkeler
> >
> > Credit Suisse - Information Technology

----------------------------------------------------------------------
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