26 lines
653 B
Plaintext
26 lines
653 B
Plaintext
== Why is this an issue?
|
|
|
|
When calling a CICS command other than ``++RETURN++``, ``++ADDRESS++``, or ``++ABEND++``, either ``++RESP++`` should be used to specify where the response code should be written, or ``++NOHANDLE++`` should be used to specify that abnormal conditions should be ignored.
|
|
|
|
|
|
=== Noncompliant code example
|
|
|
|
[source,text]
|
|
----
|
|
EXEC CICS DELETEQ TS *> Noncompliant
|
|
QNAME(WS-TS5FTARF-NAME)
|
|
END-EXEC.
|
|
----
|
|
|
|
|
|
=== Compliant solution
|
|
|
|
[source,text]
|
|
----
|
|
EXEC CICS DELETEQ TS
|
|
QNAME(WS-TS5FTARF-NAME)
|
|
RESP(WS-STATUS)
|
|
END-EXEC.
|
|
----
|
|
|