Programming Guide



sm_dd_able

Turns LDB write-through on or off for all LDBs

int sm_dd_able(int flag);

flag
Specifies whether to turn LDB processing on or off:

0

Turn processing off; no data is exchanged between screens and LDBs.

1

Turn processing on for all LDBs loaded into memory.


Description

sm_dd_able enables or disables data exchange between screens and all loaded LDBs according to the value of flag.

Individual LDBs can have their write-through capability selectively turned on or off via sm_ldb_state_set, but attempting activate write-through for an LDB will not work if sm_dd_able has already been called to turn processing off for all loaded LDBs.

For more information about LDB processing, refer to "Using Local Data Blocks" in Application Development Guide.

See Also

sm_ldb_state_set