View previous topic :: View next topic
|
Author |
Message |
tiger_wen
New User
Joined: 24 Jun 2005 Posts: 22 Location: BeiJing,China
|
|
|
|
Following are CICS ports settings in my TCPDATA:
Code: |
; CICS ports
3080 TCP CICSAOR2 ; CICS Socket
; 3080 TCP CICSTOR1 NOAUTOLOG ; CICS Socket |
And the CICS jobname is:
Code: |
NP JOBNAME JobID Owner Prty Queue C Max-RC Pos SAff ASys S
CICSAOR2 STC00073 STC 15 EXECUTION MVS1 MVS1
|
:
I had set the CSKL txn like:
Code: |
APPLID ===> CICSACB3 APPLID of CICS System
TRANID ===> CSKL Transaction Name of Listener
PORT ===> 03080 Port Number of Listener
AF ===> INET Listener Address Family
IMMEDIATE ===> YES Immediate Startup Yes|No
BACKLOG ===> 040 Backlog Value for Listener
NUMSOCK ===> 100 Number of Sockets in Listener
MINMSGL ===> 004 Minimum Message Length
ACCTIME ===> 030 Timeout Value for ACCEPT
GIVTIME ===> 010 Timeout Value for GIVESOCKET
REATIME ===> 300 Timeout Value for READ
TRANTRN ===> YES Translate TRNID Yes|No
TRANUSR ===> YES Translate User Data Yes|No
SECEXIT ===> Name of Security Exit
WLM groups ===> CICSGR1 ===> ===>
|
:
I think it should be work,and the CSKL taks should be active.
but I encounted the following:
Code: |
EZY1261I 02/03/10 17:54:43 EZACIC03 ATTACH SUCCESSFUL, TCB ADDRESS=0069F360 TERM= TRAN=CSKL TASK=0000070
EZY1291I 02/03/10 17:54:44 LISTENER TRANSACTION= CSKL TASKID= 0000070L ACCEPTING REQUESTS VIA PORT 3080
EZY1261I 02/03/10 17:55:18 EZACIC03 ATTACH SUCCESSFUL, TCB ADDRESS=0069F1C8 TERM= TRAN=CSKL TASK=0000072
EZY1295E 02/03/10 17:55:18 BIND CALL FAILURE TRANSACTION= CSKL TASKID= 0000072L ERRNO= 48
EZY1278I 02/03/10 17:55:18 EZACIC03 DETACH SUCCESSFUL TCB ADDRESS=0069F1C8 TRAN=CSKL TASK=0000072
|
:
Who can tell me what's wrong with the settings?
Thanks in advance. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
Back to top |
|
|
tiger_wen
New User
Joined: 24 Jun 2005 Posts: 22 Location: BeiJing,China
|
|
|
|
not reserved ?
How can I do to reserve the port?Is there any hint? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
What does a netstat conn show? |
|
Back to top |
|
|
tiger_wen
New User
Joined: 24 Jun 2005 Posts: 22 Location: BeiJing,China
|
|
|
|
Robert Sample wrote: |
What does a netstat conn show? |
netstat conn?a command.
sorry,I am a new comer for tcpip.would you please tell in detail?
Where should I issue the netstat conn command,omvs?
I google the netstat conn....is it ’D TCPIP,,NETSTAT’ ? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Netstat is a TSO (or Unix System Services) command to provide information about the state of TCP/IP. A batch job to do it is:
Code: |
//TMP EXEC PGM=IKJEFT01,REGION=0M,
// DYNAMNBR=200
//*
//SYSPROC DD DSN=SYS1.SBPXEXEC,DISP=SHR
//*
//SYSTSPRT DD SYSOUT=*
//STDOUT DD SYSOUT=*
//*
//SYSTSIN DD *
netstat conn
/* |
Note that SYS1.SBPXEXEC is the default name and could have been changed at your site (although the low level probably is still SBPXEXEC).
After you run the job, look at the output for your region and verify that there's a listener on port 3080. if not, you've got a TCP/IP set up issue that needs your site support group to fix.
You can also use console command D TCPIP,,NETSTAT,CONN to get the same information. |
|
Back to top |
|
|
tiger_wen
New User
Joined: 24 Jun 2005 Posts: 22 Location: BeiJing,China
|
|
|
|
I google the netstat conn....
I will try ’D TCPIP,,NETSTAT’ in console also.
Thanks for your reply. |
|
Back to top |
|
|
tiger_wen
New User
Joined: 24 Jun 2005 Posts: 22 Location: BeiJing,China
|
|
|
|
Code: |
MVS TCP/IP NETSTAT CS V1R6 TCPIP Name: TCPIP 18:35:40
User Id Conn Local Socket Foreign Socket State
------- ---- ------------ -------------- -----
CICSACB3 00000043 0.0.0.0..3082 *..* UDP |
Here goes the output.How can read the spool log.
I can not find the 3080 port.Can I use 3082 for CICS port instead?
by the way,where did all these infor set.
Thank you very much. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Interpretation: CICSACB3 is listening for all IP addresses (that's what the 0.0.0.0 means) on port 3082 as a UDP connection. All remote connections are allowed, although I usually see 0.0.0.0..0 instead of *..* (something must have changed from 1.6 to 1.8 of z/OS). The 0.0.0.0 would be significant if you're using multiple IP addresses in the LPAR (we were doing so when running Lotus Notes on z/OS, and we had to restrict listeners to only certain IP addresses or Lotus and TCIP/IP would have issues).
Try port 3082 since that's what is listed -- I don't know what's happening to port 3080 but if it'll work on 3082, go for it! |
|
Back to top |
|
|
tiger_wen
New User
Joined: 24 Jun 2005 Posts: 22 Location: BeiJing,China
|
|
|
|
UDP connection?
Is this something different from TCPIP connection?
Is this cause the different TCPIPServices settings?
Would you please explian it in detail?
Thanks for your time on this. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
User Datagram Protocol is a stateless transmission protocol -- meaning that packets can disappear, show up out of sequence, or show up with errors because there's no error checking. Tranmission Control Protocol, on the other hand, provides error-checked, ordered packets of data to the application. Both are used for different applications (UDP is used for Domain Name Services and Voice Over IP, for example), depending upon their needs.
Both UDP and TCP are TCP/IP connections; they just have different purposes and processing. I'm not familiar enough with CSKL to know if it can handle out-of-sequence or missing data -- if not, then UDP is not the right choice of protocol. |
|
Back to top |
|
|
tiger_wen
New User
Joined: 24 Jun 2005 Posts: 22 Location: BeiJing,China
|
|
|
|
I updated CICS port number to 3082 in the TCPIP.PROFILE
and changed the CSKL port definition to 3082 also.
but when start the CICS region using EZAO START,
I got the
Code: |
EZY1295E 02/03/10 17:55:18 BIND CALL FAILURE |
again,I am totaly confused.
Shall I also update the port number defined in TCPIPServices?
There must be some steps I omitted,would you please
help telling me?Thanks a lot for your time.
Best Regards
David |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
about time to get in touch with Your network support! |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
I see that the portnumber is prefixed with a zero :
PORT ===> 03080 Port Number of Listener
Maybe that could be the culprit. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Peter, hopefully not since ports can go up to 65535; the leading zero may be numeric justification. It would be worth trying to take the leading zero off, though, to see if the results are different.
tiger_wen, I agree with Enrico -- it is time to contact your site support group and get network assistance. They have the tools to diagnose the problem and trace what's happening. |
|
Back to top |
|
|
tiger_wen
New User
Joined: 24 Jun 2005 Posts: 22 Location: BeiJing,China
|
|
|
|
Thanks everyone for the help.
Once this was solved,you'll be posted. |
|
Back to top |
|
|
Rogerio Ferreira Coelho
New User
Joined: 13 Jun 2007 Posts: 11 Location: Sao Paulo - Brazil
|
|
|
|
BIND = 48 = EADDRINUSE
The address is in a timed wait because a LINGER delay from a previous close or another process is using the address.
The port are in use, or you need set the socket with REUSE OPTION. |
|
Back to top |
|
|
tiger_wen
New User
Joined: 24 Jun 2005 Posts: 22 Location: BeiJing,China
|
|
|
|
Rogerio Ferreira Coelho wrote: |
BIND = 48 = EADDRINUSE
The address is in a timed wait because a LINGER delay from a previous close or another process is using the address.
The port are in use, or you need set the socket with REUSE OPTION. |
Thanks for your reply.
Would you please tell how to set the REUSE OPTION for the socket?
David |
|
Back to top |
|
|
Rogerio Ferreira Coelho
New User
Joined: 13 Jun 2007 Posts: 11 Location: Sao Paulo - Brazil
|
|
|
|
tiger_wen wrote: |
Rogerio Ferreira Coelho wrote: |
BIND = 48 = EADDRINUSE
The address is in a timed wait because a LINGER delay from a previous close or another process is using the address.
The port are in use, or you need set the socket with REUSE OPTION. |
Thanks for your reply.
Would you please tell how to set the REUSE OPTION for the socket?
David |
David...
After CALL 'EZASOKET' USING WRK-SOCKET , you need do this call before BIND call:
MOVE 4 TO WRK-OPTNAME
WRK-OPTLEN.
MOVE 1 TO WRK-OPTVAL.
CALL 'EZASOKET' USING WRK-SETSOCKOPT WRK-SOCKID
WRK-OPTNAME WRK-OPTVAL WRK-OPTLEN
WRK-ERRNO WRK-RETCODE.
OPTNAME equal 4 means REUSEADDR. |
|
Back to top |
|
|
tiger_wen
New User
Joined: 24 Jun 2005 Posts: 22 Location: BeiJing,China
|
|
|
|
I happened to find the following infor form red book(GG24-4026-00).
Quote: |
If the CSKL transaction abends with a code of BIND when you try to use CSKE to
enable the interface, the jobname for your CICS region does not match the name
specified for this port in tcpip.PROFILE.TCPIP. In other words, you are trying to
use a port that has been reserved for another application. Messages similar to |
It is seems that the 3080 port is reserved by other pgm.I will try to updated the port definition in PROFILE.
Thanks everyone's great help on this,thx a lot.[/code] |
|
Back to top |
|
|
|