The Bookmanager Library Reader used to be distributed several years ago in a
CD, where there were also the library itself containing shelves with the
electronic copies of the printed material. Now there is an on-line service
In particular, shelf QB3ANA01 "Host Communications Bookshelf", contains
almost anything you need. Book CO2E2001, "Functions Reference", document
number SC30-3533-04, has a lot of that.
But with all that, writing that interface is not so easy. Wouldn't it be
more practical to write a TCP/IP sockets interface instead? You could write
an ILE RPG or ILE C server program to run in batch, and talk to this program
from your Unix-like server with your own commands and query your database.