|
Starting background subsystems... 2800 /********************************************************************/ 2900 /* START SUBSYSTEM - GLBACK3TTC */ 3000 /********************************************************************/ 3100 RUNAMTASK APPL(GL) ENVN(TTC) RLSL(03) TASK(0001) + 3200 PGM(GL952CLP) CONO('&&') USER(QPGMR)
5901 /********************************************************************/ 5902 /* SAVE EXISTING LIBRARY LIST */ 5903 /********************************************************************/ 5904 PUTLIBL 6000 /********************************************************************/ 6100 /* START SUBSYSTEM - INBACK3TTC */ 6200 /********************************************************************/ 6300 STRSBS SBSD(JBATTCMODF/INBACK3TTC) 6400 MONMSG MSGID(CPF0000) 6500 6600 /********************************************************************/ 6700 /* START JOB - IN_STKMON (STOCK) */ 6800 /********************************************************************/ 6900 RUNAMTASK APPL(IN) ENVN(TTC) RLSL(03) TASK(0065) + 7000 PGM(IN245SBM) CONO('&&') USER(QPGMR)
Ending background subsystems... 2000 /********************************************************************/ 2100 /* STOP SUBSYSTEM - GLBACK3TTC */ 2200 /********************************************************************/ 2300 RUNAMTASK APPL(GL) ENVN(TTC) RLSL(03) TASK(0002) + 2400 PGM(GL953CLP) CONO('&&') USER(QPGMR)
5200 /********************************************************************/ 5300 /* STOP JOB - IN_STKMON (STOCK) */ 5400 /********************************************************************/ 5500 RUNAMTASK APPL(IN) ENVN(TTC) RLSL(03) TASK(0070) + 5600 PGM(IN245TRM) CONO('&&') USER(QPGMR) 5700 9400 /********************************************************************/ 9500 /* STOP SUBSYSTEM - INBACK3TTC */ 9600 /********************************************************************/ 9700 ENDSBS SBS(INBACK3TTC) OPTION(*CNTRLD) 9800 MONMSG MSGID(CPF0000)
----Original Message Follows---- From: Richard_Caldicott@xxxxxxxxxxxxxxx Reply-To: System 21 Users <system21@xxxxxxxxxxxx> To: System 21 Users <system21@xxxxxxxxxxxx> Subject: RE: [SYSTEM21] Save while Active Date: Wed, 5 Nov 2003 09:24:56 -0600
Sorry to jump in - I'm sure Jeff will answer with details of the task numbers for inventory and manufacturing, but I wanted to mention the G/L subsystem. There is a flag on a data area (pos 11 in GLSBSDTA) that is used to ensure the G/L background job is not running when certain rebuilds are being run (e.g. G/L Hierarchies).
Basically the job wakes up from sleep and immediately checks this flag. If it is set on (say a rebuild is running), the system goes back to sleep. If the flag is not set on then the flag is set on and then the job looks for journals awaiting update. If it can't find any for update, (or when it has finished updating), the flag is set off and the job goes in sleep mode.
It is possible that with an ENDSBS that the job ends during one of these checks, leaving the flag set on. When you start the subsystem again, the job goes active and appears to be working - sleeping, waking, running, sleeping - but all it is doing is checking the flag and going back to sleep. I have known this to happen for several days before someone realized that the G/L was not being updated.
Tasks GL 03 0001 and GL 03 0002 should be used to start and end the subsystems.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.