Equinox Online Help - Language Reference - A to Z

Home

ProfileEventStart

Applies to
SyntaxProfileEventStart EventNumber
Action[Statement] Adds a trace start event to the profile history
ScopeUsable anywhere
Notes

Supply EventNumber as a number between 6100 and 6199. This is the number used in the logs, to differentiate it from server requests and form events. Alternatively, use 0 to 99, which will be converted.

The statement ProfileEvent may be used to add a text description and configure the event.

The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero.

CategoryProfiling
See Also ProfileEvent, ProfileEventStop, ProfileMessage, ProfileLog, ProfilePause, ProfileResume, ProfileReset, ProfileStatus
Example
ProfileEvent 6100, "Call ppCalculate"

subtable Customer
FirstRecord

while not SysError
ProfileEventStart 6100
ppCalculate
ProfileEventStop
nextrecord
end while

ProfileEventStop
end subtable | Customer