OPALE - 10.0 - Exploitation - Résoudre les incidents de production du robot/en

Différence entre versions

De MappingDoc
 
(25 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 +
<languages />
 
This page is intended for operation and supervision staff. It lists the main actions you can carry out to solve production incidents involving the Mapping robot called MAPSROBOT.
 
This page is intended for operation and supervision staff. It lists the main actions you can carry out to solve production incidents involving the Mapping robot called MAPSROBOT.
  
Ligne 7 : Ligne 8 :
 
In the "MAPPING Operations menu" choose Option 1 "MAPPING environment parameters". The name of the sub-system is displayed at the bottom right of the screen: <code>SBS: MAPSROBOT</code>
 
In the "MAPPING Operations menu" choose Option 1 "MAPPING environment parameters". The name of the sub-system is displayed at the bottom right of the screen: <code>SBS: MAPSROBOT</code>
  
=== How to get information on jobd MAPDROBOT? ===
+
=== How to get information about the jobd called MAPDROBOT? ===
  
 
  DSPJOBD MAP400/MAPDROBOT  (DSPJOBD JOBD(MAP400/MAPDROBOT)
 
  DSPJOBD MAP400/MAPDROBOT  (DSPJOBD JOBD(MAP400/MAPDROBOT)
Ligne 15 : Ligne 16 :
 
Job queue: <code>MAP400/MAPQROBOT </code>
 
Job queue: <code>MAP400/MAPQROBOT </code>
  
Request's data: <code>CALL MAP_C812 '*YES' </code>
+
Request data: <code>CALL MAP_C812 '*YES' </code>
  
 
Libraries: <code>MAP400, QTEMP, QGPL</code>
 
Libraries: <code>MAP400, QTEMP, QGPL</code>
  
=== How to get information on MAPPING user batch? ===
+
=== How to get information about the batch user called MAPPING? ===
  
 
  DSPUSRPRF MAPPING
 
  DSPUSRPRF MAPPING
Ligne 25 : Ligne 26 :
 
Messages queue: <code>QUSRSYS/MAPPING</code>
 
Messages queue: <code>QUSRSYS/MAPPING</code>
  
output queue: <code>MAP400/MAPPING</code>
+
Output queue: <code>MAP400/MAPPING</code>
  
 
=== MAPSROBOT Sub-system does not start anymore ===
 
=== MAPSROBOT Sub-system does not start anymore ===
Ligne 31 : Ligne 32 :
 
Check that the MAPPING user is created: <code>WRKUSRPRF MAPPING</code>
 
Check that the MAPPING user is created: <code>WRKUSRPRF MAPPING</code>
  
Check that user message queue exists: <code>WRKMSGQ MAPPING</code>
+
Check that the user's message queue exists: <code>WRKMSGQ MAPPING</code>
  
Check that MAPPING user queue exists: <code>WRKOUTQ MAPPING</code>
+
Check that the user's queue exists: <code>WRKOUTQ MAPPING</code>
  
 
Check that MAP400 is not in the syslib: <code>DSPSYSVAL QSYSLIBL</code>
 
Check that MAP400 is not in the syslib: <code>DSPSYSVAL QSYSLIBL</code>
Ligne 47 : Ligne 48 :
 
  STRSBS MAP400/MAPSROBOT
 
  STRSBS MAP400/MAPSROBOT
  
Look for start-up log spool. The message has to be explicit. Apply necessary changes, then return to default configuration.<code>CHGJOBD MAP400/MAPDROBOT LOG(0 99 *NOLIST)</code>
+
Look for start-up log spool file. The message has to be clear. Apply the necessary changes, then return to default configuration.<code>CHGJOBD MAP400/MAPDROBOT LOG(0 99 *NOLIST)</code>
  
=== The sub-system starts but spools are not processed ===
+
=== The sub-system is started but spooled files are not processed ===
  
Check DTAQs jobs in MAPSROBOT. To do so, type command: <code>WRKACTJOB SBS(MAPSROBOT)</code>
+
Check DTAQs jobs in MAPSROBOT. To do so, enter: <code>WRKACTJOB SBS(MAPSROBOT)</code>
  
You should see jobs with the same names as the DTAQs which were defined in the Mapping menu.
+
You should see jobs with the same names as the DTAQs defined in the Mapping menu.
  
=== MAPSROBOT does not able DTAQs jobs to run ===
+
=== DTAQ jobs don't run in MAPSROBOT ===
  
Check for DTAQs in the libraries.
+
Check that the DTAQs exist in the libraries.
  
To do so, in option 4 of the operations menu, check the name of DTAQs and their libraries (press F11) then check that the object exists:<code>WRKOBJ « LIBNAME »/ « DTANAME »</code>
+
To do so, in option 4 of the Operations menu, check the name of DTAQs and their libraries (press F11) then check that the object exists:<code>WRKOBJ "LIBNAME"/ "DTANAME"</code>
  
=== MAPSROBOT runs jobs but files are not processed ===
+
=== Jobs are started in MAPSROBOT but files are not processed ===
  
 
Check that input OUTQs are linked to DTAQs.
 
Check that input OUTQs are linked to DTAQs.
  
To do so, in option 4 of the operations menu, check the name of input OUTQs and their libraries (press F11) then check that the data queue parameter corresponds to the DTAQ's name:<code>CHGOUTQ « LIBNAME » / « OUTQNAME »</code>
+
To do so, in option 4 of the Operations menu, check the name of input OUTQs and their libraries (press F11) then check that the data queue parameter is the same as the DTAQ's name:<code>CHGOUTQ "LIBNAME" / "OUTQNAME"</code>
  
=== MAPSROBOT runs DTAQs jobs but they immediately stop ===
+
===The DTAQ jobs are started in MAPSROBOT but they stop immediately===
  
 
Step 1: Stop the robot using <code>ENDSBS MAPSROBOT *IMMED</code>
 
Step 1: Stop the robot using <code>ENDSBS MAPSROBOT *IMMED</code>
Ligne 73 : Ligne 74 :
 
Step 2: Enter <code>STRSBS MAPSOROBOT</code>
 
Step 2: Enter <code>STRSBS MAPSOROBOT</code>
  
Step 3: Enter <code>DSPDTAQ « LIBNAME »/ « DTANAME »</code>
+
Step 3: Enter <code>DSPDTAQ "LIBNAME"/ "DTANAME"</code>
  
If there is still this type of data: <code>ENDRBTENDRBT</code>, go back to step 1.
+
If there is still data of type <code>ENDRBTENDRBT</code>, go back to step 1.
  
  
 
Note:
 
Note:
  
If you have created a new DTAQ in the robot without having stopped MAPSROBOT beforehand, then this is probably where the problem comes from. Indeed, new relationships can only be created if input OUTQs already use existing DTAQs. Otherwise, you need to stop and reboot the robot.
+
If you have created a new DTAQ in the robot without stopping MAPSROBOT beforehand, then this is probably where the problem comes from. New relations can only be created if input OUTQs already use existing DTAQs. Otherwise, you need to stop and reboot the robot.
Another possible reason would be a request to stop <code>ENDRBT</code> interrupted by a call system +2
+
Another possible reason would be an <code>ENDRBT</code> stop request interrupted by a call system +2
  
=== A job is in MSGW but no information is found in the job's log ===
+
=== A job is in MSGW status but there is no information in the job log ===
  
In the job options,
+
In the job options:
 
* Check the name of the JOBD used to submit the job. For instance MAPDSPEED then type: <code>CHGJOBD MAP400/MAPDSPEED LOG(4 00 *SECLVL)</code>
 
* Check the name of the JOBD used to submit the job. For instance MAPDSPEED then type: <code>CHGJOBD MAP400/MAPDSPEED LOG(4 00 *SECLVL)</code>
 
* Restart the job.
 
* Restart the job.
* Check the job's log and execute the following command.<code>DSPJOBLOG</code> (name of the job, user, job number)
+
* Check the job's log and run the following command.<code>DSPJOBLOG</code> (job name, user, job number)
* Then execute: <code>CHGJOBD MAP400/MAPDROBOT LOG(0 99 *NOLIST)</code>
+
* Then run: <code>CHGJOBD MAP400/MAPDROBOT LOG(0 99 *NOLIST)</code>
  
  
 
Note:
 
Note:
  
Most of the time, the problem comes from using parameter &CLSPLNUMS in the robot. If you wish to use &CLSPLNUMS in a program by doing a CALL CL, do not forget to protect this parameter by applying simple quotes before and after. Otherwise, this parameter is considered as a numerical value by the IBM i.
+
Most of the time, the problem comes from using parameter &CLSPLNUMS in the robot. If you wish to use &CLSPLNUMS in a program by doing a CALL CL, do not forget to protect this parameter using simple quotes. Otherwise, this parameter is considered as a numerical value by the IBM i.
  
 
  CALL MAP400/MONPGM PARM('&CLSPLNUMS')
 
  CALL MAP400/MONPGM PARM('&CLSPLNUMS')

Version actuelle datée du 4 juin 2019 à 09:49

Autres langues :
English • ‎français

This page is intended for operation and supervision staff. It lists the main actions you can carry out to solve production incidents involving the Mapping robot called MAPSROBOT.

Requirements: Knowledge of JOBD, JOBQ, SBS and CLASS is required.

How do I know the name of the sub-system used by OPALE Server?

In the "MAPPING Operations menu" choose Option 1 "MAPPING environment parameters". The name of the sub-system is displayed at the bottom right of the screen: SBS: MAPSROBOT

How to get information about the jobd called MAPDROBOT?

DSPJOBD MAP400/MAPDROBOT  (DSPJOBD JOBD(MAP400/MAPDROBOT)

User profile: MAPPING

Job queue: MAP400/MAPQROBOT

Request data: CALL MAP_C812 '*YES'

Libraries: MAP400, QTEMP, QGPL

How to get information about the batch user called MAPPING?

DSPUSRPRF MAPPING

Messages queue: QUSRSYS/MAPPING

Output queue: MAP400/MAPPING

MAPSROBOT Sub-system does not start anymore

Check that the MAPPING user is created: WRKUSRPRF MAPPING

Check that the user's message queue exists: WRKMSGQ MAPPING

Check that the user's queue exists: WRKOUTQ MAPPING

Check that MAP400 is not in the syslib: DSPSYSVAL QSYSLIBL

Check that the jobqs exist and are not being held: WRKJOBQ MAP400/MAPQ*

Check that the classes exist: WRKCLS MAP400/MAP_*

If it still does not work, run command:CHGJOBD MAP400/MAPDROBOT LOG(4 00 *SECLVL)

Then:

STRSBS MAP400/MAPSROBOT

Look for start-up log spool file. The message has to be clear. Apply the necessary changes, then return to default configuration.CHGJOBD MAP400/MAPDROBOT LOG(0 99 *NOLIST)

The sub-system is started but spooled files are not processed

Check DTAQs jobs in MAPSROBOT. To do so, enter: WRKACTJOB SBS(MAPSROBOT)

You should see jobs with the same names as the DTAQs defined in the Mapping menu.

DTAQ jobs don't run in MAPSROBOT

Check that the DTAQs exist in the libraries.

To do so, in option 4 of the Operations menu, check the name of DTAQs and their libraries (press F11) then check that the object exists:WRKOBJ "LIBNAME"/ "DTANAME"

Jobs are started in MAPSROBOT but files are not processed

Check that input OUTQs are linked to DTAQs.

To do so, in option 4 of the Operations menu, check the name of input OUTQs and their libraries (press F11) then check that the data queue parameter is the same as the DTAQ's name:CHGOUTQ "LIBNAME" / "OUTQNAME"

The DTAQ jobs are started in MAPSROBOT but they stop immediately

Step 1: Stop the robot using ENDSBS MAPSROBOT *IMMED

Step 2: Enter STRSBS MAPSOROBOT

Step 3: Enter DSPDTAQ "LIBNAME"/ "DTANAME"

If there is still data of type ENDRBTENDRBT, go back to step 1.


Note:

If you have created a new DTAQ in the robot without stopping MAPSROBOT beforehand, then this is probably where the problem comes from. New relations can only be created if input OUTQs already use existing DTAQs. Otherwise, you need to stop and reboot the robot. Another possible reason would be an ENDRBT stop request interrupted by a call system +2

A job is in MSGW status but there is no information in the job log

In the job options:

  • Check the name of the JOBD used to submit the job. For instance MAPDSPEED then type: CHGJOBD MAP400/MAPDSPEED LOG(4 00 *SECLVL)
  • Restart the job.
  • Check the job's log and run the following command.DSPJOBLOG (job name, user, job number)
  • Then run: CHGJOBD MAP400/MAPDROBOT LOG(0 99 *NOLIST)


Note:

Most of the time, the problem comes from using parameter &CLSPLNUMS in the robot. If you wish to use &CLSPLNUMS in a program by doing a CALL CL, do not forget to protect this parameter using simple quotes. Otherwise, this parameter is considered as a numerical value by the IBM i.

CALL MAP400/MONPGM PARM('&CLSPLNUMS')