With BARR/3270’s extensive communications diagnostics, you can monitor activity between the PC and mainframe, perform loopback tests on the adapter, cable, and modem, save a copy of memory to disk, record line trace on disk, display bind data, and send commands to VTAM.
The BARR Communication Scope shows the activity between your PC and the central host computer. With a look inside BARR/3270, you will not be dealing with a black box.
The BARR Communication Scope appears on the top line of the screen at Logon. When a message is sent, green characters appear; when a message is received, magenta characters appear. For a monochrome display, the message sent is standard, and the message received is in reverse video.
In this manual, the characters received are in reverse video and the characters sent are not.
The dial-up characters are the first characters you will see on the Communication Scope if you have a PC-SYNC internal modem. The dial-up characters appear white on a color screen.
A
B
D
N
R
DB
DRA
DRND
An SDLC physical unit is in one of two modes:
Normal
Disconnect Mode
Normal
Response Mode
0-7
Disc
Dm
Frmr
Rej
Rnr
Rr
Snrm
Snre
Ua
Undf
Xid
Xidr
!
A
C
E
N
Q
T
V
X
If the X Communication Scope message indicating Equipment Check is related to typing on the keyboard, you can use the TSR program BIOS_KEY from the BARR distribution disk. This program only turns interrupts off for brief periods of time.
DRAXidXidrSnrmUaRrRr00
Normal Dial-up Sequence.
DRAEETTTTTT
Modem answered but NRZI probably needs changing. See Section 5.3.
DRAXidXidrTTTTT
The Xid failed. Probably IDBLK and IDNUM are not correct. See Section 5.3.
RrRrRrRrRrRr
Line is idle. No information frames are being exchanged.
0123456RrRr7012345RrRr
Host is sending information. Remote is idle.
01234Rr4567012Rr5670123Rr
Both host and remote are sending information.
012E456RrRr3456701RrRr
Frame 3 received in error. Communication resumed at frame 3.
SnrmUaSnrmUa
We can hear the host but the host cannot hear us. Try setting the Constant RTS=Yes. See Section 6.5.
TTTTT
Try changing NRZI. Then ask about modem connection. See Section 5.3.0.
The BARR Communication Scope shows the activity between your PC and the central host computer. With a look inside BARR/3270, you will not be dealing with a black box.
The BARR Communication Scope appears on the top line of the screen at Logon. When a message is sent, green characters appear; when a message is received, magenta characters appear. For a monochrome display, the message sent is standard, and the message received is in reverse video. In this manual, the characters received are in reverse video and the characters sent are not.
COMMUNICATION SCOPE: StatSXidzXidrzXidXidXidrSabmeCOO |
0-7
A
Adap
C
Enn
EO9
E0C
E22
E43
E46
I
L
Pc
Ring
S
Sabme
Stat
T
Undf
Xid
Xidr
Xidz
Xidrz
StatIASXidzXidrzXidXidXidrC00
Normal connection if adapter has not been opened. IA indicates initialization and open.
StatSXidzXidrzXidXidXidrC00
Normal connection if adapter has been opened by other software (for example, network software).
StatSXidzE22
Indicates that the host Token Ring Address entered in the Communication Link cannot be located on the Ring.
StatSE43
Requested Service Access Point, SAP, is already in use. Other communication software may be using BARR default Service Access Point.
StatSE46
Resources are available to open a service access point. When adapter was first opened by LAN software too little memory was reserved.
The following example describes a common error condition at Logon.
Output on Console:
Reason: PU definition in VTAM specifies more LUs than the NCP MAXLU parameter.
Diagnostic programs built into BARR/3270 make it convenient to troubleshoot communications and hardware problems.
From the Diagnostics screen:
Select Communications Statistics.
The Communications Statistics command displays the statistics of the communications activity from the beginning of the BARR/3270 program. The statistics are helpful for showing the reliability and use of the communications line.
Press any key (except r), or press r to reset counts to 0.
Messages requiring explanation are described below. These messages are only relevant for SDLC.
buffers free
Number of free communication buffers in program.
checkpoint retransmissions
Number of times we started retransmission of SDLC information frames because a poll frame sent from the host did not acknowledge all previously sent frames. Probably a frame was received by the host with a CRC error.
equipment errors
Transmit underruns or receive overruns (X on Communication Scope); usually caused by LAN or hard disk turning off interrupts.
extra polls received
Number of times we received a second SDLC poll before we could send the previous poll back. This should always be zero.
frames received out of sequence
Number of SDLC information frames received with the wrong sequence number; a previous information frame probably had a CRC error. The out-of-sequence frames are discarded, and the host is asked to retransmit the lost frame.
full duplex frames received
Number of SDLC frames received while we have the poll and are able to transmit. For half-duplex operation, this will always be zero. If this remains zero after Logon during full-duplex operation, your remote is defined to the host as half duplex; the remote definition must be changed.
Rej frames received
Number of Rej frames received. Rej is sent in full-duplex SDLC when an information frame is rejected because it was received out of sequence.
Rej frames sent
Number of Rej frames sent. Rej is sent in full-duplex SDLC when an information frame is received out of sequence.
Rej retransmissions
Number of times we started retransmission of SDLC information frames after a Rej frame was received from the host. Probably a frame was received by the host with a CRC error. Rej is only used in full-duplex SDLC.
undefined frames received
Either undefined SDLC frames, or frames illegal in the current SDLC mode.
A trace of all information frames transferred between the host and remote can be written to the file named DUMP.
The file DUMP can be viewed in DOS background by the LIST program described in the Systems Integration Notes.
From the Diagnostics screen:
Select Line Trace.
Line Trace options:
Option |
Choice |
Description |
Trace |
Off |
Default |
|
On |
Trace data is written to file DUMP. |
Format |
Short |
Default. Only the first 59 bytes of information frame are written to disk. |
|
Full |
All bytes of information frame are written to disk. |
Filename |
|
You may override the default name DUMP by typing in another file name. |
Make choices.
Bind data defines the operation rules for each party on the session. This option displays the bind data. The bind data originates from the VTAM LOGMODE table, physical unit definition, and the RJE System.
From the Diagnostics screen:
Select Bind Data.
The screen displays all the bind data for all the LUs.
Use the up and down arrows to scroll through the LUs. The blank LU number shows typical bind data.
The bind data corresponds to the LOGMODE data (Mode Table Entry) described in Section 5.3.
Byte |
Values |
Description |
LOGMODE |
0 |
31 |
Bind command code |
|
1 |
01 |
Activation code is non-negotiable |
|
2 |
03 |
FM Profile |
FMPROF=X’03’ |
3 |
03 |
TS Profile |
TSPROF=X’03’ |
4 |
B1,91,A1 |
Primary LU protocol |
PRIPROT=X’B1’ |
5 |
90,A0,B0 |
Secondary LU protocol |
SECPROT=X’90’ |
6 |
30 |
Common LU protocol |
COMPROT=X’3080’ |
7 |
80 |
|
|
8 |
00-3F |
Terminal to VTAM pacing |
SSNDPAC=0 |
9 |
07,01-3F |
VTAM to terminal pacing PACING=7 |
SRCVPAC=7 |
10 |
87,86,85 |
Input buffer size |
RUSIZE=X’87F8’ |
11 |
F8,85 |
Output buffer size 85=256 F8=3840 |
|
12 |
00 |
Reserved |
|
13 |
00 |
Reserved |
|
14 |
02 |
LU type 02 |
PSERVICE=X’020000000000185000007E00’ |
15 |
00,80 |
No FM header |
X=’80’ for 3270 File Transfer |
16 |
00 |
Reserved |
|
17 |
00 |
Reserved |
|
18 |
00 |
Not used |
|
19 |
00 |
Not used |
|
20 |
18,20,2B,1B |
Default number of rows X’18’=24 X’20’=32 X’2B’=43 X’1B’=27 |
|
21 |
50,84 |
Default number of columns X’50’=80 X’84’=132 |
|
22 |
18,20,2B,1B |
Alternate number of rows X’18’=24 X’20’=32 X’2B’=43 X’1B’=27 |
|
23 |
50,84 |
Alternate number of columns X’50’=80 X’84’=132 |
|
24 |
7E,7F,00,03 |
Session screen size X’7E’=default X’7F’=Alternate 03=Unspecified 00=24x80 |
|
25 |
00 |
Reserved |
|
The most common use of the VTAM commands is sending the IBM test command to verify that VTAM is operating. It will return a message with the 48 most common characters. Commands can be sent from any of the active logical units.
From the Diagnostics screen:
Select VTAM Commands.
Type logical unit number and command.
Technical support personnel at Barr Systems, Inc. can diagnose unusual communications problems by examining a copy of memory.
From the Diagnostics screen:
Select Memory Dump.
BARR/3270 writes a copy of memory to disk in a file named DUMP. Then copy this file to a diskette and send it to Barr Systems, Inc.