persistent

The property persistent indicates whether the field is included in the implicit SQL statements generated for the SQL record. If the value is yes, an error occurs at run time in this case:

Set persistent to no if you want to associate a temporary program variable with an SQL row without having a corresponding column for the variable in the database. You might want a variable, for example, to indicate whether the program has modified the row.

For details on implicit SQL statements, see SQL support.

Related concepts
Compatibility with VisualAge Generator
Record types and properties
SQL support
Fixed structure
Typedef

Related tasks
Retrieving SQL table data

Related reference
Field-presentation properties
add
close
Data initialization
delete
execute
get
get next
open
prepare
Primitive types
Record and file type cross-reference
replace
set
SQL data codes and EGL host variables
terminalID
VAGCompatibility

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.