Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
TN3270 starts and ends

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
Martin Wickenden

New User


Joined: 24 Apr 2018
Posts: 12
Location: USA

PostPosted: Tue May 01, 2018 8:42 pm    Post subject: TN3270 starts and ends
Reply with quote

Hello. I am building a new tech lpar, I have experience with z/OS but not so much with VTAM, TCPIP and TN3270. I am copying datasets from other lpars with appropriate modifications. I am able to start VTAM and TCPIP successfully and issue NETSTAT commands, etc. However, when I try to start TN3270, I get $HASP373 and $HASP395 saying it started and ended. No other messages. I am not able to FTP in to do FILEMODE=JES and get output. The port 23 is correctly allocated to TN3270 task. I have the terminals and application LU varied active in VTAM. Can anyone suggest a solution? Thank you in advance. Martin
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8391
Location: Dubuque, Iowa, USA

PostPosted: Tue May 01, 2018 9:05 pm    Post subject: Reply to: TN3270 starts and ends
Reply with quote

What does the TCP/IP TN3270 parameter member look like? I'd start debugging by looking at that member.
Back to top
View user's profile Send private message
Martin Wickenden

New User


Joined: 24 Apr 2018
Posts: 12
Location: USA

PostPosted: Tue May 01, 2018 9:26 pm    Post subject: Reply to: TN3270 starts and ends
Reply with quote

Here is the TCPDATA member:
Code:
TCPIPJOBNAME TCPIP
HOSTNAME TECH
DOMAINORIGIN  BCBSRI.ORG
DATASETPREFIX TCPIP
MESSAGECASE UPPER
NSINTERADDR  192.168.106.115       ;bripwdc03
NSINTERADDR  192.168.106.112       ;bripwdc02
NSINTERADDR  192.168.106.113       ;bripwdc01
NSINTERADDR  192.168.106.194       ;bripwdc04
NSPORTADDR 53
RESOLVEVIA UDP
RESOLVERTIMEOUT 30
RESOLVERUDPRETRIES 1
ALWAYSWTO YES


Here is the TNPROF member:
Code:
TELNETGLOBALS
   TCPIPJOBNAME TCPIP

  TELNETDEVICE 3278-3-E NSX32703 ; 32 line screen -
                                 ; default of NSX32702 is 24
  TELNETDEVICE 3279-3-E NSX32703 ; 32 line screen -
                                 ; default of NSX32702 is 24
  TELNETDEVICE 3278-4-E NSX32704 ; 48 line screen -
                                 ; default of NSX32702 is 24
  TELNETDEVICE 3279-4-E NSX32704 ; 48 line screen -
                                 ; default of NSX32702 is 24
  TELNETDEVICE 3278-5-E NSX32705 ; 132 column screen-
                                 ; default of NSX32702 is 80
  TELNETDEVICE 3279-5-E NSX32705 ; 132 column screen -
                                 ; default of NSX32702 is 80
  LUSESSIONPEND     ; On termination of a Telnet server connection,
                    ; the user will revert to the DEFAULTAPPL
                    ; instead of having the connection dropped

  MSG07             ; Sends a USS error message to the client if an
                    ; error occurs during session establishment
                    ; instead of dropping the connection

ENDTELNETGLOBALS
TELNETPARMS
  Port 23                       ; Port number 23 (std.)
  CodePage ISO8859-1 IBM-1047   ; Linemode ASCII, EBCDIC code pages
  Inactive 3600                 ; Let connections stay around
  PrtInactive 0                 ; Let connections stay around
  TimeMark 600
  ScanInterval 120
  SMFinit type119
  SMFterm type119
  ; Define logon mode tables to be the defaults shipped with the
  ; latest level of VTAM
ENDTELNETPARMS
BEGINVTAM
  Port 23 ;
  ; Define the LUs to be used for general users.
  DEFAULTLUS
    L00T0001..L00T0030
  ENDDEFAULTLUS
  DEFAULTAPPL TSOC  ; Set the default application for all TN3270(E)
                    ; Telnet sessions to TSO

  LINEMODEAPPL TSOC ; Send all line-mode terminals directly to TSO.

                   ; ALLOW ALL USERS ACCESS TO APPLS
  ALLOWAPPL TSOC     DISCONNECTABLE

  USSTCP USSTABN

