Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in



Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Ricardo Viegas

New User

Joined: 18 Oct 2012
Posts: 33
Location: Brasil

PostPosted: Thu Oct 15, 2015 7:27 am    Post subject: FTP with OUTTRAP
Reply with quote

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:

/* TTFTPTRP - Testing FTP with OUTTRAP       [REXX] */
Queue 'QUIT'                                         
otrap = OutTrap('lin.')                               
'FTP'           /* "userid.NETRC" exists */
otrap = OutTrap('OFF')                               
Do ctr = 1 To lin.0                                   
  Say 'Line' ctr':' lin.ctr                           
Back to top
View user's profile Send private message

View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1


Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Reg: Outtrap command execution in batch superk CLIST & REXX 12 Fri Aug 26, 2011 11:55 am
No new posts Finding difficulty in using OUTTRAP f... Kranthi_Merigala CLIST & REXX 16 Wed Mar 31, 2010 1:42 am
No new posts REXX code - Outtrap is not working knickraj TSO/ISPF 9 Fri Jul 03, 2009 6:10 pm
No new posts Problem with SAY or Compound variable... sushanth bobby CLIST & REXX 6 Wed Jan 07, 2009 5:26 pm
No new posts To write OUTTRAP data into local dataset Selva0202 CLIST & REXX 8 Thu Oct 30, 2008 6:46 am

Back to Top
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us