This could be done by REXX/ CList.

But if you wish to do write FTP script on client receiving the file, you may
write a DOS shell script (.bat) like this:
==================================================================================
REM Get user's input - Mainframe IP, FTP ID, Pwd etc...
REM Create downloading script, execute it (ftp) and delete it.
REM
SET strMember='%strInputFileNameFromUser%'
>script.ftp  ECHO USER %strUser%
>>script.ftp ECHO %strPwd%
>>script.ftp ECHO prompt n
echo Downloading the file: %strMember% TO %strSProc%
>>script.ftp ECHO get %strMember% %strSProc%
>>script.ftp ECHO bye
ftp -n -s:script.ftp %strMainframe%
TYPE NUL >script.ftp
NOTEPAD %strSProc%
===============================================================================


On 9/7/07, Shmuel Metz (Seymour J.) <[EMAIL PROTECTED]> wrote:
>
> In
>
> <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA+VN+efhH1Uya/xf6JkwfAMKAAAAQAAAA6LDsulsOykq6MVRYu3C61AEAAAAA@
> patni.com>,
> on 09/05/2007
>    at 07:16 PM, Guru <[EMAIL PROTECTED]> said:
>
> >I just want to receive some of the member from the mainframe to my PC by
> >using ISPF command shell prompt
>
> There is no ISPF command shell. Do you mean Unix shell, CLIST or REXX?
>
> >but my requirement is to receive two or more member from the same host.
>
> FTP. Or use REXX to call ISPF services.
>
> --
>      Shmuel (Seymour J.) Metz, SysProg and JOAT
>      ISO position; see <http://patriot.net/~shmuel/resume/brief.html>
> We don't care. We don't have to care, we're Congress.
> (S877: The Shut up and Eat Your spam act of 2003)
>
> ----------------------------------------------------------------------
> 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
>

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