MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

To capture output from a TSO command?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
deepak_kumaran
Beginner


Joined: 05 Jan 2004
Posts: 5
Topics: 2

PostPosted: Mon Jan 05, 2004 6:31 pm    Post subject: To capture output from a TSO command? Reply with quote

Hello,

My requirement is to capture the output messages returned from the execution of a TSO command (from REXX)

Let us say that my command is
LISTCAT ENTRIES('TEST.FILE') ALL

I need to capture all that is returned from this command into a stem variable. Is there any way out?

Regards,
Deepak
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Mon Jan 05, 2004 10:09 pm    Post subject: Reply with quote

Hi

Take a look at OUTTRAP function in the fine manual.

O.
________
hot box vape


Last edited by ofer71 on Sat Feb 05, 2011 11:09 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
deepak_kumaran
Beginner


Joined: 05 Jan 2004
Posts: 5
Topics: 2

PostPosted: Tue Jan 06, 2004 12:24 pm    Post subject: Reply with quote

Hi O(?)

Will take a look at this function.
Thanks.

Deepak
_________________
--
Regards,
Deepak
Back to top
View user's profile Send private message
deepak_kumaran
Beginner


Joined: 05 Jan 2004
Posts: 5
Topics: 2

PostPosted: Wed Jan 07, 2004 5:57 pm    Post subject: Reply with quote

OUTTRAP works well. Thanks O
_________________
--
Regards,
Deepak
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group