HP RPG/XL Programmer's Guide (30318-90001)

3- 51
11 This line specifies that exception output is performed when
indicator 0 is turned on.
12 This line unlocks the database, MARKET, when indicator 80 is
turned on.
Columns 10-11 contain 80 to condition the UNLCK operation.
Columns 28-32 contain UNLCK to specify the unlock operation.
Columns 33-42 contain DACCOUNT to identify the data set to
unlock.
Columns 43-48 contain MARKET to identify the database to unlock.
Column 51 is 1 for the field length (always use 1).
Columns 56-59 contain the same indicators used in line 10 and
they function the same way.
13 This line specifies the output operation for adding records to
the D-ACCOUNTS data set.
Column 15 is E to identify this record as an exception record.
Columns 16-18 are ADD to add records to the TurboIMAGE data set.
Columns 32-37 are ADDREC to name the EXCPT Name for the record
to be added.
The following figure shows how to lock and unlock the data set,
D-ACCOUNTS.