You can use TPHASE = 'H' in CLIP2 to identify if the user entered a manual HOLD on the request. This capability was added with Alchemist 5.3.1 PTF SU02466 and 5.2.1 PTF SU02437.
CLIP2 is invoked when a request is released (E) or held (H). Held indicates that the request is done as far as input is concerned, don't process it yet but begin gathering approvals.
So it all depends upon how your CLIP2 is coded. This fix added exactly the capabilities that you need:
Alchemist 5.3.1 PTF SU02466 and 5.2.1 PTF SU02437:
When a user enters a change request and does a manual HOLD, Clip 2 is invoked. Clients would like the ability to tell if their users entered a manual HOLD on the request.
In this case, they could choose to not send any authorization notice and wait for the release to do so.
This change will provide this ability. Sample PCL to test for a manual hold would look like:
// SET TPHASE = ASRRID.PHASE<<F,L>> //* TEST FOR MANUAL HOLD. // IF TPHASE = 'H' //* MANUAL HOLD IS TRUE // ELSE //* MANUAL HOLD IS NOT TRUE // ENDIF
IF TPHASE = 'H' then EXIT 8. This will result in no authorizations being set or emails sent.
In the ELSE part of the IF, you can place the regular security checking and email sending that will be done when the request is released (E).
Release: NVINAM00200-5.2-TPX-Session Management-Access Management package