Hercules User Reference Guide - The Hercules System/370, ESA


Add to my manuals
515 Pages

advertisement

Hercules User Reference Guide - The Hercules System/370, ESA | Manualzz

7.117 T{+/-} dev (Turn CCW tracing on or off)

7.117.1 Function

This command turns the CCW tracing for a certain device on (T+dev) or turns it off (T-dev). It is possible to trace several devices concurrently. To enable the tracing of more than one device the T+ command must be issued for each device. The traces can be turned off independently of each other.

This function is similar to the CCW stepping described in section 7.88. The difference between these two

function is that with CCW stepping the execution of every CCW has to be initiated by hitting ENTER on the Hercules console, whereas CCW tracing – once started – traces the instructions without interruption.

Please note that the tracing function will create an enormous amount of output in the Hercules log.

7.117.2 Syntax

Descriptive

T{+ | -} devaddr

Diagram

Êʬ¬¬ T ¬¬¬§¬¬¬ + ¬¬¬§¬¬¬

¬¬¬ - ¬¬¬¯ devaddr

¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ

7.117.3 Parameter

devaddr

+

-

This is the address of the device for which the CCW tracing is to be turned on or off.

The plus sign turns on the CCW tracing for the given device. The plus sign must imme-diately follow the T command (without an intervening blank).

The minus sign turns off the CCW tracing for the given device. The minus sign must immediately follow the T command (without an intervening blank).

7.117.4 Examples

Example 1:

Turn on the CCW tracing for device 0148.

t+0148

HHCPN136I CCW tracing is now on for device 0148

0148:start i/o file[0] bufcur -1 cache[-1]

HHCCP048I 0148:CCW=02000000 60000018=>02000000 60000018 00000000 00000000 ....-...........

0148:HHCDA038I seeking to cyl 0 head 0

0148:read trk 0 (asynchronous)

Hercules Emulator V3.09 – User Reference Guide Page 358

0148:0 rdtrk 0

0148:0 rdtrk[0] 0 cache miss

0148:0 rdtrk[0] 0 buf 00DA4FA0 len 56832

0148:trk[0] read_trkimg

0148:file[0] l2[0,0] trk[0] read_l2ent 0x710

0148:file[0] read_l2 0 active -1 -1 -1

0148:l2[0,0] cache[0] miss

0148:file[0] fd[5] read, off 0x710 len 2048

0148:file[0] cache[0] l2[0] read offset 0x710

0148:file[0] l2[0,0] trk[0] read_l2ent 0xf10 3057 3057

0148:file[0] fd[5] read, off 0xf10 len 3057

0148:0 rdtrk[0] 0 complete buf 00DA4FA0:0100000000

0148:uncompress comp 1 len 3057 maxlen 56832 trk 0

0148:newbuf malloc 00DBCEC8 len 56832

0148:uncompress zlib newlen 6491 rc 0

0148:validating trk 0 len 6491 0000000000 0000000000000008

0148:read trk 0 uncompressed len 6491

0148:HHCDA041I read count orientation is index

0148:HHCDA043I cyl 0 head 0 record 0 kl 0 dl 8 of 0

0148:HHCDA043I cyl 0 head 0 record 1 kl 4 dl 24 of 0

0148:HHCDA045I read data 24 bytes

HHCCP075I 0148:Stat=0C00 Count=0000 =>00080000 8000015A 06004A98 60000060 .......!...q-..-

HHCCP048I 0148:CCW=06004A98 60000060=>00000000 00000000 00000000 00000000 ................

0148:HHCDA041I read count orientation is data

0148:HHCDA043I cyl 0 head 0 record 2 kl 4 dl 144 of 0

0148:HHCDA045I read data 144 bytes

.

.

.

0148:HHCDA041I read count orientation is count

0148:HHCDA043I cyl 0 head 0 record 1 kl 4 dl 24 of 0

HHCCP075I 0148:Stat=0C00 Count=0000

HHCCP048I 0148:CCW=08004AA0 00000000=>31004ABE 40000005 08004AA0 00000000 .... ...........

HHCCP048I 0148:CCW=31004ABE 40000005=>00000000 04000000 00000000 00000000 ................

0148:HHCDA041I read count orientation is count

0148:HHCDA043I cyl 0 head 0 record 2 kl 4 dl 144 of 0

HHCCP075I 0148:Stat=0C00 Count=0000

HHCCP048I 0148:CCW=08004AA0 00000000=>31004ABE 40000005 08004AA0 00000000 .... ...........

HHCCP048I 0148:CCW=31004ABE 40000005=>00000000 04000000 00000000 00000000 ................

0148:HHCDA041I read count orientation is count

0148:HHCDA043I cyl 0 head 0 record 3 kl 4 dl 80 of 0

HHCCP075I 0148:Stat=0C00 Count=0000

HHCCP048I 0148:CCW=08004AA0 00000000=>31004ABE 40000005 08004AA0 00000000 .... ...........

HHCCP048I 0148:CCW=31004ABE 40000005=>00000000 04000000 00000000 00000000 ................

0148:HHCDA041I read count orientation is count

0148:HHCDA043I cyl 0 head 0 record 4 kl 0 dl 6170 of 0

HHCCP075I 0148:Stat=4C00 Count=0000

HHCCP048I 0148:CCW=06000000 20002F55=>00080000 8000015A 06004A98 60000060 .......!...q-..-

0148:HHCDA045I read data 6170 bytes

HHCCP075I 0148:Stat=0C00 Count=173B =>00080000 800005EC 40404040 F0F04040 ........ 00

0148:end i/o bufcur 0 cache[0] waiters 0

Figure 179: T+ dev command

Hercules Emulator V3.09 – User Reference Guide Page 359

Example 2:

Turn off the CCW tracing for device 0148.

2007/06/30 14:21:05.156 00000FC4 t-0148

2007/06/30 14:21:05.156 00000FC4 HHCPN136I CCW tracing is now off for device 0148

Figure 180: T- dev command

Example 3:

Turn on the CCW tracing for several devices.

2007/06/30 14:23:15.246 00000FC4 t+0148

2007/06/30 14:23:15.246 00000FC4 HHCPN136I CCW tracing is now on for device 0148

2007/06/30 14:23:15.246 00000FC4 t+0561

2007/06/30 14:23:15.246 00000FC4 HHCPN136I CCW tracing is now on for device 0561

Figure 181: T+ dev command (several devices)

Hercules Emulator V3.09 – User Reference Guide Page 360

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

advertisement

Table of contents