Package dev.galasa.cicsts
Interface ICeciResponse
public interface ICeciResponse
Represents the response from a CECI command
-
Method Summary
Modifier and TypeMethodDescriptioncheckAbended
(String abendCode) Throws an exception if the CECI response has not abended with the supplied codeThrows an exception if the CECI response is not "NORMAL"Throws an exception if the CECI response is an abendint
Returns the value of the Exec Interface Block field EIBRESPint
Returns the value of the Exec Interface Block field EIBRESP2Returns the text value of the CECI issues CICS API command, e.g.Returns a map containing the output of the CECI CICS API command response fields and their valuesboolean
isNormal()
Returns true if the CECI response is "NORMAL",
-
Method Details
-
isNormal
boolean isNormal()Returns true if the CECI response is "NORMAL",- Returns:
-
checkNormal
Throws an exception if the CECI response is not "NORMAL"- Throws:
CeciManagerException
-
checkNotAbended
Throws an exception if the CECI response is an abend- Throws:
CeciManagerException
-
checkAbended
Throws an exception if the CECI response has not abended with the supplied code- Throws:
CeciManagerException
-
getResponse
String getResponse()Returns the text value of the CECI issues CICS API command, e.g. "NORMAL",- Returns:
- the response
-
getEIBRESP
int getEIBRESP()Returns the value of the Exec Interface Block field EIBRESP- Returns:
- EIBRESP
-
getEIBRESP2
int getEIBRESP2()Returns the value of the Exec Interface Block field EIBRESP2- Returns:
- EIBRESP2
-
getResponseOutputValues
Map<String,ICeciResponseOutputValue> getResponseOutputValues()Returns a map containing the output of the CECI CICS API command response fields and their values- Returns:
-