OPALE - 10.0 - Utilisation - Gestion des codes OMR/en

Différence entre versions

De MappingDoc
(Page créée avec « OPALE:10.0:Usage:Managing OMR marks »)
 
 
(39 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
<languages/>
 
<languages/>
==Gestion des codes OMR==
+
==Managing OMR marks==
  
 
'''Introduction'''
 
'''Introduction'''
  
Grâce à la commande MAPQUALSPL sur OPALE Server, il est possible d'insérer plusieurs informations dans un spool afin de mettre en place les codes de mise sous pli.  
+
You can compile information in a spooled filed to set up sealing marks using the MAPQUALSPL command on OPALE Server.  
  
'''Cas d’utilisation :'''
+
'''Common use:'''
Voici un exemple qui explique en détails la commande
+
The following example will give you an in depth explanation of the MAPSQALSPL command
  
 
[[File:Tab1.PNG]]
 
[[File:Tab1.PNG]]
  
Ce spool contient 14 pages, les 4 premières concernent le client Dupond, les 3 suivantes concernent le client Durand et les 7 dernières concernent le client Lemaire.Dans la suite de ce document, nous allons qualifier ce spool suivant la clé « Nom client », à l’aide de la commande MAPQUALSPL.
+
There are 14 pages in this spooled file, the first 4 pages are about our client Mr. Dupond, the following 3 pages are about Mr. Durand and the last 7 pages are about Mr. Lemaire. In this example, we will qualify the spooled file using the "Client name" as a sorting key with command MASQUALSPL.  
Voici ci-dessous l’interface de la commande sur iSeries avec tous les paramètres disponibles.  
 
  
Il est important de souligner que la position des informations est ajoutée dans le fichier à partir de la position définie dans la commande (surligné en jaune ci-dessous) et que les informations ajoutées remplacent les informations existantes s’il y en a : il faut donc choisir un endroit vide dans la page.
+
Know that information is added to the spooled file according to the position defined for it in the command (highlighted in yellow here) and that the information added overwrites the existing information if there is any: you will then need to select an empty space on the page.
  
 
  MAPQUALSPLF (MAPQUALSPL)                                                                                                   
 
  MAPQUALSPLF (MAPQUALSPL)                                                                                                   
Ligne 20 : Ligne 19 :
 
Name of DataBase for sort  . . . NAME          SORTDB                         
 
Name of DataBase for sort  . . . NAME          SORTDB                         
  
Line Number  . . . . . . . . . . LINE          1                            
+
<span style="background-color:Yellow;> Line Number  . . . . . . . . . . LINE          1 </span>                     
  
Column Number  . . . . . . . . . COL            1                            
+
<span style="background-color:Yellow;> Column Number  . . . . . . . . . COL            1         </span>                   
 
   
 
   
 
Create spool file  . . . . . . . CREATE        *YES                           
 
Create spool file  . . . . . . . CREATE        *YES                           
Ligne 51 : Ligne 50 :
  
 
   
 
   
Positions 1 à 6  - Incrémentation du numéro de pages à l'intérieur de la rupture
+
Positions 1 to 6  - Increment of the page number inside the break.
  
 
[[File:Tab2.PNG]]
 
[[File:Tab2.PNG]]
 
   
 
   
Positions 7 à 12  - Nombre de pages total de la rupture
+
Positions 7 to 12  - Total page number in the break
  
 
[[File:Tab3.PNG]]  
 
[[File:Tab3.PNG]]  
  
Position 13 - Code de rupture
+
Position 13 - Break code
  
* 1 : Page "entête" (première)  
+
* 1: Page "heading" (first)  
* 2 : Page "suite" (milieu)  
+
* 2: Page "next" (middle)  
* 3 : Page "total" (dernière)  
+
* 3: Page "total" (last)  
  
 
[[File:Tab4.PNG]]  
 
[[File:Tab4.PNG]]  
  
Positions 14 à 18 - Code de mise sous pli type Kern
+
Positions 14 to 18 - Code of Kern-type sealing
 
   
 
   
Bit de parité:
+
Parity bit:
Le bit de parité varie automatiquement. Son calcul se fait sur la valeur des bits BS4, BS2, BS1 et DGR.
+
The parity bit changes automatically. It is calculated according to the value the BS4, BS2, BS1 and DGR bits.
Si la somme des bits BS4, BS2, BS1 et DGR est paire, alors le bit de parité a pour valeur 1. En revanche, si la somme des bits BS4, BS2, BS1 et DGR est impaire, alors le bit de parité a pour valeur 0.   
+
If the total sum of BS4, BS2, BS1 and DGR is even-numbered, then, the value for the parity bit is 1. Otherwise, when this sum is odd-numbered, the value for the parity bit is 0.   
  
 
[[File:Tab5.PNG]]  
 
[[File:Tab5.PNG]]  
  
BS4, BS2, BS1 : Bits de sécurité
+
BS4, BS2, BS1: Security bits
  
Décrémentation ou incrémentation d'une valeur binaire à chaque page.
+
Decrement or increment of a binary value for each page.
  
La sélection du mode de codage se fait au moment du passage de la commande MAPQUASPL en faisant varier le paramètre MODULO.
+
You can select the coding mode when launching the MAPQUASPL and changing the MODULO parameter according to your need.
  
 
Modulo 7
 
Modulo 7
  
Décrémentation de la valeur 7 (111 – en binaire) à la valeur 1 (001 – en binaire)  
+
Decrement from value 7 (111 – in binary) to value 1 (001 – in binary)  
  
 
[[File:Tab6.PNG]]  
 
[[File:Tab6.PNG]]  
Ligne 89 : Ligne 88 :
 
Modulo 8
 
Modulo 8
  
Décrémentation de la valeur 7 (111 – en binaire) à la valeur 0 (000 – en binaire)
+
Decrement from value 7 (111 – in binary) to value 0 (000 – in binary)
  
 
[[File:Tab7.PNG]]
 
[[File:Tab7.PNG]]
Ligne 95 : Ligne 94 :
 
Modulo R
 
Modulo R
  
Incrémentation de la valeur 0 (000 – en binaire) à la valeur 7 (111 – en binaire)  
+
Increment from value 0 (000 – in binary) to value 7 (111 – in binary)  
  
  
Ligne 102 : Ligne 101 :
 
Modulo T
 
Modulo T
  
Incrémentation de la valeur 1 (001 – en binaire) à la valeur 7 (111 – en binaire)
+
Increment from value 1 (001 – in binary) to value 7 (111 – in binary)
  
 
[[File:Img9.PNG]]
 
[[File:Img9.PNG]]
Ligne 108 : Ligne 107 :
 
Modulo 4
 
Modulo 4
  
Décrémentation de la valeur 4 (11 – en binaire) à la valeur 0 (00 – en binaire)  
+
Decrement from value 4 (11 – in binary) to value 0 (00 – in binary)  
  
  
Ligne 115 : Ligne 114 :
 
Modulo F
 
Modulo F
  
Incrémentation de la valeur 1 (0001 – en binaire) à la valeur 15 (1111 – en binaire)  
+
Increment from value 1 (0001 – in binary) to value 15 (1111 – in binary)  
  
 
[[File:Img11.PNG]]
 
[[File:Img11.PNG]]
  
DGR - Code de fermeture enveloppe
+
DGR - Sealing code
  
 
   
 
   
  
Suivant la machine de pli, le code de fermeture de l’enveloppe se situe en première ou en dernière page. Le paramètre « Insert tag on last page » de la commande MAPQUALSPL permet de déterminer la position du bit de fermeture.
+
Depending on your sealing device, the sealing code for an enveloppe is either placed on the first or last page. The "Insert tag on last page" parameter of the MAPQUALSPL helps you know the position of the closing bit.
  
  
Si « Insert tag on last page  . . . .  'N' » alors DGR à 1 sur la première page.  
+
If « Insert tag on last page  . . . .  'N' » then DGR = 1 on the first page.  
  
 
[[File:Img12.PNG]]
 
[[File:Img12.PNG]]
  
Si « Insert tag on last page  . . . .  'O' » alors DGR à 1 sur la dernière page.
+
If « Insert tag on last page  . . . .  'O' » then DGR = 1 on the last page.
  
 
[[File:Img13.PNG]]
 
[[File:Img13.PNG]]
  
 
   
 
   
Rupture en cours – Nombre de ruptures totales (Position 19-24 et 25-30)  
+
Curent break - Total number of breaks (Position 19-24 and 25-30)  
  
  
Lors du passage de la commande MAPQUALSPL, il est possible d’ajouter deux informations : la rupture en cours et le nombre total de ruptures.
+
When launching command MAPQUALSPL, you can add two pieces of information: the current break and the total number of breaks.
  
 
   
 
   
Pour ajouter ces informations, il faut exécuter la commande MAPQUASPL avec le paramètre « Add number of break values . . . » à 'O'.  
+
To add this information, you need to run the MAPQUASPL command with the "Add number of break values . . ." command set to 'O'.  
  
 
[[File:Img14.PNG]]
 
[[File:Img14.PNG]]
  
Positions 31 à 33 – Incrémentation ou décrémentation à chaque rupture
+
Positions 31 to 33 – Increment or decrement at each break
  
 
   
 
   
Pour encore plus de sécurité, certaines machines de pli utilisent un contrôle à chaque rupture dans le spool.
+
For even more security, some sealing devices run a troubleshooting test after every break in the spooled file.
  
 
   
 
   
La commande MAPQUALSPL permet d'ajouter ces informations. Il s’agit du paramètre SEQUENCE MODULO.
+
You can add this information using the MAPQUALSPL command and the SEQUENCE MODULO parameter.
  
 
   
 
   
Ligne 161 : Ligne 160 :
 
   
 
   
  
Les valeurs disponibles pour ce paramètre sont les suivantes : «  », « 7 », « 8 », « R », « 4 », « T ». Elles ont la même signification que pour les bits de sécurité (BS4, BS2, BS1). Merci de vous reporter à la partie BS4, BS2, BS1 : Bits de sécurité, pour connaître la signification de ces valeurs.  
+
The values for this parameter can be: " ", "7","8", "R", "4" or "T". These have the same meaning as the security bits (BS4, BS2, BS1). Please see the dedicated section, BS4, BS2, BS1: security bits, to know the meaning of these values.  
  
Si vous ne souhaitez pas utiliser ces valeurs, vous pouvez laisser le paramètre à blanc.
+
If you wish to you can leave this parameter empty.
  
Important : Ces trois bits sont pris en compte lors du calcul de la parité.
+
Be careful: These three bits are taken into consideration when calculating parity.

Version actuelle datée du 11 juin 2019 à 11:57

Autres langues :
English • ‎français

Managing OMR marks

Introduction

You can compile information in a spooled filed to set up sealing marks using the MAPQUALSPL command on OPALE Server.

Common use: The following example will give you an in depth explanation of the MAPSQALSPL command

Tab1.PNG

There are 14 pages in this spooled file, the first 4 pages are about our client Mr. Dupond, the following 3 pages are about Mr. Durand and the last 7 pages are about Mr. Lemaire. In this example, we will qualify the spooled file using the "Client name" as a sorting key with command MASQUALSPL.

Know that information is added to the spooled file according to the position defined for it in the command (highlighted in yellow here) and that the information added overwrites the existing information if there is any: you will then need to select an empty space on the page.

MAPQUALSPLF (MAPQUALSPL)                                                                                                  
                                                                    

Name of DataBase for sort . . . NAME SORTDB

Line Number . . . . . . . . . . LINE 1

Column Number . . . . . . . . . COL 1

Create spool file . . . . . . . CREATE *YES

Spoolfile Name to Create . . . . SPLFNAME SORTSPLF

Outq . . . . . . . . . . . . . . OUTQ *JOB

Outq Library . . . . . . . . . . OUTQLIB *LIBL

Hold spool file . . . . . . . . RDY *NO

Control sort splfname . . . . . CONTROL N Input spool file length . . . . SIZE 255

Input spool file height . . . . HEIGHT 255

Input spool file overflow . . . OVERFLOW 60

Modulo . . . . . . . . . . . . . MODULO '7'

Sequence modulo . . . . . . . . MODSEQ ' '

Max. quota . . . . . . . . . . . QUOTA '0'

Use duplex . . . . . . . . . . . DUPLEX 'N'



Positions 1 to 6 - Increment of the page number inside the break.

Tab2.PNG

Positions 7 to 12 - Total page number in the break

Tab3.PNG

Position 13 - Break code

  • 1: Page "heading" (first)
  • 2: Page "next" (middle)
  • 3: Page "total" (last)

Tab4.PNG

Positions 14 to 18 - Code of Kern-type sealing

Parity bit: The parity bit changes automatically. It is calculated according to the value the BS4, BS2, BS1 and DGR bits. If the total sum of BS4, BS2, BS1 and DGR is even-numbered, then, the value for the parity bit is 1. Otherwise, when this sum is odd-numbered, the value for the parity bit is 0.

Tab5.PNG

BS4, BS2, BS1: Security bits

Decrement or increment of a binary value for each page.

You can select the coding mode when launching the MAPQUASPL and changing the MODULO parameter according to your need.

Modulo 7

Decrement from value 7 (111 – in binary) to value 1 (001 – in binary)

Tab6.PNG

Modulo 8

Decrement from value 7 (111 – in binary) to value 0 (000 – in binary)

Tab7.PNG

Modulo R

Increment from value 0 (000 – in binary) to value 7 (111 – in binary)


Tab8.PNG

Modulo T

Increment from value 1 (001 – in binary) to value 7 (111 – in binary)

Img9.PNG

Modulo 4

Decrement from value 4 (11 – in binary) to value 0 (00 – in binary)


Corr.png

Modulo F

Increment from value 1 (0001 – in binary) to value 15 (1111 – in binary)

Img11.PNG

DGR - Sealing code


Depending on your sealing device, the sealing code for an enveloppe is either placed on the first or last page. The "Insert tag on last page" parameter of the MAPQUALSPL helps you know the position of the closing bit.


If « Insert tag on last page . . . . 'N' » then DGR = 1 on the first page.

Img12.PNG

If « Insert tag on last page . . . . 'O' » then DGR = 1 on the last page.

Img13.PNG


Curent break - Total number of breaks (Position 19-24 and 25-30)


When launching command MAPQUALSPL, you can add two pieces of information: the current break and the total number of breaks.


To add this information, you need to run the MAPQUASPL command with the "Add number of break values . . ." command set to 'O'.

Img14.PNG

Positions 31 to 33 – Increment or decrement at each break


For even more security, some sealing devices run a troubleshooting test after every break in the spooled file.


You can add this information using the MAPQUALSPL command and the SEQUENCE MODULO parameter.


Sequence Modulo 7

Img15.PNG


The values for this parameter can be: " ", "7","8", "R", "4" or "T". These have the same meaning as the security bits (BS4, BS2, BS1). Please see the dedicated section, BS4, BS2, BS1: security bits, to know the meaning of these values.

If you wish to you can leave this parameter empty.

Be careful: These three bits are taken into consideration when calculating parity.