ITTUINIT is one of a set of services that an unauthorized program can use to write CTRACE output. The other services in the set are ITTUWRIT and ITTUTERM. The services must be invoked under the same task in problem state.
Use the ITTUINIT service to activate external CTRACE recording. Once ITTUINIT has been invoked, multiple calls to the ITTUWRIT service can be made to write the CTRACE entries. The ITTUTERM service is invoked to end external CTRACE recording.
The caller of ITTUINIT provides a data structure containing parameters for the service. At the conclusion of its processing, ITTUINIT returns information for the user in the same data structure.
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. |
DSECT=NO may be specified for initial values.
The caller cannot have any enabled, unlocked task (EUT) FRRs established.
Before linking to ITTUINIT, 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--=--ITTUINIT--,--MF--=--(--E--,--parmarea--)--------------------------------------+->< '-LINKX--EP--=--ITTUINIT--,--MF--=--(--E--,--parmarea--)--+--------------------------------+-' '-,--SF--=--(--E--,--parmlist--)-'
The parameters are explained as follows:
When the ITTUINIT service returns control to your program, Register 15 contains a return code.
Decimal Return Code | Meaning and Action |
---|---|
00 | Meaning: The ITTUINIT request completed
successfully. Action: None required. |
16 | Meaning: Warning. The ITTUINIT request
did not complete successfully. Action: Reissue ITTUINIT. |