I have a exec which is part of a ISPF dialog. Depending on what the user
enters on the panel, I need to run FTP in order to obtain a file which
exists on a non-mainframe platform. I can get FTP to launch ok, but am
not totally able to suppress the FTP line mode chatter as shown in the
trace below.
I've looked at /tried the base TSO PROFILE command - the WTPMSG and
INTERCOM options - but no joy.
I've also gone back thru all of the list emails I've got saved, looking
at the those which deal w/ running FTP, but if it's in there, I don't
recognize it.
Someone must have done this....
125 *-* x = OUTTRAP("ftp.","*","NOCONCAT") /* Trap msgs frpm
FTP */
>L> "ftp."
>L> "*"
>L> "NOCONCAT"
>F> "FTP."
126 *-* ADDRESS 'TSO'
127 *-* "FTP ROBM (EXIT" /* Run FTP, get a real
return code */
>L> "FTP ROBM (EXIT"
220-FTPSERVE IBM FTP CS V1R11 at MFDEVL1.MAYO.EDU, 11:48:14 on
2010-11-15.
220 Connection will close if idle for more than 10 minutes.
331 Send password please.
230 TS00004 is logged on. Working directory is "TS00004.".
221 Quit command received. Goodbye.
128 *-* SAY 'RC from FTP is: '||rc
>L> "RC from FTP is: "
>V> "0"
>O> "RC from FTP is: 0"
RC from FTP is: 0
129 *-* x = OUTTRAP("OFF") /* Turn off
nasty-gram trapping */
>L> "OFF"
>F> "OFF"
130 *-* SAY 'ftp.0 is '||ftp.0
>L> "ftp.0 is "
>V> "11"
>O> "ftp.0 is 11"
Thanks
Jim Laumann
Tech Specialist I
Data Center Infrastructure Services
Phone: 507-284-5510
E-mail: lauman...@mayo.edu
__________________________
Mayo Clinic
200 First Street S.W.
Rochester, MN 55905
www.mayoclinic.org
----------------------------------------------------------------------
For TSO-REXX subscribe / signoff / archive access instructions,
send email to LIST...@VM.MARIST.EDU with the message: INFO TSO-REXX
Also try running the Unix Sytem Services FTP and redirecting
its output. FTP behaves differently according to whether it
believes it was invoked under:
o Batch JCL
o TSO TMP
o Unix shell.
-- gil
> I have a exec which is part of a ISPF dialog. Depending on what the user
> enters on the panel, I need to run FTP in order to obtain a file which
> exists on a non-mainframe platform. I can get FTP to launch ok, but am
> not totally able to suppress the FTP line mode chatter as shown in the
> trace below.
>
> I've looked at /tried the base TSO PROFILE command - the WTPMSG and
> INTERCOM options - but no joy.
Just FYI, these two options have nothing to do with this kind of problem.
WTPMSG controls whether a Write To Operator message with routing code
11 (WTP) issued by a program running in your address space is *also*
copied to your own terminal. Most application programs do not issue
WTO, and it is certainly not the right way to communicate with a
terminal user, not least because there is no way for the user to
reply.
INTERCOM controls whether another TSO user can send a message to your
terminal. This has nothing to do with any program running in your TSO
session. INTERCOM also controls *some* messages from the system
operator, but most of those are issued with a default option that
overrides NOINTERCOM.
Not any closer to solving your problem, I realize, other then to make
clear these two are definitely not it.
Tony H.
if not output then some ddname that ftp uses seems to be allocated to
the screen - check what's allocated when you run the exec
---
Bob Bridges, rhb...@attglobal.net, cell 336 382-7313
work bob.b...@libertymutual.com, 317 581-6487
/* Why did the string bass player get angry at the timpanist? A: Because
the timpanist turned a peg and wouldn't tell him which one. -from a
collection of musician jokes */
Does anyone have a example, or know how to access CICS to close/open a file using REXX?
Thanks in advance
JC
And AFAIRC - there is a REXX-CICS functionality. So you might need to look at that area if you need something that will interface more with CICS other than CEMT.
To do it any other way, would probably be a console command to CICS
F CICS,CEMT FI(xxx) CLOSE
Lizette
Hi list,
Thanks in advance
JC
- ------------------------------------------------------------------------
This email has been scanned for all known viruses by the MessageLabs Email
Security Service and the Macro 4 internal virus protection system.
. ------------------------------------------------------------------------
- ------------------------------------------------------------------------
This email has been scanned for all known viruses by the MessageLabs Email
Security Service and the Macro 4 internal virus protection system.
. ------------------------------------------------------------------------