ENDVTAM

I tried to attach these to the post but couldn't figure out how yet, thank you.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8391
Location: Dubuque, Iowa, USA

PostPosted: Tue May 01, 2018 9:43 pm    Post subject: Reply to: TN3270 starts and ends
Reply with quote

Quote:
The port 23 is correctly allocated to TN3270 task.
If TN3270 shuts down, how do you know this? What does a console command D TCPIP,TN3270 show?
Back to top
View user's profile Send private message
Martin Wickenden

New User


Joined: 24 Apr 2018
Posts: 12
Location: USA

PostPosted: Tue May 01, 2018 10:15 pm    Post subject:
Reply with quote

As I say, when I try to start TN3270 it starts and then ends. It does not stay active.
If I issue D TCPIP I get this:
2018121 12.40.30 TECH
EZAOP50I TCPIP STATUS REPORT 198
COUNT TCPIP NAME VERSION STATUS
----- ---------- -------- --------------------------------
1 TCPIP CS V1R13 ACTIVE
*** END TCPIP STATUS REPORT ***

(Notice I am on z/OS V1.13, back level, I know.)
S TN3270
$HASP373 TN3270 STARTED
$HASP395 TN3270 ENDED
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8391
Location: Dubuque, Iowa, USA

PostPosted: Wed May 02, 2018 12:11 am    Post subject: Reply to: TN3270 starts and ends
Reply with quote

You may want to try the debugging as shown in https://www.ibm.com/support/knowledgecenter/SSQ2R2_9.1.1/com.ibm.ent.dbt.zos.doc/cgdita/tdeftcp1.html -- such as trying to set up to connect to a different port (the reference uses 2023), which hopefully will show up any problems with your current configuration. The fact that TN3270 starts and stops immediately indicates there's probably some configuration error.

Another possibility would be to use the Redbook IBM z/OS V1R13 Communications Server TCP/IP Implementation: Volume 2 Standard Applications (SG24-7997) section 2.7 to debug your configuration. It tells you to add DEBUG to a copy of your configuration so you can use console command V TCPIP,,OBEYFILE to turn debugging on and off for your TN3270.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1614
Location: Oregon

PostPosted: Wed May 02, 2018 12:13 am    Post subject:
Reply with quote

Can you try changing the LU names to different range

from
Code:
DEFAULTLUS
L00T0001..L00T0030
ENDDEFAULTLUS

to
Code:
DEFAULTLUS
LXXT0001..LXXT0030
ENDDEFAULTLUS


I remember facing similar issue when LU names were same between two lpars. Wouldn't hurt trying I guess.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1614
Location: Oregon

PostPosted: Wed May 02, 2018 12:16 am    Post subject:
Reply with quote

Are there any error messages at all in the SYSLOG or TCPIP or TN3270 task?
Back to top
View user's profile Send private message
Martin Wickenden

New User


Joined: 24 Apr 2018
Posts: 12
Location: USA

PostPosted: Tue May 08, 2018 10:00 pm    Post subject:
Reply with quote

Hello, thank you for your suggestions. I was finally able to logon, the problem with the TN3270 proc was the ACID did not have RACF access to read the SYS1.VTAM* (SYS1.VTAMLIB) concatenation in the TN3270 PROC STEPLIB. Shame on me! Thanks again, I am learning enough to now be dangerous. Marty
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8391
Location: Dubuque, Iowa, USA

PostPosted: Tue May 08, 2018 11:36 pm    Post subject: Reply to: TN3270 starts and ends
Reply with quote

Thanks for letting us know!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
No new posts Starts DEBUGGING by Procedure Divisio... jackare Testing & Performance analysis 4 Sun Jan 10, 2016 10:37 pm
No new posts Vista tn3270 prino TSO/ISPF 1 Tue Apr 29, 2014 3:06 pm
No new posts TN3270 Terminal Emulator Software Vivek Anand IBM Tools 8 Tue Jun 11, 2013 10:24 am
No new posts CICS transaction ends with Deadlock dbzTHEdinosauer CICS 2 Mon Mar 12, 2012 7:19 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us