UNPKG

@teqed/interact-ibmi

Version:

Menus for interacting with IBMi AS400 using node-odbc.

4 lines (3 loc) 241 B
import { queryOdbc } from '../odbc/odbc-util.js'; // qcmdexc takes a command, runs it on the AS400 system with QCMDEXC, then returns the result of the command. export default async (qcmdexc) => queryOdbc(`CALL QSYS2.QCMDEXC('${qcmdexc}')`);