Re: COMMAND SHELL PROGRAMMING.



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

.



Relevant Pages

  • FTP Client
    ... I have an image that remote boots and then contacts an ftp server, downloads ... a script and run said script. ... The shell for the image is the script that does ...
    (microsoft.public.windowsxp.embedded)
  • Re: FTP files created today
    ... How do I write a script that does this? ... I *think* that you mean that you want to create a script that will FTP ... What shell are you using? ... Which FTP client do you use? ...
    (comp.unix.shell)
  • Re: FTP delete problem
    ... the problem was a lock to a file that the ftp get worked, ... Bernard Cheah ha scritto: ... generate by schedule task. ... If i manually execute the script, the output wrote, but by schedule ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: detect shell script language
    ... In the 'old' days, when a user typed in a command, the interactive shell would immediately pass it off to 'exec' to execute. ... So, on return from exec with an error status, the shell would fork a copy of itself to try and run the script. ... As a result of the above, it was hard to tell whether the script was a Bourne shell or C shell, so the convention was introduced of using the Bourne shell no op command, as the first line in a Bourne shell script. ...
    (Debian-User)
  • Re: FTP delete problem
    ... Yes, the script looking the previous day log file, but when it's still ... Bernard Cheah ha scritto: ... the problem was a lock to a file that the ftp get worked, ... generate by schedule task. ...
    (microsoft.public.inetserver.iis.ftp)