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: 1308
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 Help needed in automation cics transa... CLIST & REXX 1
No new posts Reroute print output via REXX/SDSF TSO/ISPF 6
No new posts Get RECORD LENGTH, allocated space of... CLIST & REXX 7
No new posts SDSF and Rexx TSO/ISPF 4
No new posts Compare 2 alphabets in a REXX and fin... CLIST & REXX 2
Search our Forums:

Back to Top