Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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:
Restriction: This command is shipped with public *EXCLUDE authority.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DEVTBL | Device table | Name | Required, Positional 1 |
PGMTBL | Program table | Name | Required, Positional 2 |
USRTBL | User table | Name, *NONE | Optional, Positional 3 |
JOB | Job name | Name, QFNCJOB | Optional |
JOBD | Job description | Qualified object name | Optional |
Qualifier 1: Job description | Name, QFNC | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
MSGQ | Message queue | Single values: *WRKSTN, *NONE Other values: Qualified object name |
Optional |
Qualifier 1: Message queue | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specifies the name of the device table that the finance job uses to determine which 4704 or 3624 devices it controls. This is a required parameter.
Top |
Specifies the name of the program table that the finance job uses to determine, from the program ID (sent in the data stream with a finance transaction), which user program names will process the finance transaction. This is a required parameter.
Top |
Specifies the name of the user table that the finance job uses to verify a valid user when a finance sign-on is received.
The possible values are:
Top |
Specifies the job name that is associated with the submitted finance job.
The possible values are:
Top |
Specifies the name and library of the job description that is used by the finance job.
The possible values are:
The possible library values are:
The library list is used to locate the finance job.
The current library for the job is used to locate the finance job. If no library is specified as the library for the job, QGPL is used.
Specify the name of the library where the finance job is located.
Top |
Specifies the name of the message queue, to which messages can be sent while the finance job is running.
The possible values are:
The possible library values are:
Top |
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.
The job description used by the finance job in this example is QFNC. Messages sent as a result of the finance job are sent to the message queue of the work station from which the job was submitted.
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.
Top |
Top |