IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

NSLOOKUP with REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Clayton Westphal

New User


Joined: 20 Mar 2023
Posts: 8
Location: United States

PostPosted: Fri Mar 31, 2023 7:25 pm
Reply with quote

Hello, I am running TSO REXX and can issue a TSO PING command that the output can be captured using OUTTRAP. However, when taking the same approach doing a TSO LOOKUP command is not writing to the stem. I also attempted to do this via CONSOLE and I’m not having any luck. Has anyone else had this occur and have a solution?

Thanks,
Clayton
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1231
Location: Bamberg, Germany

PostPosted: Fri Mar 31, 2023 8:39 pm
Reply with quote

STFW brought up this

Quote:
In your TSO REXX command, use BPXWUNIX to run the UNIX dig command. You can set it up to trap stdout and stderr to REXX stem variables. At least
as easy as OUTTRAP.
Back to top
View user's profile Send private message
Clayton Westphal

New User


Joined: 20 Mar 2023
Posts: 8
Location: United States

PostPosted: Fri Mar 31, 2023 11:39 pm
Reply with quote

Awesome!… Thanks for the guidance!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
Search our Forums:

Back to Top