ITTUWRIT is one of a set of services that an unauthorized program can use to write CTRACE output. The other services in the set are ITTUINIT and ITTUTERM. The services must be invoked under the same task in problem state.
Use the ITTUWRIT service to queue a group of CTRACE entries. Whenever new CTRACE entries overflow a buffer, recording of the entries occurs.
The caller of ITTUWRIT provides the token returned by the ITTUINIT service and the address of the storage area containing the ITTCTE entries.
Multiple calls to the ITTUWRIT service can be made to write the CTRACE entries. When ITTUWRIT is in control, the system writes the ITTCTE entries from the storage area passed to ITTUWRIT into the CTRACE output buffers immediately. If necessary, the system may need to discard trace entries because of timing considerations or error conditions such as I/O errors or storage overlays. ITTUWRIT adds control information to the trace data set whenever data losses occur, if possible.
The requirements for the caller are:
Environmental factor | Requirement |
---|---|
Minimum authorization: | Problem state with PSW key 8-15 |
Dispatchable unit mode: | Task |
Cross memory mode: | PASN=HASN=SASN |
AMODE: | 24- or 31-bit |
ASC mode: | Primary |
Interrupt status: | Enabled for I/O and external interrupts |
Locks: | No locks held |
Control parameters: | Must be in the primary address space. |
The caller cannot have any enabled, unlocked task (EUT) FRRs established.
Before linking to ITTUWRIT, the caller does not have to place any information into any access register (AR).
Some callers depend on register contents remaining the same before and after issuing a service. If the system changes the contents of registers on which the caller depends, the caller must save them before issuing the service, and restore them after the system returns control.
None.
>>-label--------------------------------------------------------> >--+-LINK--EP--=--ITTUWRIT--,--MF--=--(--E--,--parmarea--)--------------------------------------+->< '-LINKX--EP--=--ITTUWRIT--,--MF--=--(--E--,--parmarea--)--+--------------------------------+-' '-,--SF--=--(--E--,--parmlist--)-'
The parameters are explained as follows:
When the ITTUWRIT service returns control to your program, Register 15 contains a return code.
Decimal Return Code | Meaning and Action |
---|---|
00 | Meaning: The ITTUWRIT request completed
successfully. Action: None required. |
16 | Meaning: Warning. The ITTUWRIT request
did not complete successfully. Action: Reissue ITTUWRIT. |