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

Différence entre versions

De MappingDoc
 
(8 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 +
<languages />
 
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  
 
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  
  
Ligne 41 : Ligne 42 :
 
page 1:    1    4111111
 
page 1:    1    4111111
  
page 2 :    2    4211100
+
page 2:    2    4211100
  
page 3 :    3    4211010
+
page 3:    3    4211010
  
page 4 :    4    4301000
+
page 4:    4    4301000
  
  
'''ATTENTION : Les paramètres NAME et SIZE doivent être rigoureusement les mêmes que dans la commande MAPSORTSPL'''  
+
'''CAUTION: the NAME and SIZE parameters have to be exactly the same as in the MAPSORTSPL command'''  
  
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).
+
The LINE and COL parameters allow you to insert codes anywhere in the spooled file (choose a blank spot or the spooled file data will be overwritten).
  
Les paramètres à renseigner sont les suivants :
+
You have to define the following parameters:
  
 
* Name of DataBase for sort
 
* Name of DataBase for sort
* Line Number : numéro de la ligne où insérer les codes
+
* Line Number: number of the line where the codes have to be inserted
* Column Number : numéro de la colonne où insérer les codes
+
* Column Number: number of the column where the codes have to be inserted
 
* Create spool file
 
* Create spool file
 
* Spoolfile Name to Create
 
* Spoolfile Name to Create
Ligne 69 : Ligne 70 :
 
* Use Duplex
 
* Use Duplex
  
Autres paramètres
+
Other parameters:
  
 
* Name of the spool file
 
* Name of the spool file

Version actuelle datée du 4 juin 2019 à 11:17

Autres langues :
English • ‎français

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).

Code Structure :

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

Positions 7 to 12 - Total number of pages in the break.

Example : 1/ 3 2/ 3 3/ 3

Position 13 - Break code

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

Positions 14 to 18 - Code of Kern-type sealing (Contains 0 or 1 depending on the norm)

                 - PK  Parity check (1 if the total of the following 4 is an even number, else it is 0)
                 - BS4, BS3, BS1: Decrement binary value from 7 (111) to 1 (001)
                 - DGR Sealing code (1 = sealing)

Positions 19 to 24 - Increment of the break number (1st client, 2nd client....)

Positions 25 to 30 - Number of breaks

Example for an invoice with 4 pages:

page 1: 1 4111111

page 2: 2 4211100

page 3: 3 4211010

page 4: 4 4301000


CAUTION: the NAME and SIZE parameters have to be exactly the same as in the MAPSORTSPL command

The LINE and COL parameters allow you to insert codes anywhere in the spooled file (choose a blank spot or the spooled file data will be overwritten).

You have to define the following parameters:

  • Name of DataBase for sort
  • Line Number: number of the line where the codes have to be inserted
  • Column Number: number of the column where the codes have to be inserted
  • 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

Other parameters:

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