Ricardo Viegas
New User
Joined: 18 Oct 2012 Posts: 39 Location: Brasil
|
|
|
|
With OUTTRAP I can trap the output from an FTP session invoked under TSO/ISPF, but this does not prevent the display of the output at the terminal, as occurs with the TSO commands.
Are there any way to do that? (I suspect that it should be done by some kind of FTP subcommand and/or parameter, but my knowledge of FTP is very poor)
Below a sample REXX exec to test it:
Code: |
/* TTFTPTRP - Testing FTP with OUTTRAP [REXX] */
Queue 'QUIT'
otrap = OutTrap('lin.')
'FTP 10.0.0.19' /* "userid.NETRC" exists */
otrap = OutTrap('OFF')
Do ctr = 1 To lin.0
Say 'Line' ctr':' lin.ctr
End
Exit
|
|
|