MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Reference and Help > Technical Support > Key Concepts and Procedures > Operation Procedures > Starting a Monitor After an Abnormal End

Starting a Monitor After an Abnormal End

 

 

If an asynchronous monitor ever terminates abnormally, you must restart the monitor by submitting a SBMJOB command to the QINTER job queue.  Submitting the command will not affect the online screen indicating whether the monitor is active or inactive.

Note:    The command you submit is identical to the command that is submitted by the MPMONMENU command language program.

For more detailed information, refer to the code for that program.

The following parameters are required for the SBMJOB command for most monitors:

SBMJOB JOB(job name) JOBD(jobd) USER(*JOBD) RQSDTA(rqsdta) JOBQ(QINTER)

Figure 6 lists the parameter values to be used for each asynchronous monitor.

Two monitors must be started using different parameters for the SBMJOB command.  The correct commands for these two monitors are shown below.

Synchro Shipping/Billing (GASBUMON)

SBMJOB     CMD(CALL PGM(GA270CLP) PARM(&WRKSID &CO &WHS &PASHNB &PADNIX &PASYNX &IMDFLG &DATENT &ABTFLG &USER)) JOB(GASBUMON) JOBD(*LIBL/MPASYNCJOB) JOBQ(*LIBL/QINTER) USER(*JOBD) INLLIBL(*JOBD)

Synchro Report Request (GAASYNCMON)

SBMJOB     JOB(GAASYNCMON) JOBD(GAASYNCJOB) USER(*JOBD) RQSDTA(*JOBD) INLLIBL(*JOBD) MSGQ(*WRKSTN)  

 

Monitor Name

Job Name

jobd (Job Description)

rqsdta

Consolidated Billing

MPCBUMON

MPASYNCJOB

CALL OP640CLP

EDI PO Ackn Update

MPPOAMON

MPASYNCJOB

CALL ED100CLP2

EDI PO Receipts Update

MPPORMON

MPASYNCJOB

CALL ED120CLP2

EDI Sales Order Generation

MPESOMON

MPASYNCJOB

CALL ED140CLP("I")

Electronic Data Collection

BCASYNCMON

BCASYNCJOB

*JOBD
(it calls BCASYNCMON)

Immediate Bill of Lading Print

MPBOLMON

MPASYNCJOB

CALL OP690CLPI(' '' ''A')

Immediate Picker Print

MPIPPMON

MPASYNCJOB

CALL PICKERI(''''I')

Immediate Invoice Print

MPIIPMON

MPASYNCJOB

CALL OP540CLPI

Immediate Quote Ackn Print

MPQTEMON

MPASYNCJOB

CALL
OP550CLPI('' '' '' '' ''I'')

Immediate RMA Ackn Print

MPRMAMON

MPASYNCJOB

CALL
OP710CLPI(" " " " "I")

Immediate SO Ackn Print

MPSOAMON

MPASYNCJOB

CALL OP520CLP2

Just-in-Time

JTASYNCMON

JTASYNCJOB

*JOBD
(it calls JTASYNCMON)

MAC-PAC

MPASYNCMON

MPASYNCJOB

*JOBD
(it calls MPASYNCMON)

Manufacturing Configuration

MFGCFGMON

ECASYNCJOB

*JOBD
(it calls EC200CLP1)

PO Generation

MPPOGMON

MPASYNCJOB

CALL PO185CLP

Purchasing

POASYNCMON

POASYNCJOB

*JOBD
(it calls POASYNCMON)

Sales Analysis Post

SAPSTMON

MPASYNCJOB

CALL SA130CLP1('''')

Shipping/Billing Update

MPSBUMON

MPASYNCJOB

CALL OP125CLP

Stock Location Reservation

MPSLRMON

MPASYNCJOB

CALL OP220CLP

Synchro INVOIC Message Extraction

GAIITMON

MPASYNCJOB

CALL GA240CLP(''I'''''''''''''''''''''')

             Parameters for Starting Asynchronous Monitors