Interface ICemt


public interface ICemt
  • Method Details

    • inquireResource

      CicstsHashMap inquireResource(@NotNull @NotNull ICicsTerminal cemtTerminal, @NotNull @NotNull String resourceType, @NotNull @NotNull String resourceName) throws CemtException
      Inquire a CEMT resource using the resource type and name. This does not support inquiries of multiple resources at once.
      Parameters:
      cemtTerminal - an ITerminal object logged on to the CICS region and in an active CEMT session. If mixed case is required, the terminal should be presented with no upper case translate status. For example, the test could first issue CEOT TRANIDONLY
      resourceType - a String of the resource type you are looking for.
      resourceName - a String of the name of the resource you are looking for.
      Returns:
      null if the resource is not found.
      Throws:
      CemtException
    • setResource

      CicstsHashMap setResource(@NotNull @NotNull ICicsTerminal cemtTerminal, @NotNull @NotNull String resourceType, String resourceName, @NotNull @NotNull String action) throws CemtException
      Set the state of a CEMT resource using the resource type and name.
      Parameters:
      cemtTerminal - an ITerminal object logged on to the CICS region and in an active CEMT session. If mixed case is required, the terminal should be presented with no upper case translate status. For example, the test could first issue CEOT TRANIDONLY
      resourceType - a String of the type of resource you want to set.
      resourceName - a String of the name of the resource you want to set. Can be null for example SET DB2CONN ....
      action - a String of the action you want to perform on the resource.
      Returns:
      a CicstsHashMap object containing all of the properties of the resource.
      Throws:
      CemtException
    • discardResource

      void discardResource(@NotNull @NotNull ICicsTerminal cemtTerminal, @NotNull @NotNull String resourceType, @NotNull @NotNull String resourceName) throws CemtException
      Discards a specified resource and throws an exception if the specified search text is not found on the terminal.
      Parameters:
      cemtTerminal - an ITerminal object logged on to the CICS region and in an active CEMT session. If mixed case is required, the terminal should be presented with no upper case translate status. For example, the test could first issue CEOT TRANIDONLY
      resourceType - a String of the type of resource you want to discard.
      resourceName - a String of the name of the resource you want to discard.
      Throws:
      CemtException
    • performSystemProperty

      boolean performSystemProperty(@NotNull @NotNull ICicsTerminal cemtTerminal, @NotNull @NotNull String systemArea, @NotNull @NotNull String setRequest, @NotNull @NotNull String expectedResponse) throws CemtException
      Parameters:
      cemtTerminal - an ITerminal object logged on to the CICS region and in an active CEMT session. If mixed case is required, the terminal should be presented with no upper case translate status. For example, the test could first issue CEOT TRANIDONLY
      systemArea - a String the specifies the system area.
      setRequest -
      expectedResponse -
      Returns:
      boolean
      Throws:
      CemtException