View previous topic :: View next topic
|
Author |
Message |
santosh.ambaprasad
New User
Joined: 08 Mar 2009 Posts: 16 Location: London
|
|
|
|
Hi
I wrote a REXX that executes NETSTAT command.
When I execute that REXX from command line(Online) the NETSTAT command executed successfully( I got the report)
But I executed the same REXX in batch mode ( using IKJEFT01) I got error message saying.." Unable to establisg affity with TCP/IP"
Is it possible to execute NETSTAT in batch mode?
My REXX:
Code: |
/** REXX**/
ADDRESS TSO
"NETSTAT BYTE REPORT DSN 'Gvvv.bbb' (ipadrr 10.231.45.56)" |
Thanks
Santosh |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Perhaps your TCP/IP commands are not in linklist. Find out what dataset they are in and it to your batch STEPLIB. |
|
Back to top |
|
|
santosh.ambaprasad
New User
Joined: 08 Mar 2009 Posts: 16 Location: London
|
|
|
|
Ok thank You.
Is the link List dataset starts with TCP.*.*?
Thanks
Santosh S |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
There will be a data set that ends in SEZALOAD, probably starting with TCP or perhaps TCPIP or even SYS?. That will be the data set to put in the STEPLIB for your job.
The actual link list data sets are stored in a system parameter library that is read during the IPL. |
|
Back to top |
|
|
santosh.ambaprasad
New User
Joined: 08 Mar 2009 Posts: 16 Location: London
|
|
|
|
OK.It is working now..
I changed my JCL to include SYSTCDP data set.
i did TSO ISRDDN then picked up the stack dataset against this ddname and included it in JCL
Thanks for the support
Santosh S |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thanks for letting us know
d |
|
Back to top |
|
|
|