I would like for the business logic but it records added I want to perform this business logic so that you may have up to activates yet in our experience which becomes fast very quite unmanageable and there is no reason why you ought to have over seven causes on a document so that you may really have a before and after trigger for fit you may have a hotel before and after cause for upgrade.
You’ll have before and after trigger for downloading and you’ve got it one activate for read and what you’d do then in the event that you would like to add more performance when a document is added rather than adding another trigger which brings about a different application you’d advocate the first app to bring the excess small business logic in so we could actually do two distinct things acceptable.
This program program now which will take care of the data passed you from the trigger but also the operating system alright this is far simply compose an REG from COBOL CL program whatever you wish to do in order to process the information today how can your app managed IBM i (AS/400) receive the information nicely what happens is your operating system will pass your app so any app that you write to manage activates always must get two parameters.
The first parameter is an excellent big long series now that series has to be long enough to hold both before and the following image of this document that you are likely to be operating with if your urge is the strength should be and about other few hundred characters to maintain other control data and it is going to also pass another area as another parameter.
What occurs within this condition of series well in the start of the data series you have got these five disciplines to begin with so at the start of the first ten characters of this information past you you’ve got the title of the document being triggered along with the library of the document being triggered today if you just had one activate application to get a document you would not really should use.