Re: COMMAND SHELL PROGRAMMING.
- From: yogesh.mahajan@xxxxxxxxxxxx (Yogesh Mahajan)
- Date: 7 Sep 2007 02:51:44 -0700
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%echo Downloading the file: %strMember% TO %strSProc%
script.ftp ECHO %strPwd%
script.ftp ECHO prompt n
ftp -n -s:script.ftp %strMainframe%script.ftp ECHO get %strMember% %strSProc%
script.ftp ECHO bye
TYPE NUL >script.ftp
NOTEPAD %strSProc%
===============================================================================
On 9/7/07, Shmuel Metz (Seymour J.) <shmuel+ibm-main@xxxxxxxxxxx> wrote:
In
<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA+VN+efhH1Uya/xf6JkwfAMKAAAAQAAAA6LDsulsOykq6MVRYu3C61AEAAAAA@
patni.com>,
on 09/05/2007
at 07:16 PM, Guru <guru.arumugam@xxxxxxxxx> 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 listserv@xxxxxxxxxxx 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 listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.
- References:
- Re: COMMAND SHELL PROGRAMMING.
- From: Shmuel Metz , Seymour J.
- Re: COMMAND SHELL PROGRAMMING.
- Prev by Date: Re: COMMAND SHELL PROGRAMMING.
- Next by Date: Re: Control Program of OS/360 reel tape
- Previous by thread: Re: COMMAND SHELL PROGRAMMING.
- Next by thread: Re: COMMAND SHELL PROGRAMMING.
- Index(es):
Relevant Pages
|