Hello people, I hope you are all good,
I have a plain "PERFORM REMOVE TRANSACTIONS" (no conditional -WHERE- clauses so to remove them all), it ends with abend code 192 Message: FF0416 Severity: 08 - No Transactions match selection criteria.
According to WDI manual it's not required to include a selection criteria, but I don't need the abend either. So I decided to use IFCC(192) SETCC(0) to override it, this way:
PERFORM REMOVE TRANSACTIONS IFCC(192) SETCC(0)
Now it abends with Message TS0180 Severity: 08 - A mandatory WHERE or SELECTING keyword is missing or invalid in the following: IFCC(192) SETCC(0).
I tried splitting the statement as:
PERFORM REMOVE TRANSACTIONS
IFCC(192) SETCC(0)
same result.
According to the manual (sc23587300), pdf page 116, "REMOVE TRANSACTIONS": "The WHERE clause is optional for this command. If you do not specify a WHERE clause, all elegible transactions are removed from the Document Store".
Fine, but it seems to return a CCODE 192 when no transactions are found. So I tried to override according to the instructions on the same pdf page 49, "Overriding condition codes". But now I get the errors I last stated.
My final guess is, to override I need either a WHERE or SELECTING clause, otherwise IFCC is rejected.
Does anyone know if I'm right and, if I am, what type of WHERE or SELECTING may I use so to trick WDI into believing I want to select something when in fact I just want to select all transactions?
I only want to issue a PERFORM REMOVE TRANSACTIONS to remove them all, and to not get any abend if WDI finds no transactions to remove.
I hope I explained it clearly enough.
Thanks a lot in advance!