Scheduler trace
When you use the /TRACE SET ON TABLE SCHD command, IMS enables the scheduler trace. When you specify OPTION LOG, IMS sends these entries to the log as type X'67FA' records.
Scheduler trace record formats
The following code samples show the formats of the scheduler trace records for function codes X'41' through X'4B'.
Scheduler trace record format for function code X'41'
TRACE ID = X'41'
word 0 — byte 1 - X'41' Scheduling starts, traced by DFSSBMP0
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — SCHD must be addressable by caller
word 2 — Reserved
word 3 — SAPCNTRL
words 4-5 — Reserved
word 6 — Module identifier
word 7 — Store clock value
Scheduler trace record format for function code X'42'
TRACE ID = X'42'
word 0 — byte 1 - X'42' Block mover, traced by DFSSBMP0,
DFSSBMP0, DFSSMSC0
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — byte 1 - PDIRCODE
byte 2 - PDIROPTC
byte 3 - PSTSCHDF
byte 4 - PSTCODE1
word 2 — PSTPSB
word 3 — PSTSMB
words 4-5 — Reserved
word 6 — Module identifier
word 7 — Store clock value
Scheduler trace record format for function code X'43
TRACE ID = X'43'
word 0 — byte 1 - X'43' Scheduling ends
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — PSTABTRM
word 2 — PSTPSB
word 3 — SAPCNTRL
words 4-5 — Reserved
word 6 — Module identifier
word 7 — Store clock value
Scheduler trace record format for function code X'44'
TRACE ID = X'44'
word 0 — byte 1 - X'44' IRC started
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — SSIMCOMP
word 2 — Reserved
word 3 — SAPCNTRL
words 4-5 — Reserved
word 6 — Module identifier
word 7 — Store clock value
Scheduler trace record format for function code X'45'
TRACE ID = X'45'
word 0 — byte 1 - X'45' TMS00 started
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — A(PST)
word 2 — Sync point function code (COMMIT/P1/P2/BACKOUT)
word 3 — Caller of TMS00
word 4 - TPI (first four bytes)
word 5 - TPI (last four bytes)
word 6 — Module identifier
word 7 — Store clock value
Scheduler trace record format for function code X'46'
TRACE ID = X'46'
word 0 — byte 1 - X'46' TMS00 finished
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — A(PST)
word 2 — Sync point function code (COMMIT/P1/P2/BACKOUT)
word 3 — Return code
word 4 - TPI (first four bytes)
word 5 - TPI (last four bytes)
word 6 — Module identifier
word 7 — Store clock value
Scheduler trace record format for function code X'47'
TRACE ID = X'47'
word 0 — byte 1 - X'47' APPC extract call made
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — Function code (FPRETRY/PUSER)
word 2 — Abend code (PSTABTRM)
word 3 — Return code from DFSTMR00
word 4 - Return code from APPC extract call
word 5 - Reserved
word 6 — Module identifier
word 7 — Store clock value
Scheduler trace record format for function code X'48'
TRACE ID = X'48'
word 0 — byte 1 - X'48' Scheduling failed
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — byte 1 - PDIRCODE
byte 2 - PDIROPTC
byte 3 - PSTSCHDF
byte 4 - PSTCODE1
word 2 — PSTPSB
word 3 — PSTSMB
words 4-5 - Reserved
word 6 — Module identifier
word 7 — Store clock value
Scheduler trace record format for function code X'49'
TRACE ID = X'49'
word 0 — byte 1 - X'49' Schedule Serial Program
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — Address of the PSB
word 2 — RM update return code
word 3 — RM update reason code
word 4 - Address RM parameter list
word 5 - Address RM List Header
word 6 — Module ID 'SPM0'
word 7 — Store clock value
Scheduler trace record format for function code X'4A'
TRACE ID = X'4A'
word 0 — byte 1 - X'4A' Release Serial Program
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — Address of the PSB
word 2 — RM delete return code
word 3 — RM delete reason code
word 4 - Address RM parameter list
word 5 - Address RM List Header
word 6 — Module ID 'SPM0'
word 7 — Store clock value
Scheduler trace record format for function code X'4B'
TRACE ID = X'4B'
word 0 — byte 1 - X'4B' Release Notify
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — Address of the PSB
word 2 — Address of Tran name
word 3 — SCI delete return code
word 4 - SCI delete reason code
word 5 - Address Notify message area
word 6 — Module ID 'SPM0'
word 7 — Store clock value
Scheduler trace record format for function code X'4C'
TRACE ID = X'4C'
word 0 — byte 1 - X'4C' Catalog PSB Dynamic Attach
byte 2 - PST number
bytes 3-4 - Trace sequence number
word 1 — bytes 1-2 - PDIR code
byte 3 - Schedule failure code
byte 4 - Schedule special processing code
word 2 — Address of the PSB
word 3 — Address of the catalog PDIR
words 4-5 — Reserved
word 6 — Module ID
word 7 — Store clock value
Example of a scheduler trace
****************************************************
***TRACE PRINTED FROM OLDEST TO MOST CURRENT ENTRY**
****************************************************
FUNCTION WORD 0 WORD 1 WORD 2 WORD 3
WORD 4 WORD 5 WORD 6 WORD 7
BLOCK MOVER 4207E98A 44060000 16F90598 00800041
00000000 00000000 00000000 F89569D5
SCHED END 4307E994 00000000 16F90598 00800001
00000000 00000000 00000000 F8956BD3
SCHED START 4156F4D0 E2C3C8C4 16920060 00800001
00000000 00000000 00000000 F89973E5
BLOCK MOVER 4256F4DE 44060000 170305E8 00800041
00000000 00000000 00000000 F89979DA
SCHED END 4356F4E8 00000000 170305E8 00800001
00000000 00000000 00000000 F8997B43
IRC START 44560737 00000000 00000000 00800001
00000000 00000000 16CAF7A0 F8A95716
IRC START 4407077F 00000000 00000000 00800001
00000000 00000000 16CAF7A0 F8A9CA44
SCHED START 4107078C E2C3C8C4 15AB5060 00800001
00000000 00000000 00000000 F8A9D45F
BLOCK MOVER 4207079A 44060000 16F90598 00800041
00000000 00000000 00000000 F8A9DF19
SCHED END 430707A4 00000000 16F90598 00800001
00000000 00000000 00000000 F8A9E0C4
SCHED START 417007B5 E2C3C8C4 15A48060 00800001
00000000 00000000 00000000 F8AA4B87
BLOCK MOVER 42700804 44060000 16F91740 00800041
00000000 00000000 00000000 F8AB0631
SCHED END 4370080E 00000000 16F91740 00800001
00000000 00000000 00000000 F8AB07C2
IRC START 447008CE 00000000 00000000 00800001
00000000 00000000 16CAF7A0 F8ABC593
SCHED START 417008DB E2C3C8C4 15A48060 00800001
00000000 00000000 00000000 F8ABCDC0
BLOCK MOVER 427008E9 44060000 16F91740 00800041
00000000 00000000 00000000 F8ABD209
SCHED END 437008F3 00000000 16F91740 00800001