OPALE - 10.0 - Utilisation - Qualification d'un spool - MAPQUALSPL/en

Différence entre versions

De MappingDoc
(Page créée avec « and finally the '''KERN codes''' for automatic folding. »)
(Page créée avec « In the template, all you need to do is add a vertical line conditioned according to the value of the KERN code (the line is printed if the code value is 1). »)
Ligne 13 : Ligne 13 :
 
and finally the '''KERN codes''' for automatic folding.
 
and finally the '''KERN codes''' for automatic folding.
  
Dans la maquette, il suffira de mettre une ligne verticale conditionné sur la valeur du code KERN (la ligne est imprimée si la valeur du code vaut 1)..
+
In the template, all you need to do is add a vertical line conditioned according to the value of the KERN code (the line is printed if the code value is 1).
  
 
<u>Structure du code</u> :
 
<u>Structure du code</u> :

Version du 27 mai 2019 à 13:49

This command allows you to qualify a spooled file after sorting by adding a series of codes in the spooled file itself. It is thus only used after the

MAPSORTSPL or MAPSORTPAG command used with the parameter CREATE set to *NO (spooled files aren't created after sorting).

It allows you to do batch sorting (splitting a spooled file based on the number of pages for every break). For instance, an invoice spooled file

composed of multiple invoices will be split by creating an output spooled file with invoices containing 1 page, another output spooled file with invoices containing 2 pages.

It allows you to insert the page number in the break (e.g. the page numbers of an invoice),

the total number of pages in the break (page number of an invoice), the type of page (1 for the first page of the invoice, 2 for the second page all the way to the second to last page, and 3 for the last page),

and finally the KERN codes for automatic folding.

In the template, all you need to do is add a vertical line conditioned according to the value of the KERN code (the line is printed if the code value is 1).

Structure du code :

Positions 1 à 6 - Incrémentation du numéro de page à l'intérieur de la rupture.

Positions 7 à 12 - Nombre de page total de la rupture.

Exemple : 1/ 3 2/ 3 3/ 3

Position 13 - Code de rupture

                 - 1 : Page "entete" (première)
                 - 2 : Page "suite" (milieu)
                 - 3 : Page "total" (dernière)  
                                               

Positions 14 à 18 - Code de mise sous pli type Kern (Contient 0 ou 1 suivant la norme)

                 - PK  Contrôle de parité (1 si la somme des 4 suivants est paire, 0 sinon)
                 - BS4, BS3, BS1 : Décrément d'une valeur binaire de 7 (111) à 1 (001)
                 - DGR Code de fermeture enveloppe (1 = fermeture)

Positions 19 à 24 - Incrémentation du numéro de rupture (1er client, 2ème client....)

Positions 25 à 30 - Nombre de ruptures

Exemple sur une facture de 4 pages :

page 1 : 1 4111111

page 2 : 2 4211100

page 3 : 3 4211010

page 4 : 4 4301000


ATTENTION : Les paramètres NAME et SIZE doivent être rigoureusement les mêmes que dans la commande MAPSORTSPL

Les paramètres LINE et COL permettent d'insérer les codes à l'endroit désiré dans le spool (Choisir un emplacement vierge sinon les données du spool seront écrasées).

Les paramètres à renseigner sont les suivants :

  • Name of DataBase for sort
  • Line Number : numéro de la ligne où insérer les codes
  • Column Number : numéro de la colonne où insérer les codes
  • Create spool file
  • Spoolfile Name to Create
  • Outq
  • Outq Library
  • Spool Holder
  • Control sort splfname
  • Length of the input spoolfile
  • Height of the input spoolfile
  • Overflow of the input spoolfile
  • Modulo
  • Use Duplex

Autres paramètres

  • Name of the spool file
  • Number of the spool file
  • Name of the JOB
  • Number of the JOB
  • Name of 10 characters Max