Checks the status of LOAD during processing.
Authorization
None
Required Connection
Database
Command Syntax
>>-LOAD QUERY--remote-file---+-------------------------+------->< +-TO--local-message-file--+ |
Command Parameters
Example
A user loading a large amount of data into the STAFF table wants to check the status of the load. Assuming that the LOAD parameter remote-file was set as:
remote file /u/remotedir/rmsg/staffthe following commands are issued:
db2 connect to <database> db2 load query /u/remotedir/rmsg/staff to /u/mydir/staff.tempmsg
The output file /u/mydir/staff.tempmsg might look like the following:
SQL3500W The utility is beginning the "LOAD" phase at time "02-13-1997 19:40:29.645353". SQL3519W Begin Load Consistency Point. Input record count = "0". SQL3520W Load Consistency Point was successful. SQL3109N The utility is beginning to load data from file "/u/mydir/data/staffbig.ixf". SQL3150N The H record in the PC/IXF file has product "DB2 01.00", date "19970111", and time "194554". SQL3153N The T record in the PC/IXF file has name "data/staffbig.ixf", qualifier " ", and source " ". SQL3519W Begin Load Consistency Point. Input record count = "111152". SQL3520W Load Consistency Point was successful. SQL3519W Begin Load Consistency Point. Input record count = "222304". SQL3520W Load Consistency Point was successful. |
See Also
LOAD.