Skip to main content

I5002

I5002 = 5002
const I5002: String = '5002';

Example

procedure ScriptEvent(var Value: variant);
var
IssueCode: string;
IssueNum: integer;
begin
IssueCode := I5002; // '5002'
IssueNum := StrToInt(IssueCode); // 5002 for integer APIs
Value := IssueCode + ':' + IntToStr(IssueNum);
end;

Usage

I5002 is the script-visible String code '5002' for Issue 5002 (File Lock).

Operational boundary

The code does not identify the process holding a file, wait, release handles or retry. Record the safe path/context and operation without leaking sensitive content.

Fresh-build and v1.9 definitions agree. GetIssueLevel still queries the live row and returns 6 when absent; the same numeric result does not prove that the definition exists.

The constant carries no exception, stack trace, record key, file, SQL, endpoint, retry count or correlation ID. The caller must add actionable context and decide rollback/retry/escalation based on the actual operation.

Additional Technical Info

I5002 is the script-visible String constant '5002' for the VxData Issue definition File Lock. It classifies a file access blocked by locking; it does not detect, catch, log, recover from or retry the failure.

Native/import source supplies digit text although the generated index omits quotes. The example was source-reviewed and not executed.

Definition

PropertySource value
Script type/valueString / '5002'
Integer Issue number5002
DescriptionFile Lock
Status6Status_Error
AdminUrl/Administration/SystemErrors

Issue lifecycle and safe diagnostics

Integer APIs require 5002 or explicit StrToInt(I5002). The local Scriptlet CreateIssue logs and optionally inserts without querying severity; InvoiceIssue uses configured severity and deferred persistence. Neither catches the underlying failure.

  • Prefer the most specific of 5001-5003; use 5000 only when evidence does not support a narrower category.
  • Preserve original exception details in governed logs while keeping user-facing issue text concise.
  • Retry only where the operation is idempotent or compensation is defined.
  • Include safe identifiers, timestamps and correlation data; exclude passwords, tokens, connection strings and sensitive payloads.
  • Do not claim recovery merely because an Issue was logged.

Related entries

No Delphi/Free Pascal equivalent exists; this is Velox-owned.

Created 2026-07-15