CO:z : Using DNS Names instead of IP addresses

General discussion of the Co:Z Toolkit
Post Reply
stret67
Posts: 1
Joined: Thu Jan 27, 2011 3:22 pm

CO:z : Using DNS Names instead of IP addresses

Post by stret67 »

Hello!
Instead of using an IP address, I tried using a DNS name:
//*CRTEPDF EXEC PROC=COZPROC,ARGS='batch1@10.1.1.88'
//CRTEPDF EXEC PROC=COZPROC,ARGS='batch1@zlinux01.company.com'

And I am getting a return code of 255. We have been running Co:z successfully for quite some time now using IP addresses. But I thought I would try DNS names to avoid hard coding IP addresses.

Any suggestions would be appreciated, Thanks.
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

Yes, you should be able to use DNS names.

Do your z/OS system have a DNS (RESOLVER) configured?

Also, depending on how you have it configured, you may need to include DDs or environment variables in the job so that it can find your resolver. Check the Comm Server manuals for more information.
Post Reply