Writing User Modules › How to Write Procedure Modules › How Information Is Passed
How Information Is Passed
Communication between CA Culprit and a procedure module is effected by an argument list that is set up by CA Culprit and accessed by the module. Before calling a procedure module, CA Culprit supplies a list of one fixed argument and nine user-supplied arguments that consist of system and user-supplied information:
- The fixed argument is the starting address of the CA Culprit input buffer, which makes it possible for any field in the input buffer to be accessed by the procedure module.
- The user-supplied arguments can point to numeric or alphanumeric work fields, literals, numeric constants, or individual fields from the input record. Once the address of a field is passed to the procedure module, the contents of the field can then be processed or modified by the module.
Copyright © 2014 CA.
All rights reserved.
|
|