CL Command Reference - SBMFNCJOB
CL Command List > SBMFNCJOB Reference
Description:
The Submit Finance Job (SBMFNCJOB) command submits a batch job that lets your finance application programs communicate with your 4701 or 4702 controller application programs.
Use the SBMFNCJOB command only if:
. Communicating with a 4701 or 4702 control unit
. A device table and a program table have been defined using the Work with Device Table (WRKDEVTBL) and Work with Program Table (WRKPGMTBL) commands; defining a user table using the Work with User Table (WRKUSRTBL) command is optional
. The user¡¯s 4701 or 4702 control unit application program sends data (transactions) first and expects a response
. The user¡¯s 4701 or 4702 control unit application program passes data in the proper format
Restriction: This command is shipped with public *EXCLUDE authority.
Examples:
Example 1: Submitting a Batch Job that Communicates with Devices it Acquires
SBMFNCJOB DEVTBL(DEVTBL1) PGMTBL(PGMTBL1) USRTBL(USRTBL1)
This command submits batch job QFNCJOB. The job communicates with all devices it acquires from device table DEVTBL1, allowing users whose user IDs are found in USRTBL1 to sign on the devices. Each transaction sent by the finance devices is processed by determining, in PGMTBL1, which application program must be called, then it calls that program.
Example 2: User IDs Not Verified
SBMFNCJOB DEVTBL(DEVTBL2) PGMTBL(PGMTBL2) JOB(CTFJOB)
JOBD(CTFJOBD) MSGQ(*NONE)
This command submits batch job CTFJOB. CTFJOB runs under job description CTFJOBD and does not send messages to any work station message queue while running. No verification of user IDs is performed by the finance job.