Topic
3 replies Latest Post - ‏2011-02-07T13:18:11Z by SystemAdmin
SystemAdmin
SystemAdmin
260 Posts
ACCEPTED ANSWER

Pinned topic BTS: "invalid" incomplete process

‏2010-11-23T11:12:12Z |
Hi All.
We use BTS to store intermediate data in the container. The flow is following:

First iteration of program:
1) Define process PRC1
2) Put container to PRC1
3) Program ends (no RUN PROCESS or whatever)

Second iteration:
1) ACQUIRE process PRC1
2) Get container, delete container
3) CANCEL process

The problem is that we see many empty processes in the repository (using utility DFHBARUP). Moreover, if we use CBAM, it abends on the first one such process: it shows only first one, if you "zoom" into it, "CBAM failed with abend AEXZ".

If we use another program which is "browse" all processes, the behaviour is the same: GETNEXT returns the name of the process, but when we ACQUIRE it we get AEXZ.

Looks like some inconistence between CICS memory (?) and repository dataset?

Any ideas, what is wrong?

Thank you.
Updated on 2011-02-07T13:18:11Z at 2011-02-07T13:18:11Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    260 Posts
    ACCEPTED ANSWER

    Re: BTS: "invalid" incomplete process

    ‏2010-12-20T13:44:39Z  in response to SystemAdmin
    Even worse.

    1) Define process
    2) Put container
    3) Delete container
    4) Cancel process
    All actions ended with RC=0

    2nd iteration

    1) Define the same process - failed as "process already defined", what is true
    2) ACQUIRE process - error, process DOES NOT EXISTS.

    Then, we have "broken" process in the repository.
    • SystemAdmin
      SystemAdmin
      260 Posts
      ACCEPTED ANSWER

      Re: BTS: "invalid" incomplete process

      ‏2010-12-20T13:47:13Z  in response to SystemAdmin
      in 2.1 i mean, that process is not, actually, defined as it was canceled. I mean that process still exists in repository after successful 'cancel'.
      • SystemAdmin
        SystemAdmin
        260 Posts
        ACCEPTED ANSWER

        Re: BTS: "invalid" incomplete process

        ‏2011-02-07T13:18:11Z  in response to SystemAdmin
        We did a workaround. Create a program with "reattach event.... return endactivity" and run this program instead of "Cancel", so, the process can end himself gracefully