Gary_Cherlet

R18 WTOEXIT and Archive Trace Utility

Discussion created by Gary_Cherlet on Oct 15, 2012
The new R18 WTOEXIT distributed with CA IDMS has been updated to automate the offloading of trace information from the DDLDCTRC area.
It now performs the following activities:

(*) Searches for DC050024 messages indicating that the trace area has reached a certain percent full
(*) Submits the contents of the file whose ddname is PTRCJOB to the internal reader if the percent is 25 or more.

To use this sample exit, you must add a PTRCJOB DD statement to your DC/UCF system startup JCL. The contents of the associated file should include a command facility job stream that executes the ARCHIVE TRACE utility.

Since we are not using this facility, we have added a [font=Courier New]//PTRCJOB DD DUMMY[font] to our IDMS-CV start-up PROCs

Cheers - Gary - per outsourcer DBA's

More on Archive Trace utility follows

ARCHIVE TRACE
The ARCHIVE TRACE utility offloads the contents of the DC/UCF trace area to an archive file.
Authorization: You Need DBAWRITE Privilege To archive trace information On SYSTEM.DDLDCTRC area

Note: To execute the ARCHIVE TRACE utility, use the same JCL used to execute an ARCHIVE LOG (see page 48) utility, but substitute a DD statement for the archive file in place of the log file, unless dynamic allocation is used.
ARCHIVE TRACE Syntax
The following diagram shows the syntax for the ARCHIVE TRACE utility statement:
[font=Courier New]►►─ ARCHIVE TRACE ─┬─────────┬────────────────────────────────────►◄ └─ PRINT ─┘[font]

ARCHIVE TRACE Parameter
This section describes the parameters for the ARCHIVE TRACE utility:
PRINT
Prints a copy of the contents of the archived trace information. If you do not specify PRINT, a copy of the archived trace information is not printed.
Note: For a description of the output produced by the PRINT option of the ARCHIVE TRACE utility, see the PRINT TRACE Utility (see page 221).

[font=Courier New]
PRINT TRACE; CA IDMS DB/DC Print Trace Utility CA IDMS DB/DC is a Proprietary Software Product DATE TIME AGE CAGJI0 Release 1800 Licensed from CA, Inc. 01/19/10 14:31:32 1

*** DDLDCTRC AREA FROM PAGES 000060001 TO 000062000
*** FIRST AND LAST PAGES SELECTED ARE 000060019 AND 000060041
*** Trace entries generated on: 2010-01-19

TRACE ENTRIES, ORDERED OLDEST TO NEWEST.

TASKID/TOD TIME/DATE SCA A(LTE) MOD MAC CALL R11/R2 R12/R3 R13/R4 R14/R5 R15/R6 R0/R7 R1/R8 TOD CLOCK

19.31.33.776391 00 122 292 22 13 801D8208 38BD5456 36EC82AC B8BD5500 382B4CB8 00027350 001D820C C5699CD3C0807706
SYSTEM73 36E2B7C8 MTSY TSKCEP1 36E99D88 00000000 0025E0C0 36E99D88 3701CFBC 39C07000 B8265E42
19.31.33.776391 00 122 5 240 1 801D8208 382B4CB8 36EC82D8 B82B4CC8 382B4CB8 00027350 001D820C C5699CD3C0807786
SYSTEM73 36E2B7C8 TSKC #GETSTK 36E99D88 00000000 0025E0C0 36E99D88 3701CFBC 39C07000 B8265E42
19.31.33.776391 00 122 5 12 4 36EC82D4 382B4CB8 36EC8320 B82B5326 3825C888 0025E030 36EC82D8 C5699CD3C0807906
SYSTEM73 36E2B7C8 TSKC RMGREP2 0025E680 0025E000 0025E700 000263F0 00000000 00000000 00000000
19.31.33.776393 00 122 5 9 5 36EC82D4 382B4CB8 36EC8320 B82B5558 38289CB8 00000000 00000000 C5699CD3C0809686
SYSTEM73 36E2B7C8 TSKC TIMPGET 0026EEC8 00000063 0025E700 0026E9C0 00000000 00000000 00000000
19.31.33.776393 00 122 14 240 1 0000003C 38289CB8 36EC834C B8289CCC 38289CB8 00000000 00000000 C5699CD3C0809706
[font]

Outcomes