Considerations for using the QMF Callable Interface

Figure 7 shows how the application passes commands through the callable interface to QMF.

Figure 7. The application uses the QMF callable interface to communicate with QMF.
Under Application session, there are four sessions-  1. Establish communication
with QMF, 2. Issue a QMF command, 3. Get status information,  and 4. Terminate
communication with QMF. Under 1, START begins a QMF session. QMF returns 
a DSQ_RETURN_CODE=0. Under 2, a QMF command runs the command on QMF; QMF returns
 a DSQ_RETURN_CODE=0. Under 3, GET GLOBAL tells QMF to retrieve status information;
Global  variables are stored in Application storage with DSQ_RETURN_CODE=0.
Under 4, EXIT  terminates communication with QMF; the QMF session returns
DSQ_RETURN_CODE=0.

The results of issuing a command through the callable interface are generally the same as they are if you issue commands interactively.

[ Previous Page | Next Page | Contents | Index ]