Print Page as PDF
Check for Existing Pointers ICR (6876)

Check for Existing Pointers    ICR (6876)

Name Value
NUMBER 6876
IA # 6876
DATE CREATED 2018/02/15
CUSTODIAL PACKAGE VA FILEMAN
USAGE Supported
TYPE Routine
DBIC APPROVAL STATUS APPROVED
ROUTINE DIUTL
NAME Check for Existing Pointers
GENERAL DESCRIPTION
The CHKPT^DIUTL API will find all entries that point to
a record.
STATUS Active
KEYWORDS
  • POINTER
  • DIUTL
ID DIUTL
COMPONENT/ENTRY POINT
COMPONENT/ENTRY POINT COMPONENT DESCRIPTION VARIABLES
CHKPT
The CHKPT^DIUTL API checks what entries points to a
particular record. It returns an array of records as either text or detailed.

The text array will look like:
ARRAY(0)=line count
ARRAY(line #)="Entry" record ien "in FILE (" file ") refers to it"

The detailed array will look like:
ARRAY(0)=record count
ARRAY(pointer from file #, pointer from ien, dd/subdd #, field #)=""

Format  CHKPT^DIUTL(FILE,IEN,MSG_ROOT,FLAG)

The FLAG parameter was added with patch DI*22.2*19
VARIABLES TYPE VARIABLES DESCRIPTION
FILE Input
(required) VA FileMan file number.
IEN Input
(required) Internal Entry Number (IEN) of the record.

MSG_ROOT Input
(required) Closed global root or local array name
that will hold the results.
FLAG Input
(optional) Output format
1=detailed, 0=text (default)
DATE ACTIVATED 2018/03/05