Group,
Has anyone had an issue with managing DNS entries and finding a DNS name
that should not have the name it does? I keep looking for a wildcard query
that can report on more than one DNS record at a time so I can find DNS names
that don't conform to our standards. I looked in the V1R12 IP Sys Admin
Commands and it says "TSO NSLOOKUP has been deprecated in favor of the z/OS
UNIX dig command" and it also says "TSO DIG has been deprecated in favor of the
z/OS UNIX dig command". It looks like in the future TSO won't be able to do a
DNS query.
I am writing an EXEC that uses TSO/E commands NSLOOKUP and DIG. It appears
the OUTTRAP is not catching the output from these commands. Here is my EXEC:
addr = 'x.x.x.x'
x = OUTTRAP(DNSIN.)
ADDRESS TSO 'DIG -x' addr '+noquestion'
x = OUTTRAP('OFF')
Do i = 1 TO DNSIN.0
Say 'rec' i '=' DNSIN.i
End
x = OUTTRAP(DNSIN.)
ADDRESS TSO 'NSLOOKUP' addr
x = OUTTRAP('OFF')
Do i = 1 TO DNSIN.0
Say 'rec' i '=' DNSIN.i
End
Q). Should outtrap catch the output of TSO/E commands NSLOOKUP and DIG?
Q). Should I just write a z/OS UNIX dig script and forget about deprecated
TSO/E commands?
Thanks, Dave
Dave Hansen
Eagan Software Systems Branch
651-406-1208
[email protected]
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html