112
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
■Importing data to the database
■Exporting data from the database
■Starting a transaction
■Committing a transaction
■Performing a rollback
File register operation instructions
■Switching the file register block number
■Changing the file register file name
File register read/write instructions
■Reading 1-byte data from the file register
■Writing 1-byte data to the file register
Instruction symbol Processing details Reference
DBIMPORT Imports the data set in the Unicode text file stored in the path specified by (s) to construct a
database.
Page 946
DBIMPORT(P)
DBIMPORTP
Instruction symbol Processing details Reference
DBEXPORT Exports the data stored in the database to the Unicode text file stored in the path specified by (s). Page 949
DBEXPORT(P)
DBEXPORTP
Instruction symbol Processing details Reference
DBTRANS Declares the start of a transaction in relation to the database corresponding to the identification
number specified by (s).
Page 980
DBTRANS(P)
DBTRANSP
Instruction symbol Processing details Reference
DBCOMMIT Commits the transaction in relation to the database corresponding to the identification number
specified by (s).
Page 982
DBCOMMIT(P)
DBCOMMITP
Instruction symbol Processing details Reference
DBROLBAK Executes the rollback in relation to the database corresponding to the identification number
specified by (s).
Page 984
DBROLBAK(P)
DBROLBAKP
Instruction symbol Processing details Reference
RSET Switches the block number of the file register used in the program to that stored in the device
specified by (s).
Page 991 RSET(P)
RSETP
Instruction symbol Processing details Reference
QDRSET Changes the file name of the file register used in the program. Page 993 QDRSET(P)
QDRSETP
Instruction symbol Processing details Reference
ZRRDB Reads the data from the file register with the specified serial byte number. Page 995 ZRRDB(P)
ZRRDBP
Instruction symbol Processing details Reference
ZRWRB Writes the data in the lower bits of the specified device to the file register with the specified serial
byte number.
Page 997 ZRWRB(P)
ZRWRBP
ZR0
ZR1
(d)
0
1
2
3
(s)
…
Lower 8 bits
Upper 8 bits
Lower 8 bits
Upper 8 bits
8 bits
ZR0
ZR1
(s2)
0
1
2
3
(s1)
Lower 8 bits
Upper 8 bits
Lower 8 bits
Upper 8 bits
8 bits