Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > DSELF

 

 

Purpose

DSELF deselects a file.
 

Syntax

DSELF
 

Remarks

The DSELF statement can only be used in file logic at the following points in the cycle:

Before Read;  the current file is not read or written to and any After Read and Before Write logic is bypassed.

On Read Error;  writing to the file is by-passed and Before Write logic is not executed.  The standard file error message is suppressed.

After Read;  writing to the file is by-passed and Before Write logic is not executed.

Before Write;  writing to the file is by-passed.

After Write;  display of system error messages is suppressed.

When DSELF is invoked, it remains active for the execution of the current iteration of a cycle.
 

Example

IF FILEDATE < @DATE THEN DSELF;
 

 

DSELF is ignored when executed in file logic of the primary file in a Paging Cycle.

 

Comment on this topic

Topic ID: 520049

 
 
 

Table of Contents

Index

Glossary

-Search-

Back