Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 39
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 OUTTRAP Equivalent function in CLIST upendrasri CLIST & REXX 5 Thu Mar 12, 2020 12:12 pm
No new posts Error when compiling a REXX exec with... Ricardo Viegas CLIST & REXX 2 Tue Dec 18, 2018 5:44 am
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

Back to Top
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us