GENEDI Generic EDI toolbox Version 2.1. User Guide

Size: px
Start display at page:

Download "GENEDI Generic EDI toolbox Version 2.1. User Guide"

Transcription

1 GENEDI Generic EDI toolbox Version 2.1

2 Table of contents 1 Introduction Objectives Audience Outline Terminology Application overview Introduction Import Process Mapping Process Archive Process Validation Process Sending Process File description System requirement Getting started Running GENEDI GENEDI layout Process Page Configure Page File Management Action Options View Options Session Log Select File Validation Logs Configuration Global Configuration Domain Configuration Dataset Configuration Statistical Concept Configuration Encryption Settings Updates Update configuration files Import Command Line batch command <command> import help APPENDIX A: Error and warning description APPENDIX B: GESMES format APPENDIX C: Flat file format European Commission 2005 Page 2

3 APPENDIX D: Quick help to add/customise statistical domains in GENEDI APPENDIX E: Mapping configuration file APPENDIX F : Configuration files APPENDIX G: Validation file File Structure Introduction to the generic advanced validation rules Generic rule n Generic rule n Generic rule n Generic rule n Generic rule n Generic rule n Generic rule n Generic rule n Generic rule n Generic rule n 10, 10b and 10c Generic rule n Generic rule n Generic rule n Generic rule n Generic rule n Generic Rule Generic Rule Generic Rule Generic Rule Generic Rule Generic Rule Generic rule A Generic rule C Generic rule D APPENDIX H: Codelists General format Code list with hidden codes Code list with associated codes or complementary codes APPENDIX I: Transcoding tables and Transcoding rules APPENDIX J: Hide codes configuration file APPENDIX K: Dataset Naming Convention European Commission 2005 Page 3

4 1 Introduction 1.1 Objectives This document aims to supply Competent National Authorities (CNA) with guidance on the use of the Generic EDI Toolbox GENEDI to automatically reorganise, validate, convert into GESMES/TS format, and send statistical data to Eurostat. CNA users who do not have specific skills in computing should be able to operate GENEDI with the help of this document. GENEDI has been designed to operate on a large variety of systems including among others MS/Windows and Unix. All along this document, the explanations are given for these two types of the operating system. Note that this document doesn t describe specific operating system features; it only covers functionalities included in GENEDI. 1.2 Audience The guide is addressed to GENEDI users who will be responsible for the intallation and the use of GENEDI to send statistical data to Eurostat. As a rule, the use of the GENEDI does not need any particular skills in computing or IT, apart from familiarity with user applications. 1.3 Outline The document deals with the following subjects: Application overview: Describes GENEDI functionality and usage. Getting started: Provides a quick introduction on using GENEDI commonly used features. File Management: Describes the management of files. Process: Describes the Process scenario (Pre-process, Validate, Create, Send). View: Describes the Session log, Select file and View validation log features. Configuration: Describes the configuration process (Global, Domain, Dataset, Statistical concept configuration). European Commission 2005 Page 4

5 Domain Management: Describes the management of domains (Import, Export, Hide/Show). 1.4 Terminology CIRCA Communication & Information Resource Center Administrator CNA Competent National Authority CSV Comma Separated Value EDI Electronic Data Interchange GESMES Generic Statistical MESsage GESMES/TS subset of GESMES for Time Series Data IDA Interchange of Data between Administrations FLR Fixed Length Record MIG Message Implementation Guide NSI National Statistical Institute European Commission 2005 Page 5

6 2 Application overview 2.1 Introduction GENEDI has been designed to support all the tasks related to the transmission of the statistical data to Eurostat, including reorganisation and validation of the input file, conversion into a GESMES formatted file and automatic transmission to Eurostat. GENEDI is in essence a generic toolbox, so it can process any flat input file insofar as an optional mapping module allows users to make their files compliant with any GESMES dataset structures implemented. The mapping module generates a CSV file compliant with the GESMES structure selected by the user among a list of available dataset structures. Additionally, GENEDI provides the option of processing multiple files and the Batch mode. Then, a CSV file compliant with the selected dataset format is submitted to the toolbox. An automatic process (that can be disabled) verifies that the file s data are compliant with specific validation rules defined in a configuration menu (see the Configuration for information) and translate it into a GESMES message. At the end, all GESMES messages are stored into an output folder and can be automatically sent to Eurostat via electronic mail sent to the STADIUM server. Optionally, the user can send the GESMES messages to Eurostat encrypted. Moreover, GENEDI is able to validate data contained in a GESMES file produced by other applications. Note that in that case GENEDI outputs an easy GESMES formatted file (See appendix B for more details). Finally, apart from the Graphical interface, GENEDI provides Command line processing. The user can import a file, process multiple files or run the Batch command in command line. European Commission 2005 Page 6

7 User Input folder Import Process 0_PreIntray GESMES to CSV Conversion Mapping Process 1_Intray Validation Process 2_Validated User Output folder CSV to GESMES Conversion 3_Gesmes Export Process Sending Process 4_Sent Archive European Commission 2005 Page 7

8

9 2.1.1 Import Process This process imports files to be processed by GENEDI, mainly by defining appropriate metadata such as Domain, Periodicity etc (see paragraph 4). Select File -> Import from File Menu. In order to complete the import, you must fill in the Properties Form, which contains information about the file. The name of file is created from the details inserted in the Form, to ensure naming conventions. Alternatively, if there are many files, you can copy the files to the folders. GENEDI will enter the files to the Process Tree, but the Properties must be entered manually. Note: File extensions are either.csv,.ges or.flr Mapping Process The goal of this process is to create or modify a mapping (correspondence) to apply to input files whose structure is not compliant with the GESMES key family structure (see the GESMES Message Implementation Guide relevant to your Statistical domain). The mapping process configuration is accessible from the configuration tree. Moreover during the mapping process the input time format can be transformed to be GESMES compliant Archive Process This module enables to archive automatically all files, which are being to be processed Validation Process This process is devoted to validate files (flat files - CSV, Edifact files - GES), in terms of structure and data. These controls respect specifications defined by Eurostat: GESMES Message Implementation Guide (MIG) for each statistical domain Structured flat file EDI solution European Commission 2005 Page 9

10 The easy GESMES EDI solution This module checks only formats, values and code lists membership. It doesn't verify the GESMES syntax Sending Process This process enables to compress and send automatically GESMES files (e.g. GES file) to Eurostat. Note: -To use Statel, you need to install it before. If you haven't Statel and want to use it, contact the Eurostat Help-desk - The Disk space type of transmission copies the file to a user specified folder, which corresponds to the input folder of the STATEL Robot Service (SRS) for automated transmission. European Commission 2005 Page 10

11 2.2 File description The Generic EDI toolbox deals with 3 flat file formats: Format Meaning Appendix CSV The CSV files are flat text files. This is the B standard data format used by GENEDI FLR The Fixed Length Record files are flat text B files. Each line contains contiguous fixed length blocks of characters. They are automatically converted into CSV file via the mapping module GESMES GESMES files are EDI type files. They can be used as input in the PreIntray directory for validation. They are automatically converted into CSV file before any processing. A European Commission 2005 Page 11

12 2.3 System requirement GENEDI is written in a Perl language, which can run on most of the known operating systems. The above table gives an abstract list of platforms and processors families, which support the Perl interpreter. Note that this list is not exhaustive, and the last update of this list can be found on the Perl web site ( Family OS Processor Unix AIX Aix Unix FREEBSD Free-bsd-i386 Unix LINUX i386-linux Unix HPUX PA-RISC1.1 Unix OSF1 Irix Unix IRIX Alpha_dec_osf Unix SOLARIS Sun4-solaris / i86pc-solaris Unix SUN OS Sun4-sunos DOS MS-DOS / PC-DOS Dos DOS OS/2 Os2 DOS MSWIN32 MSWin32-x86 / MSWin32-alpha / MSWin32-ppc Mac OS MACOS Mac OS VMS VMS VMS VOS VOS VOS EBCDIC OS/390 OS390 EBCDIC VM/ESA vmesa Acorn RISC OS riscos Note: Unix users should add the following Perl modules (if not included) in order for Genedi to function properly: Tk version or later Archive::Tar XML::Parse::Expat IO::String Compress::Zlib. These modules can be found in the following address: GENEDI was developed and tested with Perl So it is suggested to have installed in your Unix system Perl or later. European Commission 2005 Page 12

13 3 Getting started 3.1 Running GENEDI 1. Running GENEDI on Windows. Activate the Menu file in the Start menu. 2. Running GENEDI on UNIX. Change to the directory you have installed GENEDI and on command line type: >perl genedi.pl European Commission 2005 Page 13

14 3.2 GENEDI layout When GENEDI is activated, the following window is displayed: This window allows reaching all the Generic EDI toolbox functionalities. Note: When GENEDI is used for the first time it scans the Tray folders and tries to identify the files present. When input files respect the Dataset Naming convention (according to the Eurostat DSNC document), GENEDI creates automatically an entry in the tree structure that corresponds to the domain and dataset found in the file name. Besides, the user can also manually import a file. European Commission 2005 Page 14

15 3.2.1 Process Page Above you can see the process page. The Process Page has the following menu options: File, Process, View, Help (More details in these options at paragraph 4, 5 and 6). On the left side of the Process Page appears the Process Tree. The Tree contains the following folders: PreIntray, Intray, Validated, Gesmes, Sent and Archive. Every folder contains the files in each level of process. PreIntray Contains the files to be pre-processed. The following extensions are recognized: CSV, FLR, GES, and TXT Intray Contains compliant CSV files. The following extensions are recognized: CSV and TXT Validated Contains reporting files created during the validation process. Gesmes Contains GESMES output files. Sent Contains Sent files. Archive European Commission 2005 Page 15

16 Contains all the files processed. It also contains the archived and corresponding log files, as well as the old session log (Session log from previous GENEDI session). Each folder, except Archive, contains the files with the following structure: Domain Dataset File. This structure is present only when files exist. Domain / Dataset Clicking on the Domain or the Dataset, their properties are displayed on the right side of the Process Page. File Clicking on the file the Properties Form is displayed on the right side of the Process Page with the file properties. The user can modify these properties. Note: By modifying one or more file properties, the name of the file will be changed, since the file properties are used for naming the file. European Commission 2005 Page 16

17 3.2.2 Configure Page The Configure Page has the following menu options: File, View, Domain, Updates, Tools, Help (More details in these options at paragraph 7 and 8). On the left side of the Configure Page appears the Configure Tree. The Configuration Tree contains in a hierarchical view all the domains datasets statistical concepts currently available in GENEDI. European Commission 2005 Page 17

18 European Commission 2005 Page 18

19 4 File Management Import A browser opens so that the user can select file to import files to GENEDI. European Commission 2005 Page 19

20 The user can select.csv,.flr,.ges files. If the file name respects the Dataset Naming Convention provided by Eurostat (See Appendix K) then, GENEDI can read the information to fulfil the file Properties Form below. Note that GENEDI tries first to identify the domain in the file name and propose to display it automatically in the top left list box. Then, GENEDI tries to identify the dataset ID and fulfil automatically the top right list box, and so on. Otherwise, in order to complete the import, the user has to fill in manually the Properties Form, which contains information about the file. The name of file is created from the details inserted in the Form. European Commission 2005 Page 20

21 In the Properties Form, the user can change the options selected when the file was imported. (On saving the name of the file changes.) Form details: Domain: Statistical domain (name and description). Dataset Id: The dataset id (name and description). Periodicity: Periodicity of the data to be reported. Available options: Annual, Semester, Quarterly, Monthly, Weekly, Daily, Other, Non-periodic. Country: The country code. Year: Reporting year of data. Period: Precise reporting period of data. Action: Options: New, Replace, Append (Optional) Note: If several years/periods are covered by a dataset, only the last year/period must be specified. Note: The Action option may not be visible for some domains according to the request of the Eurostat Production units. The value selected is used in the STS segment in the GESMES header (see Appendix B). Export The user can save files to another location without deleting them from GENEDI. Delete The user can delete the selected file from GENEDI. Save The user can save changes to a selected file from the Tree. Exit Exits GENEDI. European Commission 2005 Page 21

22 5 Action Options Prepare file Converts non-compliant CSV to compliant. Validate file Validates the dataset. If the dataset is non-compliant, runs the Pre-process option first. Process file Pre-processes, Validates and Creates dataset to GESMES format. Send Pre-processes, Validates, Creates and Sends the dataset. According to the channel you've chosen in the configuration tool (Mail, STATEL or Disk space), GENEDI will achieve the sending using the Mail parameters, the STATEL Nick Name (SNN) or the Destination folder respectively. European Commission 2005 Page 22

23 In case you want to use STATEL, the software must be installed and a SNN must be asked to Eurostat. Convert GESMES file to CSV Converts GESMES to CSV format. Process all files Processes all imported files. Note: The Prepare to Send processes are cumulative and previous steps are performed if needed (e.g. if there is a file in the Intray and the Send process is selected then performs validation to send and not pre-processing). European Commission 2005 Page 23

24 6 View Options 6.1 Session Log The session log is displayed on the right side of the Process Window. Session log reports every action taken from the beginning of this GENEDI session. At the end of the session, this log file is sent to archive. 6.2 Select File The selected file s details are displayed on the right side of the Process Window. 6.3 Validation Logs The following screen appears with the file validated. If there are more than 1 files, select a file to view and press Ok. To exit the Viewer, press Cancel. The Validation Log Viewer is displayed. European Commission 2005 Page 24

25 The Validation Log Viewer shows the results of the Validation process. The left side of the window contains all the information about the processed file. (File name, Date, Time Begin, Time End, Total Records, Records Rejected, Warnings, Valid Records, Perfect Records and Duplicate Records ). At the bottom of the window are 4 buttons. Button Details European Commission 2005 Page 25

26 On the right side of the window, appears a list of all the records with errors or warnings, the selected record s entry and the selected record s details of errors and/or warnings. Select to see all the records, only the records with errors or only the records with warnings. (Appears only if there are Errors and Warnings) For each record, the details are: Error Level, Input Pos., Gesmes Pos, Field Name, Validation Rule and Message. Button Summary On the right side of the window, appears a summary of errors or warnings by field. For every field, there are shown: the number of problems, the Validation Rule and the Message. Button Duplicate Records On the right side of the window, appear the records with Duplicate keys. Button Close Closes Validation Log Viewer Window. Note: - If the validation process is successful, all the buttons are disabled except Button Close. - If there are no duplicate records, the Button Duplicate Records is disabled. European Commission 2005 Page 26

27 7 Configuration Load Configuration Loads a saved configuration (ini) to the current form. Save Saves the current changes. Save Configuration as Saves the current configuration with a different name than the default ini file. Clicking on each tree node (see paragraph 3.2.2), on the right side of the window, the user can configure the respective tree-item-node. There are two configuration types: (a) general and (b) concept. a) The General Configuration regards contact parameters, send parameters etc. and is structured in three levels: (i) global, (ii) domain and (iii) dataset. European Commission 2005 Page 27

28 The global and domain configuration is used only to facilitate the dataset level configuration, while only the latter configuration is taken into account during processing. (see paragraph 7.1, 7.2, 7.3) b) The Concept Configuration, which is the lowest level of configuration, the concept parameters can be configured. (see paragraph 7.4) European Commission 2005 Page 28

29 7.1 Global Configuration Global configuration is used to facilitate configuration. Once it is filled in and saved, it can be used for the configuration of domains if the domain configuration is empty. The global configuration is saved in the global.ini file (see Appendix for configuration files). Select GENEDI from the Configuration Tree. On the right side of the window appears the following form: The information that can be provided from the form is explained below. Decimal Separator to be taken into account - Decimal separator: Indicate if you use "." or "," as decimal separator for numeric fields. Be careful not to select comma is your CSV files have comma as field separators! Contact parameters (optional) - Contact function: The possible values are: None CC: responsible person for information production CP: responsible person for computer data processing CF: Head of unit for information production European Commission 2005 Page 29

30 CE: Head of Unit for computer data processing - Contact name: the name of the contact person - Contact identity: (optional) gives the identity of the contact (dept. id) as known in sender's side (e.g. BoP, M&B, EDP, ) - Com. channel: The possible values are: EM: TE: Telephone FX: fax XF: X Com. number: Telephone or fax number or address etc Transmission parameters - Auto compression: Check the button, if you need to compress the created GESMES files (using gzip) - Type of channel: Indicates the way data are transmitted to Eurostat. The possible values are: Nothing (blank) Mail Statel Disk space - Recipient identifier: Should be let at 4D0 code for EUROSTAT - Sender Your full address or the from the responsible of the data transmission. - Recipient address where you want to send your GESMES file. It can be an at EUROSTAT like estat-data@cec.eu.int, or an internal address. - SMTP server: The IP address of your SMPT server. It can be an alias like "smtp.mydomain" or a number like for example Disk space Directory: Contains the path where the file will be copied for Disk space type of channel. European Commission 2005 Page 30

31 7.2 Domain Configuration Select the Domain from the Configuration Tree. On the right side of the window appears a form, which is the same with the Global Configuration form, except that it would contain the Global Defaults if all the field have been let blank. The domain configuration files are located in codelists\domain\genedi_domain.ini (see appendix for configuration files). European Commission 2005 Page 31

32 7.3 Dataset Configuration Select the Dataset from the Configuration Tree. The configuration of each dataset is located in the codelists\domain\genedi_dataset.ini file (see appendix for configuration files). This configuration information is actually used when processing a file that refers to a specific dataset. On the right side of the window appears a form, which is the same with the Domain form, and additionally contains the following: Other parameters - Compact GESMES: If the button is checked then the time range technique is used to write several observations per data segment. Consequently the GESMES output file is really downsized. Else the GESMES output file will contain one observation per line. Note that this option can be applied only in GESMES/TS datasets. - Check Duplicate Record: Check the button, if you need to check for duplicate records during validation. - Validate: Check the button, if you need to go through the validation process. - Code for optional values: European Commission 2005 Page 32

33 Specify the code used for optional values to be handled as missing on purpose in the dataset during validation. - Message Reference: Is by default MREF000001, but you can enter a free text up to 14 characters to identify uniquely the message. - GESMES date format (ges2csv): Check the button, when the input file has a full GESMES format due to an input date that is GESMES formatted. Not selecting the button should be used only in specific cases when the input file has not a full GESMES format due to an input date that is not GESMES formatted. - Encrypt: Check the button, if you want to send the file encrypted to Eurostat. The Encryption option requires the GnuPG application. The management of the keys is configured outside Genedi. Genedi can only set the folder where GnuPG is located (see par. 7.5 for more details). - Public key: When Encrypt button is selected the Public Key should be filled with the Production unit responsible for the domain (recipient production unit). Button Save Save the parameters shown in the current form European Commission 2005 Page 33

34 7.4 Statistical Concept Configuration Concept form is used for configuring a statistical concept. This configuration includes mapping, transcoding and validation rules. In order to open the Concept Form, select a Statistical concept from the Configuration Tree. Mapping Mapping enables the user to create a correspondence between the fields of CSV or FLR input files and the fields of the GESMES key family structure (see appendix for mapping configuration file). - Position: If selected, change or enter the position (if the input file is CSV) or the range length (if FLR) of input fields. Field that doesn t correspond to a GESMES concept could be let blank. - Default value: You can give a default value instead. If you use FLR input file format, you should just fill the list with a length format as x-y instead of a position number. - Hide Code: European Commission 2005 Page 34

35 If you want to hide the codes for the selected statistical concept, select the button. For specifying the code to be displayed for each hidden code see the Appendices Codelists and Hide code configuration file. If no replaced code is specified GENEDI puts 8 s equals to the length of the hidden code. Transcoding Transcoding is used when the input file for the specified concept, uses a different code from the GESMES structure code lists. - Transcode: If the concept needs transcoding, check the button and enter a name for the transcoding rule. The name of the rule corresponds to a file named rule_name.trc where the actual transcoding is defined for the selected concept. - Edit Rule: Press the button, to create or edit the rule. The rule_name.trc will open in the notepad or vi depending on the OS respectively. The user should enter one line for every different code. The structure of this line is: GESMES code;comment on GESMES code;user code;comment of user code When finished, the user has to save the file. (See Appendix Transcoding tables and rules for more information) - Time Transcoding: This option is enabled only when the concept corresponds to the time period. If you use non standard date reference, you have to tick off the "time transcoding" option. Then you have to select the Input Time Format and optionally the User Codes (see below). See appendix for Mapping configuration files for more details. - Input Time Format: A list box gives a list of input time format in your dataset. Select the correct format in the list. If a standard GESMES format is selected then it is not saved in the configuration (the input date does not need any change). - User code for: If the Input Time Format contains different period codes instead of the default ones, you must also define the list of your own date reference using "," as separator. For example, type A,B,C,D or 03,06,09,12 in the text entry labeled "user code for" if you want GENEDI to use this reference for Quarter rather than the default list for Quarter (01,02,03,04). Exception is the time formats for year that do not have period code. The default (standard) period codes are proposed in the drop down list. Validation - Validation Type: European Commission 2005 Page 35

36 Helps you define the validation rules for a given statistical concept in a given dataset (see appendix for validation files). The available rules are: Numeric Alphabetic Alphanumeric Codelist Defined Value For each check, the error level can be specified. The Error Level has two values: warning and reject. When a check fails: If its level was specified as Reject, it means that the dataset has major errors and it cannot be converted to GESMES. On the other hand, if its level is Warning, it prompts the message to the validation log files but the dataset can be converted to GESMES because the error is not major. - Mandatory: If the check button is selected, the statistical concept value must be present in the input file data. - Numeric: the field is numeric, you can verify that each value is inferior to a Max Value or superior to a Min Value. The Max and Min Value can be entered by the user. You can also verify the number of characters of each value. Additionally, you can verify that the field value is greater, lower or equal to a linear expression of another field value with Comparison check. - Alphabetic: you can verify if a field is alphabetic and check the number of digits of its value. You can verify that each value is inferior to a Max Value or superior to a Min Value. The Max and Min Value can be entered by the user. European Commission 2005 Page 36

37 - Alphanumeric: you can verify if a field is alphanumeric and check the number of characters of its value. You can verify that each value is inferior to a Max Value or superior to a Min Value. The Max and Min Value can be entered by the user. - Codelist: you can verify if the field belongs to a code list. This rule is available only if a default code list is assigned to this field. - Defined Value: you can verify that the field is equal to a target value. Button Save updates the configuration files according to your settings. Button Remove rules allows you to remove the current rules for the concept from the configuration files. Important note: You cannot select several validation rules from the graphical interface, if you need that option, please contact the edamis support at edamis-support@cec.eu.int. 7.5 Encryption Settings To set the Encryption Settings, select from the menu Tools -> Encryption Settings. European Commission 2005 Page 37

38 Where the following form is shown: Select the location of the GnuPG executable (e.g. gpg.exe for Windows). Gnupg is used during encryption, if required. European Commission 2005 Page 38

39 8 Updates 8.1 Update configuration files A file chooser is displayed to specify the file and the type of file to be imported to GENEDI. If the type of file is a zip archive, GENEDI prompts to the user a pop up for confirmation of the update of each domain in the archive. In case the file selected is a codelist (.txt), a ini file, or a configuration file (.cod), GENEDI prompts the user to select the domain(s) in which the file has to be updated (next figure). 8.2 Import A file chooser is displayed to specify the package that contains the domains to be imported to GENEDI. When parsing the package, GENEDI prompts to the user a pop up for confirmation of each domain in the package. The new domains imported are set as Shown and are displayed in the Configuration Tree. European Commission 2005 Page 39

40 Note: the zip archive should respect the following folder structure: codelist [Domain short name] files validation [Domain short name] files Example: codelist AIR aircraft.txt validation AIR AIR_A1_Q_validation.txt Pop up window for selecting the domain in which files have to be updated European Commission 2005 Page 40

41 9 Command Line GENEDI 2.1 can also be run from command line. The usage is: genedi.pl [-options] files The options include: batch, command, import and help. 9.1 batch Runs GENEDI in batch mode. All files that respect the file name convention will be automatically processed. The other ones will have to be identified manually either using the GUI or the import command described in paragraph 9.3 below. The command is given for example: perl genedi.pl batch Note: In case the path to the Perl executable is not set in the default system paths, the command may be: On Windows platforms, when located in the genedi root folder: /perl/bin/perl genedi.pl batch On UNIX platforms, when the path to perl.exe is mypath : mypath/perl genedi.pl -batch 9.2 command <command> Executes a specific command. The commands available are: preproc: preprocesses a file validation: validates a file create: creates a GESMES file send: sends a GESMES file ges2csv: converts a gesmes file back to CSV An example of the command is: perl gendi.pl command validation 1_Intray\LCI_Q_A1_2005_0001_V0002.csv 9.3 import Imports a file. The command must be given with the following: -domain <domain name> -ds_id <dataset name> [-periodicity <periodicity>] (A: Annual, S: Semester, Q: Quarterly, M: Monthly, W: Weekly, D: Daily, O: Other, N: Non Periodic, 2 to 9 for every 2 to 9 years) -country <country> -year <year> -period <period> European Commission 2005 Page 41

42 (0000 for annual, 0001 to 9999 for others) [-action <action>] (N: New, R: Replace, A: Append, P: Partial, O: Other) -version <version> -compliant (0 1) An example of the command is: perl genedi.pl -import -domain LCI - ds_id LCI_Q -country A1 -year period version compliant 1 "C:\lci-q-compact.csv" Note: The full path of the file to be imported is needed. For windows it is important to enclose this path in brackets. 9.4 help Displays the command line options. European Commission 2005 Page 42

43 APPENDIX A: Error and warning description There are several predefined validation rules that you can apply on each field of your data file. Numeric rules: You can verify that a field is numeric. You can verify the number of digit. You can verify that a field is inferior or equal to a value. You can verify that a field is inferior or equal to a value. Alphabetic rules: You can verify that a field is alphabetic. You can verify the number of letters. Alphanumeric rules: You can verify that a field is alphanumeric. You can verify the number of characters. Comparison rules: You can verify that f1 (>,<,=) A * f2 + B, where f1 and f2 are two field values, A and B, two parameters you can define. Defined value rules: You can verify that the field is equal to a particular value. Code list rules: You can verify that the field s value belong to a code list. You can decide to verify one among several types of rules. For more information and to set those rules, see the Appendix for setting validation rules. Example of errors: REJECTED 5 1 ECON_IND belongto IE not found in code list ECONOMIC_INDICATOR' Means that the value of the field 5 in the input structure (field 1 in the GESMES structure, named ECON_IND) IE, is not part of the code list ECONOMIC_INDICATOR. REJECTED 3 1 SEATS minvalue 4 is lower than 5 Means that the value of the field 3 in the input structure (field 1 in the GESMES structure, names SEATS) 4 is too small and should be superior or equal to 5. European Commission 2005 Page 43

44 REJECTED 2 1 SEATS maxvalue 4 is greater than 3 Means that, the value of the field 2 in the input structure (field 1 in the GESMES structure, names SEATS) 4 is too big and should be inferior or equal to 3. REJECTED 1 1 TYPE isalphanumeric A2C has wrong number of characters, it should be between 0 and 2 characters. Means that on line 1, the value of the field 1 in the input structure (field 1 in the GESMES structure, named TYPE) A2C has the wrong number of characters that should be between 0 and 2. REJECTED 2 4 NAME isalphabetic ABCD has wrong number of characters, it should be less than 3 Means that, the value of the field 2 in the input structure (field 4 in the GESMES structure, named NAME) ABCD has the wrong number of characters that should be inferior to 3. REJECTED 1 1 NUM isnumeric 123 has wrong number of characters, it should be between 2 and 5 characters Means that the value of the field 1 in the input structure (field 1 in the GESMES structure, named NUM) 123 has the wrong number of characters that should between 2 and 5 characters. REJECTED 1 8 TYPE isalphanumeric A2# is not a alphanumeric value Means that the value of the field 1 in the input structure (field 8 in the GESMES structure, named TYPE) A2# is not a Alphanumeric value. REJECTED 2 3 NAME isalphabetic AB1 is not a isalphabetic value Means that the value of the field 2 in the input structure (field 3 in the GESMES structure, named NAME) AB1 is not a alphabetic value. REJECTED 1 1 YEAR isnumeric 12A is not a numeric value Means that the value of the field 1 in the input structure (field 1 in the GESMES structure YEAR) 12A is not a numeric value REJECTED 1 5 NAME targetvalue TOTO is not equal to TATA Means that the value of the field 1 in the input structure (field 5 in the GESMES structure, named NAME) TOTO, is not a right value and should be TATA. REJECTED 1 5 NUM Comparison 400 is not lower than 5 * 100 Means that the value of the field 1 in the input structure (field 5 in the GESMES structure, named NUM) should be lower than 5 * 100. European Commission 2005 Page 44

45 APPENDIX B: GESMES format Principles and Transmission means Some very simple principles shall be applied when generating and then transmitting a GESMES message to Eurostat: one data set = one GESMES message = one file = one or one STADIUM consignment All GESMES messages shall be sent to Eurostat via STADIUM (client software that can be provided by Eurostat), or using the following structured solution: Message to: Internet: estat-data@cec.eu.int (or X.400:C=INT;A=RTT;O=CEC;P=EU;S=ESTAT;G=STADIUM) Subject field-naming convention: edamis #[input file name].ges Body: "GESMES File (compressed) automatically sent by GENEDI version 2.1" European Commission 2005 Page 45

46 Overall structure of the easy GESMES The easy GESMES message could change from a statistical domain to another. Its global format is shown below. The variable part of the message is shown in bold and Italics and is detailed in the next pages. Each line starts with an identifier (called a segment), and ends with a quote. It is requested, for readability purposes, to start a new line for each segment; this will also avoid possible problems of transmission of the message if it is too large. A data set DATASET for country CC, Year YY and period PP (identified as file [input file name].ges ) can have the following structure: The header, whose model can be found in the gesmes_xxx.txt files where xxx designates the short name of the statistical domain (e.g. BOP,MRTM,FA,FT,IS,AV) UNA:+.? ' Or UNA:+decimal_separator? ' UNB+UNOC:3+Sender identifier+eurostat+current date:time+interchange reference number++gesmes/ts' UNH+Message reference number+gesmes:2:1:e6' BGM+74' NAD+Z02+ECB' NAD+MR+EUROSTAT' NAD+MS+Sender identifier' CTA+contact_function+contact_id:contact_name' COM+com_number:com_channel' IDE+10+Message identity' DSI+data set identifier' STS+3+7' DTM+242:date time:203' DTM+Z02+period of reference:date time format' IDE+5+dataset structure' GIS+AR3' GIS+1:::-' The data section, a complete description is provided the next section ARR++ dataset' The Trailer section UNT+Number of segmentd+message reference' UNZ+1+Interchance reference number' European Commission 2005 Page 46

47 Important remark: In the GESMES header, if the UNA segment contains a variable decimal_separator then it is assumed that the GESMES output will not GESMES\TS but another subset of GESMES (e.g. GESMES\DSIS, GESMES\PRODCOM,...). If the UNA segment is the first one (e.g. UNA:+.? ') then GENEDI will use the GESMES\TS subset. Consequently, in the first case the input decimal separator will be used in the GESMES output. In the second case, the GESMES\TS case, the decimal separator must be a dot, so the conversion of the input decimal separator to a dot will be automatic. List of segments Names Description Example of usage UNA:+ Service String Advice UNA:+.? UNB+ Interchange Header UNB+UNOC:3+IT3+EUROSTAT : 1234+IREF GESMES/TS UNH+ Message Header UNH+MREF00001+GESMES:2:1:E6 BGM+ Beginning of Message BGM+74 NAD+Z02+ Name and Address (organisation NAD+Z02+ECB maintaining the code lists) NAD+MR+ Name and Address (recipient) NAD+MR+EUROSTAT NAD+MS+ Name and Address (sender) NAD+MS+IT3 CTA+ Name of the function of the CTA+CC+IS/BoP:Mr John' person (on the sending site) whose name follows COM+ Telephone or fax number or e- COM :TE' mail address etc... IDE+10+ Message identity IDE+10+my text DSI+ Dataset identifier DSI+BOP_Q STS+ Status Report STS+3+7 DTM+242: Date/Time/Period (preparation DTM+242: :203 time) DTM+Z02: Date/Time/Period (reporting DTM+Z02: :702 period) IDE+ Dataset structure Identity IDE+5+EUROSTAT_BOP_01 GIS+ General Indicator GIS+AR3 GIS+1 General indicator (character GIS+1:::- used for the missing value in ARR segment) ARR++ Array ARR++1997:3:ESHUV:2:ESBIO:0111:1::::: :5023 UNT+ Message Trailer UNT+59+MREF UNZ+ Interchange Trailer UNZ+1+IREF European Commission 2005 Page 47

48 Variable parts Most of the variable parts are linked to the configuration and set-up parameters, and to a field contained in the array segments (ARR+). This is the purpose of the Links column. Variable part name and list of segments where it is present Sender identifier (set up, in UNB+ and NAD+MS+) Possible value List of sender identifiers contained in the code lists cl_organisation_lit.cod Current date (in UNB+) Format YYMMDD (e.g for 30 June 2001) Time of preparation (in Format HHMM (e.g for UNB+) 2:15 pm) Interchange reference A unique reference that identifies number (in UNB+ and the interchange Example: an UNZ+) incremental number Message reference (in UNH+ and UNT+) contact_function (in COM+) contact_id (in COM+) contact_name (in COM+) com_number (in CTA+) com_channel (in CTA+) Message identity (in IDE+10+) Dataset identifier (in DSI+) Reference that must be unique within the interchange. Free text up to 14 characters. CC: responsible person for information production CP: responsible person for computer data processing CF: head of unit for information production CE: head of unit for computer data processing Free text up to 17 characters, eg BoP, M&B, EDP, ISCD, etc. Free text up to 35 characters, eg. John Smith Free text up to 512 characters, eg EM: TE: telephone FX: fax XF: X.400 Free text (up to 25 characters) to give message identity In order to distinguish messages containing data sets structured according to the same key family, a different identifier has to be given for each of them. The lists Links Given during the installation System date when the message is built System time when the message is built Always IREF By default MREF It can be changed in the main menu window European Commission 2005 Page 48

49 Date time (in DTM+242) Period of reference - second term Date time format - first term (in DTM+Z02) Data set structure (in IDE+) Number of segment (in UNT+) of data set identifiers differ according the statistical domain. It could be found in file XXX_dataset_id.cod, where XXX is the short name of the statistical domain. Date and local time of the extraction of the dataset For specific periods for CCYY for CCYYQ for CCYYMM ranges: for CCYY-CCYY for CCYYQ- CCYYQ for CCYYMM- CCYYMM where: CC - century YY - year Q - Quarter (1,2,3,4) MM - month (01,02 12) It can be deduced from the dataset identifier in the code lists XXX_dataset_id.cod Contains a count of the number of segments in the message, between UNH and UNT ( but without UNA, UNB, and UNZ) System date and time when the message is built In the ARR++ segments, linked to the time period or the ( reference year and reference quarter ) Linked to the dataset identifier Equal to (Number of ARR++ segments) + (number of Header segments) -2 Remark: if updates (correction, append, delete ) must be achieved on a data set already transmitted to Eurostat, then the whole data set with the updates must be retransmitted to Eurostat. European Commission 2005 Page 49

50 Structure of the data set segment (ARR++) The content of the data set will be included in the ARR segment. The structure required for the transmission from the Competent National Administrations to Eurostat depends first on the statistical domain, and then on the dataset identifier. It is not possible to give a complete description of each dataset structure used in the framework of GENEDI. However, to illustrate the purpose, the following table shows the EUROSTAT_POPSTA_RD key family structure: KEY FAMILY MNEMONIC: ESTAT_POPSTA_RD Organization and statistical concepts involved Position In key: Attachm Concept Mnemonic Concept Name Format Code list Mnemonic Code List Name ent level and Usage status DIMENSIONS 1 FREQ Frequency AN1 CL_FREQ Frequency code list (BIS,ECB) 2 REF_AREA Reporting Country AN2 CL_TERTORY Area/Reference Region code list 3 DEMOIND Demographic Indicator AN..14 CL_DEMOIND Demographic Indicator code list 4 REF_REGION Reference Region AN..16 CL_ TERTORY Area/Reference Region code list 5 GENDER GENDER AN..5 CL_GENDER GENDER code list 6 AGE Age AN..10 CL_AGE Age code list In ARR: Time reference and observation 7 ΤΙΜΕ_PERIOD Time period or range AN TIME_FORMAT Time format code AN3-9 OBS_VALUE Observation value N Assig C, OBSERVATION ATTACHED ATTRIBUTES (in the main ARR segment) nmen t level M 10 ObseC OBS_STATUS Observation status AN1 CL_OBS_STATUS Observation status code list (BIS,ECB, Eurostatrvati on BoP) 11 ObseC OBS_CONF Observation confidentiality AN1 CL_OBS_CONF Observation confidentiality code list (Eurostatrvati on BoP, ECB) OTHER ATTRIBUTES ObseC OBS_COM Observation comment AN..350 rvati on Message Administration ORGANISATION Organisation AN3 CL_ORGANISATION European Commission 2005 Page 50

51 APPENDIX C: Flat file format Purpose Eurostat supports 2 EDI-compatible formats: A GESMES standard message compliant with the UN/EDIFACT standard A structured flat file format ( as a temporary/intermediate solution) The purpose of this section is to detail the structured flat file format complete EDI solution for those of Competent National Authorities who have chosen this option to transmit statistics to Eurostat. Why use a structured flat file EDI solution This structured flat file solution that is an alternative to the UN/EDIFACT GESMES/TS solution offers the following main advantages: The cost of this EDI solution is close to zero, as the transmission tool ( or STADIUM) is available and the format can be generated automatically (without any need for additional software) from most of the existing database (e.g. export format csv of Oracle, save as csv in Excel ), It is compatible with full EDI solutions based on servers (with the possibility of having a full automatic process to extract data from a central database and to transmit it to Eurostat), But it is also compatible with a PC user that extracts manually data to transmit it to Eurostat, The structured flat file + structured EDI solution is flexible enough to permit the transmission of explanatory notes with the data, also the compression, and if necessary encryption of the data, It can be understood easily just by reading the GESMES Message Implementation Guides (in which the structure and codes are detailed) It can be a good standard input format for the development of an EDI toolbox. CSV format Principles: One dataset = one structured flat file One record in the dataset = one line in the associated structured file The choice is let between having ; (semicolon) or, (comma) or tabulation as field separator. FLR format Principles: One dataset = one structured flat file One record in the dataset = one line in the associated structured file Each line is composed of a succession of data without separator. To recover each field values, one uses a table that provides the length (number of digits) of each field. European Commission 2005 Page 51

52 Example: This is a FLR line: IE IE US Year: 4 digits -> 2000 Month: 2 digits -> 07 Country code: 3 digits -> IE European Commission 2005 Page 52

53 APPENDIX D: Quick help to add/customise statistical domains in GENEDI Documents required: GESMES MIG or the output structure Descriptive of the Input structure Procedure to add a new statistical domain called XXX 1. Create a sub folder called XXX in folder GENEDI\Codelists\ 2. Copy the codelists in sub folder XXX 3. Create a text file called "XXX_dataset_structure.cod" and write the output statistical structure following strictly the model: = list of = position of the year Concept1;Definition;Codelist_name (optional) Concept2; Definition;Codelist_name (optional)... ; NAME_OF_STRUCTURE_2 Concept1; Definition;Codelist_name (optional) Concept2; Definition;Codelist_name (optional)... ; Example: MY_TEST_STRUCTURE Value;; Date;; Code;;my_test_codelist ; Remark: 1. The Code list name should be present only for field whose values belong to a list of codes. 2. The concept definition is mandatory 3. The parameters, words starting correspond to the following = list of field GENEDI has to take into account when checking for duplicate = position of the field that contains the year = position of the field that contains the year, position of the field that contains the months, the quarters, or the semesters European Commission 2005 Page 53

54 Cas This parameter is necessary only if you want to use your own reference for the date (different from the GESMES references) for the months, the quarters, or the semesters. In that case, enter the list of references using the following model: my first reference, corresponding GESMES reference, my second reference, corresponding GESMES reference,... Example: Q1,1,Q2,2,Q3,3,Q4,4, means that I use Q1 for my first quarter, and that this reference corresponds to value 1 in GESMES, this parameter is necessary only if you use several family of reference in the same dataset. For example, if you are using Q1 or 2, Q2 or 22 etc... In that case, enter the full name (with the path) with quotes of the file containing the correspondences between the different family of references. Example of file content: Q1; 21; 1st Quarter 21; 21; 1st Quarter (second choice) Q2; 22; 2nd Quarter 22; 22; 2nd Quarter (second choice) The table below summarises the different combination of parameters according to the date format in the input dataset: Example of date format for the 1 st quarter 2001 number of positions Presence Presence No Not used ;1 2 No Not used ;Q1 2 Yes No Q1 1 Yes No ;21 2 Yes Yes Yes Yes Save the file in sub folder XXX. 4. Create a text file called "XXX_dataset_id.cod" and write the following line: NAME_OF_DATASET_A; NAME_OF_STRUCTURE_1 NAME_OF_DATASET_B; NAME_OF_STRUCTURE_2... Remark: one structure name can be use for several dataset Example: My_test_dataset;MY_TEST_STRUCTURE 5. Open file "list_of_units.cod" located in folder "GENEDI\codelists", and add the a new line as follows: XXX;long name of the new domain European Commission 2005 Page 54

55 Example: TEST;New domain for test 6. Create the files for GEMSES header and trailer. Generally, these files are similar for every domain in GENEDI. However, be careful since some parameters may change. You can find these files in folder GENEDI\Codelists\STS for instance. Their names are gesmessts.txt and gesmestrailersts.txt. Copy these files in your sub folder Codelists\XXX and rename them gesmesxxx.txt and gesmestrailerxxx.txt. 7. If you need to validate data, create validation rules. Create a sub folder called XXX in folder GENEDI\Validation Launch GENEDI, Choose the domain you have created in the list of statistical domains, Select the dataset in the right frame", Click on "configure" button, Go in the menu bar and click on "File", Choose in the list "Set Validation rules", Follow the procedure described in the "GENEDI configuration for validation rules" 8. If you need to transcode data: Create a sub folder called XXX in folder "GENEDI\tools\transcoding" Create the transcoding tables, that consists in a text file with four columns as follows: OUTPUT CODE;COMMENT;INPUT CODE;COMMENT Remark: 1) Comments are optional BUT NOT the semi colons. If you omit the comments then the line should be: OUTPUT CODE;;INPUT CODE; 2) Save the file with an explicit name (free), but with extension ".trc" Repeat step 4 for each concept requiring a transcoding. 9. Launch the transcoding tool, select the new created domain, and the data set id in the right frame. Then, click on the "configure transcoding" button, select each concept in the right frame whose values must be transcoded, and enter the name of the corresponding table created in step 4 (without the file extension) Example: if the file containing the table is called "ACTIVITY_TABLE.trc", and the table is for the concept "Activity", then enter the name ACTIVITY_TABLE 10. Click on button "save". 11. See the Appendix for Transcoding to use the transcoding tool. European Commission 2005 Page 55

56 APPENDIX E: Mapping configuration file Mapping concept In order to make the mapping operation as easy as possible, the full name of the GESMES statistical concepts should appear in this list. So, the mapping tool could look like a window with two columns, one that contains the position or the length of input fields, an other that shows the name of the statistical concept. Example: Positions 1;5; Or Default values I2 F Gesmes concept definition Reference period Threshold indicator Productivity Partner country Flag Other partner country Range of length 1-5; ; Default values I2 F Gesmes concept definition Reference period Threshold indicator Productivity Partner country Flag Other partner country Field that doesn t correspond to a GESMES concept could be let blank. But, you can give a default value instead. If you use FLR input file format, you should just fill the list with a length format as x-y instead of a position number. When the configuration is realised, you have to save the parameters; the mapping is saved into a X.map file, where X designates the dataset identifier name (e.g. EXTRA-M.map). Note: it is possible to map several input fields to one GESMES concept. This situation occurs when the same variable is used several times in the one record. In that case, you can indicate either the positions or the ranges of length several times separated by a semicolon (see tables above). The next figure shows an example where this functionality is useful. European Commission 2005 Page 56

57 Different values for the same variable GESMES structure Block 1 Block 2 Block 3 Block 4 Block 5 FLR file structure Block 1 Block 1 Block 1 Block 1 Block 2 Block 3 Block 4 Block 5 The mapping configuration can be performed in the User Interface in a Statistical Concept Form (see par. 7.4). Mapping file format When saving a mapping configuration the.map file is saved. The following example of shows a.map file for FLR input file. The input time format is provided in file codelist\[stat domain]\[dataset id].map on the first line. Quarterly:01,02,03,04 QQYY;14 :9:608 :11:A :12:F :13: :6:1 1-2:2: 4-4:4: 5-8:5: 9-9:3: 10-10:1: 11-14:7: 17-20;33-36;49-52;65-68:8: 21-32;37-48;53-64;69-80:10: The first value provides GENEDI the user time nomenclature for the input time. In the example above, values 01,02,03 and 04 are used to indicate each quarter. But if the if your input time uses different values to reference each quarter you can change them by: Cheching the time code transcoding button Entering the list of values for each quarter separated by commas The second value indicates GENEDI the input date format, so that it could convert it correctly to the GESMES time period format. European Commission 2005 Page 57

58 The possible formats are: MMYY, YYMM, MMCCYY, CCYYMM, SCCYY, CCYYS, SSYY, YYSS, SYY, YYS, QQYY, YYQQ, QYY, YYQ, CCYYQ, QCCYY, WWYY, YYWW, WWCCYY, CCYYWW, CCYYMMDD, DDMMCCYY, YYMMDD, DDMMYY, xxyy. With the notation: CC for century, YY for year, MM for month, WW for week number, DD for day number, S for semester, Q for quarter and xx for anything which must be omitted. Note: If the input time format selected is not a standard GESMES output format, then it is saved in the first line of the map file, thus no time transcoding is needed. The number following the input time format is an index used by the graphic interface. Many-to-one mapping GENEDI is also able to concatenate input field values and to map it to a GESMES concept. For example, your dataset structure uses two fields for the date and the periodicity (e.g....;2002;3... in a CSV file). As in GESMES/CB the date and periodicity are coded in only one field like 20023, you need to concatenate your input fields. To use this functionality in the mapping module, just put X.Y in the position column that corresponds to the GESMES concept selected, where X and Y are the positions of your fields in your dataset structure. The example above shows an extract of a mapping file using the concatenation option: :12:F :13: :6:1 1:2: 2:4: 3.4:5: that means that input fields at position 3 and 4 will be concatenated and put at the 5 th position in the GESMES dataset structure European Commission 2005 Page 58

59 APPENDIX F : Configuration files Dataset configuration file These files are located in Codelist/Domain/genedi_Dataset.ini. The structure of this file is for example: # # updated by confmanager.pm # date : 12/01/2005 # # # csv parameters # field_separator = ";" decimal_separator = "." # # contact parameters # contact_function = "" contact_name = "" contact_id = "" com_channel = "" com_number = "" # # transmission parameters # compress_mail = "yes" #compress automatically output files type_of_channel = "Statel" #use of Mail, Statel or Disk space to send data recipient_identifier = "4D0" #code that identifies the recipient (usually code for #Eurostat) recipient_ _address = "estat-stadium@cec.eu.int" # of the recipient sender_ _address = "" # of the sender smtp_server = "" #IP address of the sender disk_space = "" #Destination folder for Disk space channel # # other parameters # European Commission 2005 Page 59

60 gesmes_factorization = "" #control the GESMES factorisation option checkduplicaterecord = "yes" #use to check duplicated record validation_boolean = "yes" #control the validation option optional_values = "" #definition of values in the record that will be #handled as optional. More than one values #separated by comma. Message_ref_num = "MREF000001" ges_x_boolean = "no" #indicates if the date has GESMES format for the #GEMSES to CSV process encrypt_boolean = "no" #indicates if the file to be sent will be encrypted public_key = "" #the public key of the recipient for the encryption The # symbol means that the line is a comment. The four first lines give the time of creation of the file. The other lines are long the format parameter = value. Each parameter value is updated by the graphic interface. It is possible to change manually any of these parameter values but no checking will be done on these changes, and could lead to error production. European Commission 2005 Page 60

61 Genedi setup ini file This file genedisetup.ini is created during the installation process and contains parameter values relevant to: The used-defined input and output folders (used only for 1.6.* and earlier versions, otherwise they should have their default values in the installation directory). The network paths (only used for a network installation) This is an example of genedisetup.ini: # # user-defined paths # Import_PreIntray = "0_PreIntray" Import_Intray = "1_Intray" Export_Gesmes = "3_Gesmes" # path where GENEDI must import noncompliant input files # path where GENEDI must import compliant input files # path where GENEDI must copy output files # # paths for network use # inputfilepath = "" absolutepath = "" # Only used for Network installation # Only used for Network installation Setup ini file The setup.ini is created during the installation process and contains parameter values relevant to: The version The STATEL Nick Name The country and the Institution ver = "2.1" allow_sm = "yes" snn = "eurostat-1" # # country parameters # sender_identifier = "FR1" country_code = "FR" country_code2 = "INSEE" country_name = "France" gnupg_location= # Boolean to authorise the sending module # Statel default address # code that identifies the sender # country code # name of the institution # full country name #folder containing the gpg executable European Commission 2005 Page 61

62 APPENDIX G: Validation file When validation rules are set or modified through the concept configuration screen, a file called [DATASET_ID]_validation.txt is created in folder codelists/[stat_domain]. The aim of this section is to describe the structure of such a file. In some specific cases (use of generic advanced validation rules), it will be necessary to modify the content of these files with a text editor. File Structure The Validation rules of dataset EXTRA-M of Foreign trades are shown. When you have set the validation rules using the graphic interface, the following file is created: ##value_conf belongto,28,r,o,cl_confidentiality ##END ##container belongto,11,r,m,cl_container ##END ##delivery belongto,15,r,o,cl_delivery ##END ##oth_part_conf belongto,20,r,o,cl_part_conf ##END ##confidentiality belongto,16,r,m,cl_confidentiality ##END ##transaction belongto,14,r,o,cl_transaction ##END ##part_country belongto,6,w,m,cl_area_geo ##END ##net_conf belongto,30,r,o,cl_confidentiality ##END European Commission 2005 Page 62

63 ##pref belongto,9,r,m,cl_preference ##END ##invoic_conf belongto,29,r,o,cl_confidentiality ##END ##freq belongto,1,r,m,cl_freq ##END ##stat_proc belongto,8,r,m,cl_stat_proc ##END ##ref_country belongto,2,r,m,cl_area_geo ##END ##front_trans belongto,10,r,m,cl_transport ##END ##trans_nation belongto,12,w,m,cl_area_geo ##END ##flow_code belongto,4,r,m,cl_flow ##END ##int_trans belongto,13,r,o,cl_transport ##END ##oth_part_country belongto,6,w,m,cl_area_geo ##END ##suppl_conf belongto,31,r,o,cl_confidentiality ##END European Commission 2005 Page 63

64 ##part_conf belongto,19,r,o,cl_part_conf ##END Each rules is written between ##statistical concept name rules #END with the following convention: statistical concept name, corresponds to the name found in FT_dataset_structure.cod rules, corresponds to the name of the rule (listed below) You have to strictly respect the grammar of the rule, which is described below for each possible rules: belongto, position of the field in the record, error level (R or W), value presence(optional or Mandatory), Code list name. This rule checks if the value at the given position is in the given code list. targetvalue, position of the statistical in the record, error level, value presence, target value This rule checks if the value at the given position is equal to the given target value. isalphabetic, position of the statistical in the record, error level, value presence, minimum number of characters, max minimum number of characters This rule checks if the value at the given position is an alphabetic value and optionally checks if the number of characters is in the given range. isalphanumeric, position of the statistical in the record, error level, value presence, minimum number of characters, max minimum number of characters This rule checks if the value at the given position is an alphabetic or a numeric value and optionally checks if the number of characters is in the given range. isnumeric, position of the statistical in the record, error level, value presence, minimum number of characters, max minimum number of characters This rule checks if the value at the given position is an numeric value, optionally checks if the number of characters is in the given range and if the value is in a given range. maxvalue, position of the statistical in the record, error level, value presence, maximum value This rule checks if the numeric value at the given position is lower than the given value. European Commission 2005 Page 64

65 minvalue, position of the statistical in the record, error level, value presence, minimum value This rule checks if the numeric value at the given position is greater than the given value. Compare, position of the statistical in the record, error level, value presence, comparison operator, coefficient, second field number, offset, Boolean to generate an error or not if the second field is empty This rule checks if the numeric value at the first given position is lower, greater or equal to the second given value times a given coefficient plus a scalar. European Commission 2005 Page 65

66 Introduction to the generic advanced validation rules In order to give more flexibility to the validation process, a new feature of GENEDI allows to parameterise generic advanced validation rules. This paragraph aims to describe the procedure to include these rules in the current validation files. Note that the generic advanced validation rules should be inserted AFTER the creation of the validation files through the graphic interface. Regarding the handling of empty fields, it is the same in all generic rules. When a field is mandatory (Status = M ) an error is always raised if it has an empty value. If the field is optional (Status = O ), the rule is not applied to the current record, except in the special case of target value usage for this field, where the rule is executed for verification. When a field is compared directly for equality or inequality with a target value then the empty value for this field is allowed. This is because the rules target values can take the value or empty. These checks are made for all the fields that are involved in a generic rule. GENEDI offers three generic advanced validation functions that perform three types of controls: Generic rule n 1 Syntax: generic_rule_1,p1,op1,tg1,p2,op2,tg2,mg,status,level P1 = position of the reference field in the GESMES dataset structure Op1 = comparison operator (==,<,>,>=,<=,!=) Tg1 = target value to compare with the value of P1 1 P2 = position of the second field in the GESMES dataset structure Op2 = comparison operator (==,<,>,>=,<=,!=) Tg2 = target value to compare with the value of P2 MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_1,9,==,2,14,<=,0,the tonnage of freight and mail should be greater than zero for type of service 'freight and mail',m,w test performed: IF (value of field n 9)==2 THEN IF (value of field n 14)<=0 THEN Display the Warning message: 1 To test if an empty value, let Tg1 or Tg2 empty with comma following one another European Commission 2005 Page 66

67 The tonnage of freight and mail should be greater than zero for type of service 'freight and mail' ENDIF ENDIF Generic rule n 2 Syntax: generic_rule_2,p1,op,p2,mg,status,level P1 = position of the reference field in the GESMES dataset structure Op = comparison operator (==,<,>,>=,<=,!=) P2 = position of the second field in the GESMES dataset structure MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_2,17,<,12,the technical capacity of the aircraft should be higher or equal to the number of passengers,o,w test performed: IF (value of field n 17) < (value of field n 12 THEN Display the Warning message: The technical capacity of the aircraft should be higher or equal to the number of passengers ENDIF European Commission 2005 Page 67

68 Generic rule n 3 Syntax: generic_rule_3, P1,Op1,Tg1,P2,Op2,Tg2,Op3,Tg3,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure Op1 = comparison operator (==,<,>,>=,<=,!=) Tg1 = target value to compare with the value of P1 P2 = position of the second field in the GESMES dataset structure Op2 = comparison operator (==,<,>,>=,<=,!=) Tg2 = target value to compare with the value of P2 Op3 = comparison operator (==,<,>,>=,<=,!=) Tg3 = second target value to compare with the value of P2 MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_3,9,==,2,17,!=,,>,0,the technical capacity of the aircraft should be equal to zero or empty in case of type of service freight and mail,o,w test performed: IF (value of field n 9)==2 THEN IF ((value of field n 14)!="" OR (value of field n 14)>0) THEN Display the Warning message: The technical capacity of the aircraft should be equal to zero or empty in case of type of service freight and mail ENDIF ENDIF Generic rule n 4 Syntax: generic_rule_4, P1,Op1,Tg1,P2,Tg2,P3,Op3,Tg3,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure Op1 = comparison operator (==,<,>,>=,<=,!=) Tg1 = target value to compare with the value of P1 P2 = position of a second field in the GESMES dataset structure Tg2 = target value to compare with the value of P2 P3 = position of a third field in the GESMES dataset structure Op3 = comparison operator (==,<,>,>=,<=,!=) Tg3 = second target value to compare with the value of P3 MG = text describing the error message European Commission 2005 Page 68

69 Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_4,15,==,empty,2,a8,11,==,1,teuitu shall be present in table A8,M,R test performed: IF [(value of field n 15) is empty] AND (value of field n 2)==A8] AND [(value of field n 11)==1] THEN Display the Error message: TEUITU shall be present in table A8 ENDIF Generic rule n 5 Syntax: generic_rule_5, P1, P2, P3,CODELIST,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure P2 = position of a second field in the GESMES dataset structure P3 = position of a third field in the GESMES dataset structure CODELIST = name of the code list containing complementary codes for field P3 MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_5,17,15,11,aircraft,the number of passenger seats available divided by the number of flights should be lower or equal to the maximum aircraft configuration OR higher or equal to the minimum aircraft configuration,o,w test performed: IF [(value of field n 17) / [(value of field n 15) > VALUE_1(n 11)] OR [(value of field n 17) / [(value of field n 15) < VALUE_2(n 11)] THEN Display the Warning message: The number of passenger seats available divided by the number of flights should be lower or equal to the maximum aircraft configuration OR higher or equal to the minimum aircraft configuration ENDIF VALUE_1(n i) and VALUE_2(n i) are taken respectively in the second and the third column of the code list whose name is the parameter CODELIST. For example, a line of such a code list could look like: European Commission 2005 Page 69

70 B747;100;12 So in that case VALUE_1 is 100 and VALUE_2 is 12. The position of the third field is used by GENEDI to get the correct code in CODELIST. To use extra values in Code list like in that example, you have to create a file called [STAT_DOMAIN]_assoc_codelist.cod in folder Codelists\[STAT_DOMAIN], and write the following line: CODELIST_NAME; complementary_2 Where CODELIST_NAME is the name of the code list as for the current example: aircraft;complementary_2 See Appendix Codelists for a complete description of the different code list formats. Generic rule n 6 Syntax: generic_rule_6, P1, P2,CODELIST_1, CODELIST_2,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure P2 = position of a second field in the GESMES dataset structure CODELIST_1 = name of the code list containing associated codes for field P2 CODELIST_2 = name of the code list containing the codes for field P1 MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning test performed: IF (value of field n P1) is NOT in code list CODELIST_1 THEN Returns with out message. The rule cannot be applied. ELSE Extract the two first characters of (value of field n P1) And compare with the associated value linked to the (value of field n P2) in code list CODELIST_2 If not equal display error message MG with level Level ENDIF See paragraph Error! Reference source not found. for a complete description of the different code list formats. Example: generic_rule_6,5,2,airport,reporting_country_and_prefix_reporting_airports,the reporting airport code is not consistent with the reporting country code,o,w European Commission 2005 Page 70

71 Generic rule n 7 Syntax: generic_rule_7, P1, Op1,Tg1,P2,Tg2,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure Op1 = comparison operator (==,<,>,>=,<=,!=) Tg1 = target value to compare with the value of P1 P2 = position of a second field in the GESMES dataset structure Tg2 = target value to compare with the value of P2 MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_7,13,!=,empty,2,a7 A8 A9,TKM shall be empty in all tables but A7.A8.A9,M,R test performed: IF [(value of field n 13) is not empty ] AND [(value of field n 2) is in (A7,A8,A9)] THEN Display Error Message: TKM shall be empty in all tables but A7.A8.A9 ENDIF Generic rule n 8 Syntax: generic_rule_8, P1, CODELIST,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure CODELIST = name of the code list containing codes for field P1 MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_8,14,cl_country,j0334: Country of unloading is not recognized,m,r test performed: IF [Two first characters of (value of field n P1) is NOT in CODELIST] THEN Display Error Message MG with level Level ENDIF Generic rule n 9 Syntax: European Commission 2005 Page 71

72 generic_rule_9, P1, P2,P3,CODELIST_1,CODELIST_2,MG_1,MG_2,Status,Level_1, Level _2 P1 = position of the reference field in the GESMES dataset structure P2 = position of a second field in the GESMES dataset structure P3 = position of a third field in the GESMES dataset structure CODELIST_1 = name of the code list containing codes for field P1 CODELIST_2 = name of the code list containing codes for field P2 MG_1 = text describing the error message for field P1 MG_2 = text describing the error message for field P2 Status = M or O, for (M)andatory or (O)ptional reference field Level_1 = R or W, Error Level for (R)ejection or (W)arning for field P1 Level_2 = R or W, Error Level for (R)ejection or (W)arning for field P2 test performed: IF [Two first characters of (value of field n P1) == Two first characters of (value of field n P1) == (value of field n P3)] THEN IF [(value of field n P1) is NOT in CODELIST_1] THEN Display Error Message MG_1 with level Level_1 ENDIF ELSE IF [Two first characters of (value of field n P1) is NOT in CODELIST_2] THEN Display Error Message MG_2 with level Level_2 ELSE OK IF [(value of field n P1) is NOT in CODELIST_1] THEN Display Error Message MG_2 with level Level_2 ELSE OK ENDIF ENDIF Example: generic_rule_9,14,13,1,cl_nuts3,cl_country,j0337: Region of Unloading must be present for National Transport,J0338: Region of Unloading is not recognized,m,r,w Generic rule n 10, 10b and 10c Syntax: generic_rule_10, P1,Op1,Op2,P2,P3,COEF,P4,Op4,Tg4,MG,Status,Level generic_rule_10b, P1,Op1,P2,P3,COEF,P4,Op4,Tg4,MG,Status,Level generic_rule_10c, P1,Op1,P3,COEF,P4,Op4,Tg4,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure P2 = position of a second field in the GESMES dataset structure P3 = position of a third field in the GESMES dataset structure P4 = position of a fourth field in the GESMES dataset structure European Commission 2005 Page 72

73 COEF = numeric value Op(i) = comparison operator (==,<,>,>=,<=,!=) Tg4 = target value to compare with the value of P4 MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example for n 10: generic_rule_10,16,<,>,12,15,0.1,11,==,1,j0345: Incorrect Ton Kilometers for single transport operations,m,w test performed for n 10 IF [(value of field n P4) Op4(==,<,>,>=,<=,!=) Tg4] AND {[(value of field n P1) Op1(==,<,>,>=,<=,!=) (value of field n P2-0.5) x (value of field n P3)*COEF] OR [(value of field n P1) Op1(==,<,>,>=,<=,!=) (value of field n P2+0.5) x (value of field n P3)*COEF] } THEN Display error Message MG with level Level ENDIF Example: IF [(value of field n 11) ==1] AND {[(value of field n 16) < (value of field n ) x (value of field n 15)*0.1] OR [(value of field n 16) > (value of field n ) x (value of field n 15)*0.1]} THEN Display Warning Message: J0345: Incorrect Ton Kilometers for single transport operations ENDIF generic_rule_10b,16,<=,12,15,0.1,11,==,2,j0346: Incorrect Ton Kilometers for several transport operations,m,w test performed for n 10b IF [(value of field n P4) Op4(==,<,>,>=,<=,!=) Tg4] AND [(value of field n P1) Op1(==,<,>,>=,<=,!=) (value of field n P2) x (value of field n P3)*COEF] THEN Display error Message MG with level Level ENDIF European Commission 2005 Page 73

74 Example: IF [(value of field n 11) ==2] AND [(value of field n 16) <= (value of field n 12) x (value of field n 15)*0.1] THEN Display Warning Message: J0346: Incorrect Ton Kilometers for several transport operations ENDIF Example for n 10c: generic_rule_10c,12,>,9,1.3,11,!=,,j0328: Weight exceeds Journey Load Capacity,M,W test performed for n 10c IF [(value of field n P1) Op4(==,<,>,>=,<=,!=) Tg4] AND [(value of field n P1) Op1(==,<,>,>=,<=,!=) (value of field n P2) x (value of field n P3)*COEF] THEN Display error Message MG with level Level ENDIF Example: IF [(value of field n 11)!=""] AND [(value of field n 12) > (value of field n 9) x 1.3] THEN Display Warning Message: J0328: Weight exceeds Journey Load Capacity ENDIF Generic rule n 11 Syntax: generic_rule_11, P1,CODELIST,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure CODELIST = name of the list of codes with associated codes MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_11,4,country_codes_and_unlocodes_prefix,the first two positions of the reporting port are not compatible with the reporting country,m,r test performed: IF [(the two first characters of value of field n P1) are not in the list of codes associated to the COUNTRY ISO Code] THEN European Commission 2005 Page 74

75 Display error Message MG with level Level ENDIF Generic rule n 12 Syntax: generic_rule_12, P1,Start,End,Op,Tg,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure Start = starting position in the string (starting at 0), integer value, can be a negative value if starting from the end of the string End = ending position in the string (starting at 0), integer value Op = comparison operator (==,<,>,>=,<=,!=) Tg = target value to compare with the sub string of P1 between position Start and End MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_12,8,-1,1,==,0,the last position of the type of cargo should be different from zero,m,w test performed: IF [(sub string of value of field n P1 between position Start and End) Op(==,<,>,>=,<=,!=) Tg] THEN Display error Message MG with level Level ENDIF Example: IF [(the last character of value of field n 8) ==0] THEN Display Warning Message: The last position of the type of cargo should be different from zero ENDIF Generic rule n 13 Syntax: generic_rule_13,p1,p2,codelist_1,codelist_2,op,tg,mg1,mg2,status,level P1 = position of the reference field in the GESMES dataset structure P2 = position of a second field in the GESMES dataset structure CODELIST_1 = name of the first code list CODELIST_2 = name of the second code list Op = comparison operator (==,<,>,>=,<=,!=) Tg = target value to compare with the value of P4 MG1 = text describing the first error message European Commission 2005 Page 75

76 MG2 = text describing the second error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_13,7,6,mca_eurostat_partners,extended_unlocode,==,zz888,the port of loading/unloading doesn't exist in the UNlocode list,w,r test performed: IF [(value of field n P2) is empty] AND [(value of field n P1) is in CODELIST_1] THEN Display error Message MG1 with level Level ELSE IF [(value of field n P2) is not equal to the code associated to (value of field n P1) in CODELIST_2] THEN IF [(value of field n P1) is in CODELIST_1] OR [(value of field n P2) Op(==,<,>,>=,<=,!=) Tg] THEN Display error Message MG2 with level Level ENDIF ENDIF Generic rule n 14 Syntax: generic_rule_14,p1,codelist_1,codelist_2,mg,status,level P1 = position of the reference field in the GESMES dataset structure CODELIST_1 = name of the first code list CODELIST_2 = name of the second code list MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_14,18,cl_country,cl_nuts3,j0349-j0352: Country or Region of loading is not recognized,o,w test performed: IF [(value of field n P1) is NOT in CODELIST_1] OR [(value of field n P1) is NOT in CODELIST_2] THEN Display error Message MG with level Level ENDIF Generic rule n 15 Syntax: European Commission 2005 Page 76

77 generic_rule_15,p1,codelist,mg,status,level P1 = position of the reference field in the GESMES dataset structure CODELIST = name of the first code list MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_15,17,cl_country, Transit Country not recognized,o,w test performed: FOR EACH two digit codes in the (value of field n P1) IF it is NOT in CODELIST THEN Display error Message MG with level Level ENDIF END FOR EACH Example: If P1 is "BENOLU", the list of two digit codes is "BE","NO","LU", and each of these codes should be in the CL_COUNTRY codelist. Generic Rule 16 Syntax: generic_rule_16, P1, P2,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure P2 = position of the second field in the GESMES dataset structure MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning test performed: IF NOT ( first character of (value of field n P1) in (R,D,N) AND ( 19 / 20 ) 2 nd 3 rd characters of (value of field n P1) <= (value of field n P2) AND length of (value of field n P1) == 3 ) Display error message MG with level Level ENDIF Example: generic_rule_16,6,2,wrong code for Population or inconsistent Year,M,R Note: European Commission 2005 Page 77

78 The comparison refers to years. The first field has only the last two digit of the year (century information is missing). So before the comparison the digits 19 or 20 are added. If the value is greater or equal of 70 then the 19 is used otherwise the 20. Generic Rule 17 Syntax: generic_rule_17, P1,Tg1,P2,P3,Tg2,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure Tg1 = target value for P1 P2 = position of the second field in the GESMES dataset structure P3 = position of the third field in the GESMES dataset structure Tg2 = target value regarding year difference of P3,P2 MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning test performed: IF ( (value of field n P1) == Tg1 ) IF NOT ( (value of field n P3) ( 19 / 20 ) 2 nd 3 rd characters of (value of field n P2) == Tg2 AND length of (value of field n P1) == 3) Display error message MG with level Level ENDIF ENDIF Example: generic_rule_17,7,16197,6,2,1,reference year does not conform with Population year,m,r Note: The comparison refers to years. The second field has only the last two digit of the year (century information is missing). So before the comparison the digits 19 or 20 are added. If the value is greater or equal of 70 then the 19 is used otherwise the 20. Generic Rule 18 Syntax: generic_rule_18, P1,Start,Length,Inc,List,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure Start = the index of the string that the substring will start (negative values from count from the end) Length = the length of characters to keep (if omitted then all the string until the end is taken) European Commission 2005 Page 78

79 Inc = takes values 0,1. If 1 prompt message if included list. the opposite with 0 List = list of values separated by ' ' MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning test performed: IF ( substr((value of field n P1),Start,Length) included in List) Display error message MG with level Level ENDIF In case that Inc is 1 otherwise the error will be prompted if it as not included. Example: generic_rule_18,8,0,1,0,1 2 9,The type of cargo should be codes starting only with 1 2 9,M,R Generic Rule 19 Syntax: generic_rule_19, P1,Op,Tg,P2,Inc,List,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure Op = comparison operator (==,<,>,>=,<=,!=) Tg = Target value P2 = position of the reference field in the GESMES dataset structure Inc = takes values 0,1. If 1 prompt message if included list. the opposite with 0 List = list of values separated by ' ' accept * wildcard, also accepts exceptions at the end with! seperator example: a b c* d\* sp*li*!c1 c2 equalts to a list with: a,b, all string stating with c, d*, sp(anything)li(anything), except c1,c2 MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning test performed: IF ( ((value of field n P1) Op Tg) AND (value of field n P2) included in List) Display error message MG with level Level ENDIF In case that Inc is 1 otherwise the error will be prompted if it as not included. Example: generic_rule_19,14,==,,8,1,3* 5* 6*!52 53,It is mandatory for all types of unit cargo (3_ to 6_) except 52 and 53,O,R Generic Rule 20 Syntax: European Commission 2005 Page 79

80 generic_rule_20, P1, P2,Codelist,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure P2 = position of the reference field in the GESMES dataset structure Codelist = Codelist name MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning test performed: IF (value of field n P1) is not included to the list of codes associated to (value of field n P2) in Codelist THEN Display error message MG with level Level ENDIF Example: generic_rule_20,7,6,cl_extended_unlocode,the Maritime Coastal Area is not consistent with the port of loading/unloading,m,r Generic Rule 21 Syntax: generic_rule_21, P1, Codelist1,Codelist2,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure Codelist1 = The first codelist name Codelist2 = The second codelist name MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning test performed: IF (value of field n P1) does not belong to Codelist1 or Codelist2 THEN Display error message MG with level Level ENDIF Example: generic_rule_21,2,cl_eu_countries,cl_acc_eu_countries,the country should belong to EU members or EU acceding countries,m,r Generic rule A Syntax: generic_rule_a, P1, Math1,Math2, MG,Status,Level European Commission 2005 Page 80

81 P1 = position of the reference field in the GESMES dataset structure Math1 = first arithmetic expression (e.g. #1 <= (#2 *0.2) / #4) Math2 = second arithmetic expression MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_a,2,#2 <= (#4 + #5) *0.6, #1 == #2, Checking not OK,O,W test performed: IF expression Math1 is true THEN IF expression Math2 is wrong THEN Display error Message MG with level Level ENDIF ENDIF Remark: The arithmetic expressions can be any sequence of operators like (<,>,=,!,+,/,*,-,(,)) and field positions. The field numbers are represented by #n where 'n' is the position number. Also perl functions and expressions can be used. Generic rule C Syntax: generic_rule_c, P1, Math1, MG,Status,Level P1 = position of the reference field in the GESMES dataset structure Math = arithmetic expression (e.g. #1 <= (#2 *0.2) / #4) MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_c,#2 <= (#4 * #6), Checking not OK,O,W test performed: IF expression Math is wrong THEN Display error Message MG with level Level ENDIF Remark: European Commission 2005 Page 81

82 The arithmetic expressions can be any sequence of operators like (<,>,=,!,+,/,*,-,(,)) and field positions. The field numbers are represented by #n where 'n' is the position number. Also perl functions and expressions can be used. Generic rule D Syntax: generic_rule_d, P1, Math1,Codelist,MG,Status,Level P1 = position of the reference field in the GESMES dataset structure Math = arithmetic expression (e.g. #1 <= (#2 *0.2) / #4) MG = text describing the error message Status = M or O, for (M)andatory or (O)ptional reference field Level = R or W, Error Level for (R)ejection or (W)arning Example: generic_rule_d,5,#2<2001,cl_sbs_activity-annex2-2b1,wrong activity code,m,r test performed: IF expression Math is true AND (value of field n P1) not in Codelist THEN Display error Message MG with level Level ENDIF Remark: The arithmetic expressions can be any sequence of operators like (<,>,=,!,+,/,*,-,(,)) and field positions. The field numbers are represented by #n where 'n' is the position number. Also perl functions and expressions can be used. European Commission 2005 Page 82

83 APPENDIX H: Codelists Code lists are provided with the GENEDI package for domains, which have been validated by Eurostat. This paragraph aims to give information about the different types of code lists and how to change a code list format. General format Generally, the code lists in GENEDI are text files that contain one code per line and optional general comments preceded by the symbol "#". Optionally, comments can be added after each code, separated by a semicolon. Example: General # Codes for Aircraft in Aviation Domain comments B738; Boeing 738 Code Separator Comment associated to the code Code list with hidden codes Some domains need to hide part or the totality of the codes they send to Eurostat. GENEDI is able to hide some codes just before creating the GESMES file with the provision that the code list that contains these codes has a specific format as follows: # General comments Code;optional comment;associated hidden code Example 1: this is a code list line with hidden code, but without comments: B738;;8888 Note that separators must always be present even if no comments are given. Example 2: this is a code list line with hidden code, with comments: B738;Boeing 738;8888 Code list with associated codes or complementary codes In this case, the code lists provides two codes, the reference one and the associated/complementary one. The second code is called "associated" or "associated" because it is used by GENEDI to achieve advanced validation rules. The following example illustrates the use of associated codes in the case of Aviation Domain. Example 3: the code list for reporting country codes uses associated codes since some countries have airport in overseas territories. EB;EB; Belgium EK;EK; Denmark European Commission 2005 Page 83

84 EF;EF; Finland LF;LF; France Metropole LF;SO; France Guiana LF;TF; France Antilles Only associated codes for reporting country are used in the data set, so when GENEDI checks the reporting country code, for instance "SO", it uses the code list above to get the main country code (LF). Then this value is used for advanced controls. The last example shows also the format of code lists with associated codes: # General comments Code;associated code;optional comment Complementary codes are used to give additional information to a code. For instance, the code list "aircraft" contains the reference code (e.g. B738) and two complementary codes (e.g. 100 and 350) which are in that case the minimum and the maximum capacity of the aircraft. The format is as follows: # General comment Code;complementary code 1;complementary code 2;optional comment Important: To indicate GENEDI that a code list contains associated or complementary codes, GENEDI needs the presence of a configuration file called: [STAT_DOMAIN]_assoc.cod where [STAT_DOMAIN] is the short name of the statistical domain (e.g. AV for Aviation). This text file must be located in sub folder GENEDI\codelists\[STAT_DOMAIN], and should contain the list of code lists using associated or complementary codes. The following example gives the format to use: Code list name;associated Or Code list name;complementary_1 Or Code list name;complementary_2 Word in italic font are reserved word. Complemantary_1 means that GENEDI can take one other value than the code, and Complemantary_2 means that GENEDI can take two other values than the code. European Commission 2005 Page 84

85 APPENDIX I: Transcoding tables and Transcoding rules Introduction All the configuration files relevant to the TRANSCODE add-in are placed into folder tools\transcoding and tools\transcoding\[short name of the statistical domain]. In the latter one, contains the transcoding tables and transcoding rules. Moreover the transcoding process creates a log file. You can also control what happened by analysing the [Dataset ID].log file (located in the 1_Intray\archive folder). This file is only created if errors occurred during the transcoding. Transcoding tables A transcoding table is a structured flat file whose name is free and whose extension must be.trc (transcode). A transcoding table must be created for each different field that. It is recommended to call your table the same name as the field to process. Each line of this file has the following structure: GESMES codes ; comment on GESMES codes ; User code ; comment on user code If one consider one line of the transcoding table, these examples are equivalent: A ; annual data ; AN ; annual data (with all comments) A ; annual data ; AN (with 1 comment) A ; ; AN ; annual data (with 1 comment) A;;AN (without comment) Several user codes can be match to one GESMES code, for example when two user codes are fused into one GESMES code. In that case just separate each user code by a, in the transcoding line like in this example: A ; comment ; AN1,AN2,AN3 ; comment This means that when AN1 or AN2 or AN3 values is met, replace it by A. Note: The transcoding table must be created by hand, so be careful to use ; as a separator and be careful not to forget any separators (exactly two ; between the two family of codes). Comments can contain any characters but the ; and the,. Once the table is created save it into a file with extension.trc in folder tools\transcoding\[statistical domain]. Special functionality: An advanced option in the transcoding table is the possibility to use a Perl function to create a more complex correspondence between user codes and GESMES codes. This option is destined to person who has Perl Knowledge, as the function must be coded in Perl. European Commission 2005 Page 85

86 The syntax is the following one: My_function($line) ; comment ; list of user codes separated by, ; comment Where My_function is the name of your function and $line shouldn t be modified. Then, you have to define your function in the Perl package \tools\transcoding\fonction.pm Here is an example of file fonction.pm: #!/usr/bin/perl package tools::transcoding::fonctions; require Exporter; use strict; use tools::portability; use tools::conf; use = = qw(exporter); # # You shouldn t modify anything before this comment. # You can create any function that gets a CSV line as an entry and that returns a code. # If this function is used in <data set id>_rules.txt then it will replace the current code # by the on returned following your program. # sub My_function { # get the CSV line, this line shouldn t be modified my $line = shift; # store each field s value in = split(/;/,$line); } # for example, add string NS to field number 5 start at index 0!) return( "NS".$temp[4]); European Commission 2005 Page 86

87 Transcoding rules The transcoding rules are text files that contain the list of transcoding table to use for a given dataset, followed by the field number in the dataset structure. These files are named [dataset identifier]_rules.txt, using the name of the dataset. Each line of these files should respect the following format: File name ; field number The left string is the name of the file containing the transcoding table, the right number is the position of the field in the GESMES Key family structure (see GESMES MIG). The following example illustrates the purpose. File STS_IND_ORD_Q_rules.txt contains the list of transcoding tables for dataset STS_IND_ORD_Q. The first line is : OBS_CONF_RULE;11 so file OBS_CONF_RULE.trc contains the transcoding table to apply to field number 11 (here the concept observation confidentiality in the GESMES key family structure). The table for this concept looks like: The second line means that value F means public value and must replace together values 0 or 3 or 5. European Commission 2005 Page 87

Quick User Guide How to update metadata. GENEDI Generic EDI toolbox Version 2.1. European Commission 2005 Page 1

Quick User Guide How to update metadata. GENEDI Generic EDI toolbox Version 2.1. European Commission 2005 Page 1 GENEDI Generic EDI toolbox Version 2.1 Quick User Guide How to update metadata European Commission 2005 Page 1 Table of contents Introduction... 3 How to update configuration files... 4 How to import new

More information

Directorate B: Quality, methodology and information systems

Directorate B: Quality, methodology and information systems EUROPEAN COMMISSION EUROSTAT Directorate B: Quality, methodology and information systems EDAMIS Dataset Naming Convention (DSNC) The naming convention for 1. Datasets, 2. Dataset occurrences This document

More information

VERMAS Verified Gross Mass Message

VERMAS Verified Gross Mass Message EDIFACT Version D Release 16A VERMAS Message Implementation Guide Version 1.0.0 Change history Version Date Comments 1.0.0 10-Jan-2019 Initial version Contact our GLOBE Export EDI Team: Hamburg Süd GLOBE

More information

EDIFACT APERAK / Application Error & Acknowledgement Message

EDIFACT APERAK / Application Error & Acknowledgement Message Delphi Vega Supplier EDI Specification Application Error & Acknowledgment Message APERAK EDIFACT APERAK D.97A Delphi Version 1.1 Final Implementation Guideline Delphi APERAK Version 1.1-03/22/01 II.M05-1

More information

SDMX self-learning package No. 7 Student book. SDMX Architecture Using the Pull Method for Data Sharing

SDMX self-learning package No. 7 Student book. SDMX Architecture Using the Pull Method for Data Sharing No. 7 Student book SDMX Architecture Using the Pull Method for Data Sharing Produced by Eurostat, Directorate B: Statistical Methodologies and Tools Unit B-5: Statistical Information Technologies Last

More information

GENRAL. General purpose message. Edition 2016

GENRAL. General purpose message. Edition 2016 EANCOM 2002 S4 Edition 2016 1. Introduction... 2 2. Message Structure Chart... 3 3. Branching Diagram... 4 4. Segments Description... 5... 7 6. Example(s)... 28 EANCOM 2002 S4 The Messages 1. Introduction

More information

CONDRA. Drawing administration message. Edition 2012

CONDRA. Drawing administration message. Edition 2012 EANCOM 2002 S4 Edition 2012 1. Introduction... 2 2. Message Structure Chart... 5 3. Branching Diagram... 6 4. Segments... 9... 11 6. Example(s)... 27 EANCOM 2002 S4 Part II The Messages 1. Introduction

More information

EDI DOCUMENT MAPPING AND TECHNICAL GUIDE

EDI DOCUMENT MAPPING AND TECHNICAL GUIDE EDI DOCUMENT MAPPING AND TECHNICAL GUIDE Prepared by Information Process Technology Pty Ltd Page 1 of 6 TABLE OF CONTENTS 1. EDIFACT STANDARD...3 1.1 SEPARATORS...3 1.2 FORMAT OF DATA ELEMENTS...3 1.3

More information

Message flow and use of EDIFACT Corporate egateway

Message flow and use of EDIFACT Corporate egateway Message flow and use of EDIFACT Corporate egateway Table of contents 1 PURPOSE OF THIS GUIDE...1 2 INTRODUCTION...1 2.1 THE EDIFACT MESSAGE STRUCTURE...2 2.2 SEGMENT TABLE NOTATION...3 3 IDENTIFICATION

More information

Version 1.3 from

Version 1.3 from for the use of the UN/EDIFACT-Message as a Message acknowledgment and/or status information Version 1.3 from 12.04.2002 Table of contents 1 INTRODUCTION 4 1.1 Introduction 5 1.2 Functional Definition 5

More information

TEXAS INSTRUMENTS. Delivery Just in Time. Message: DELJIT. (Inbound to TI) Based on EDIFICE Issue 2 (Based on EDIFACT Version 92.

TEXAS INSTRUMENTS. Delivery Just in Time. Message: DELJIT. (Inbound to TI) Based on EDIFICE Issue 2 (Based on EDIFACT Version 92. TEXAS INSTRUMENTS Delivery Just in Time Message: DELJIT (Inbound to TI) Based on EDIFICE Issue 2 (Based on EDIFACT Version 92.1) Date : July 1996 TI Version 1.0 This document can be found on the World

More information

Joint ISO/TC 154 UN/CEFACT Syntax Working Group (JSWG) publication of ISO

Joint ISO/TC 154 UN/CEFACT Syntax Working Group (JSWG) publication of ISO Joint ISO/TC 154 UN/CEFACT Syntax Working Group (JSWG) publication of ISO 9735-1 equivalent to the official ISO publication: ISO 9735-1 (First edition 1998-10-01) Electronic data interchange for administration,

More information

BWI Group. Supplier EDI Specification. Remittance Advice Message REMADV. EDIFACT REMADV D.99.B BWI Version 1.0

BWI Group. Supplier EDI Specification. Remittance Advice Message REMADV. EDIFACT REMADV D.99.B BWI Version 1.0 BWI Group Supplier EDI Specification Remittance Advice Message REMADV EDIFACT REMADV D.99.B BWI Version 1.0 Implementation Guideline BWI Group REMADV Version 1.0 / 06/23/2010 II.M01-1 CHANGE CONTROL Document

More information

Responses related to customs declarations ECS Netherlands/Belgium. Mattentwiete Hamburg

Responses related to customs declarations ECS Netherlands/Belgium. Mattentwiete Hamburg ECS Status Messages APERAK EDI APERAK Responses related to customs declarations ECS Netherlands/Belgium Message Guide Version 1.2/E (Valid from January 2018) Mattentwiete 2 20457 Hamburg www.dakosy.de

More information

Electronic data interchange for administration, commerce and Transport (EDIFACT) - Application level syntax rules

Electronic data interchange for administration, commerce and Transport (EDIFACT) - Application level syntax rules ISO 9735 : 1988 (E) Electronic data interchange for administration, commerce and Transport (EDIFACT) - Application level syntax rules 1 Scope This International Standard gives syntax rules for the preparation

More information

OUTLOOK ATTACHMENT EXTRACTOR 3

OUTLOOK ATTACHMENT EXTRACTOR 3 OUTLOOK ATTACHMENT EXTRACTOR 3 PROGRAM HELP GILLMEISTER SOFTWARE WWW.GILLMEISTER-SOFTWARE.COM 1 TABLE OF CONTENTS 1 Table of contents... 1 2 Start... 4 3 Main menu... 4 3.1 Menu entries of the group Menu...

More information

HM Revenue & Customs

HM Revenue & Customs HM Revenue & Customs Message Implementation Guidelines for Return of Expenses and Benefits Employer's Declaration 2010-2011 P11B11 Version: 1.0 Status: Approved CONTENTS Message Implementation Guidelines

More information

APERAK Application Error and Acknowledgement Message From INTTRA To Customer EDIFACT Version D Release 99B. User Guide Version 1.0

APERAK Application Error and Acknowledgement Message From INTTRA To Customer EDIFACT Version D Release 99B. User Guide Version 1.0 APERAK Application Error and Acknowledgement Message From INTTRA To Customer EDIFACT Version D Release 99B User Guide Version 1.0 Version 1.0 Page 1 of 32 Table of Contents I. Audience... 3 II. Business

More information

EDI DOCUMENT MAPPING AND TECHNICAL GUIDE

EDI DOCUMENT MAPPING AND TECHNICAL GUIDE EDI DOCUMENT MAPPING AND TECHNICAL GUIDE Prepared by Information Process Technology Pty Ltd Page 1 of 9 TABLE OF CONTENTS 1. EDIFACT STANDARD...3 1.1 SEPARATORS...3 1.2 FORMAT OF DATA ELEMENTS...3 1.3

More information

PCCW mobile SMS Web Access 2.0 User Guide

PCCW mobile SMS Web Access 2.0 User Guide PCCW mobile SMS Web Access 2.0 User Guide Version 2.1.2 11 March 2011 Version: 2.1.2 Table of Content 1 Introduction... 4 2 General... 5 2.1 Getting started... 5 2.2 Login/Logout... 5 2.3 Switch between

More information

Danske Bank EDI Message Specification Bank Status Message (EDIFACT D.96A BANSTA)

Danske Bank EDI Message Specification Bank Status Message (EDIFACT D.96A BANSTA) Page 1 of 22 Danske Bank EDI Message Specification Bank Status Message (EDIFACT D.96A BANSTA) Page 2 of 22 CONTENTS 1 INTRODUCTION 2 SCOPE 2.1 Functional Definition 2.2 Field of Application 2.3 Principles

More information

Delivery Forecast EDIFACT DELFOR D97.A. Plastic Omnium Auto Exterior Scoop Project.

Delivery Forecast EDIFACT DELFOR D97.A. Plastic Omnium Auto Exterior Scoop Project. Delivery Forecast EDIFACT DELFOR D97.A Plastic Omnium Auto Exterior Scoop Project. MESSAGE DESCRIPTION Following pages contain a full description of the EDIFACT DELFOR D97.A message as implemented by Plastic

More information

Adobe - EDIFACT INVRPT D.93A

Adobe - EDIFACT INVRPT D.93A Adobe - EDIFACT INVRPT D.93A Inventory Report Version: RINVRPTD93Av1 Final Modified: 01/04/2005 Notes: 10/26/2004 - In an effort to validate that 100% of a partners reporting locations has been received,

More information

SDMX self-learning package No. 3 Student book. SDMX-ML Messages

SDMX self-learning package No. 3 Student book. SDMX-ML Messages No. 3 Student book SDMX-ML Messages Produced by Eurostat, Directorate B: Statistical Methodologies and Tools Unit B-5: Statistical Information Technologies Last update of content February 2010 Version

More information

Service Segments. Edition 2012

Service Segments. Edition 2012 EANCO 2002 S3 Service Segments Edition 2012 essage Structure Chart... 2 Branching Diagram... 3 Segments... 4 Segments Layout... 5 2. essage Structure Chart UNA 1 C 1 - Service string advice UNB 2 1 - Interchange

More information

APERAK MESSAGE USER GUIDE

APERAK MESSAGE USER GUIDE APERAK MESSAGE USER GUIDE Messaging User Guide (EDI) Technical Guide for the EDI format APERAK message containing the response to a message sent to valenciaportpcs s Verified Gross Mass Service. PCS16-VERMS005-17/02/2017

More information

DELFOR Delivery schedule message

DELFOR Delivery schedule message DELFOR Delivery schedule message EDIFACT/D99B/DELFOR: DELFOR Delivery schedule message Version: 1.0 Final Author: Pauline Flanigan Publication: 3/14/2016 Created: 11/18/2015 Modified: 3/14/2016 Table of

More information

Mattentwiete Hamburg

Mattentwiete Hamburg EDI ZAPP Status messages related to the transactions GM01 and GM02 ZAPP specific amendments and information to the EDIFACT Acknowledgement Message APERAK User manual Version 4.2.2/E (Valid from February

More information

TEXAS INSTRUMENTS. Delivery Schedule Message DELFOR (JIT) (Inbound to TI) Based on EDIFICE Issue 2 (Based on EDIFACT Version 92.1)

TEXAS INSTRUMENTS. Delivery Schedule Message DELFOR (JIT) (Inbound to TI) Based on EDIFICE Issue 2 (Based on EDIFACT Version 92.1) TEXAS INSTRUMENTS Delivery Schedule Message DELFOR (JIT) (Inbound to TI) Based on EDIFICE Issue 2 (Based on EDIFACT Version 92.1) Date : July 1996 TI Version 1.0 This document can be found on the World

More information

BMW e-invoicing EDI Implementation Guideline. VDA 4988 v.1.0

BMW e-invoicing EDI Implementation Guideline. VDA 4988 v.1.0 BMW e-invoicing EDI Implementation Guideline VDA 4988 v.1.0 Change History Version Summary of Changes Date 1. MIG created / GoLive 09/01/2019 Contents 1. INTRODUCTION... 1 2. INTERCHANGE STRUCTURE... 2

More information

GUIDE FOR DESADV DESADV D 96A. Message Type Version Release DIEHL INFORMATIK DESADV. EDIFACT Version 96 A. 12/2015 Page 1

GUIDE FOR DESADV DESADV D 96A. Message Type Version Release DIEHL INFORMATIK DESADV. EDIFACT Version 96 A. 12/2015 Page 1 GUIDE FOR Message Type Version Release D 96A 12/2015 Page 1 EDI_GUIDELINE_DIEHL_Informatik_96_A.doc 1. Message Layout Diagram... 3 1.1. Explanatory Requirements... 3 2. Segment... 4 2.1. Header Section...

More information

Danske Bank EDI Message Specification. Bank Status Message (EDIFACT D.96A BANSTA) Page 1 of 19

Danske Bank EDI Message Specification. Bank Status Message (EDIFACT D.96A BANSTA) Page 1 of 19 Page 1 of 19 Danske Bank EDI Message Specification Bank Status Message (EDIFACT D.96A BANSTA) Page 2 of 19 CONTENTS 1 INTRODUCTION 2 SCOPE 2.1 Functional Definition 2.2 Field of Application 2.3 Principles

More information

Document Management System GUI. v6.0 User Guide

Document Management System GUI. v6.0 User Guide Document Management System GUI v6.0 User Guide Copyright Copyright HelpSystems, LLC. All rights reserved. www.helpsystems.com US: +1 952-933-0609 Outside the U.S.: +44 (0) 870 120 3148 IBM, AS/400, OS/400,

More information

Grundfos EDIFACT D.96.A

Grundfos EDIFACT D.96.A Grundfos EDIFACT D.96.A Title ORDERS - Documentation Create Date 01-03-2003 Last Update 17-02-2009, version 2.03 Author Grundfos EDI Team Owner Grundfos Group EDI Team 1 Prologue Introduction The present

More information

VERMAS Verified Gross Mass D16A - Customer. Version: 1.0

VERMAS Verified Gross Mass D16A - Customer. Version: 1.0 VERMAS Verified Gross Mass D16A - Customer Version: 1.0 Company: GT Nexus Modified: 10/21/2016 VERMAS Definition: Verified Gross Mass Message Status=0 Not Defined: Pos Tag Segment Name Status Rep Notes

More information

INFORMATION SYSTEMS POLICY Delivery Forecast EDIFACT DELFOR D96.A. Version 3.0. Version Date Description

INFORMATION SYSTEMS POLICY Delivery Forecast EDIFACT DELFOR D96.A. Version 3.0. Version Date Description EDIFACT DELFOR D96.A GUIDELINES FOR G. ANTOLIN Issued by: Manuel Páramo Reviewed by: Manuel Páramo Date: 15.11.2013 Delivery Forecast EDIFACT DELFOR D96.A Version 3.0 Document Change Log Version Date Description

More information

EDI UN/EDIFACT Mapping Guide

EDI UN/EDIFACT Mapping Guide EDI UN/EDIFACT Mapping Guide Based on the EANCOM 1997 Guideline using UN/EDIFACT Directories D.96A Note: This document was designed on the basis of another EDI trading supplier David Jones Limited. Colorado

More information

Implementation guide. Control message. EDIFACT format

Implementation guide. Control message. EDIFACT format Control message EDIFACT format Version 1.0.0 Publishing date 15 ars 2011 Table of contents 1 INTRODUCTION... 3 1.1 SCENARIO: FILE CONFIRATION REPORT... 3 1.2 RELATED DOCUENTS... 3 2 HISTORY... 4 3 IPLEENTATION

More information

KITS. EDI Technical Documentation. EDIFACT Standard Version D96A COLLECTIVE PURCHASE ORDERS MESSAGE. Version: 1.0

KITS. EDI Technical Documentation. EDIFACT Standard Version D96A COLLECTIVE PURCHASE ORDERS MESSAGE. Version: 1.0 KITS EDI Technical Documentation EDIFACT Standard Version D96A COLLECTIVE PURCHASE ORDERS MESSAGE Version: 1.0 ORDERS EDIFACT D96A Technical Specification V 1.0 Page 1 1. Overview EDI (Electronic Data

More information

Action plan to diagnose STATEL-eWA connection problems

Action plan to diagnose STATEL-eWA connection problems Action plan to diagnose STATEL-eWA connection problems Table of contents 1. SCOPE OF THE DOCUMENT...3 2. HOW TO DIAGNOSE PROBLEM WITH STATEL 4.2...3 2.1. STATEL TRANSMISSION MODE... 3 2.2. DIRECT FTP CONNECTION...

More information

Electronic Data Interchange General Specifications

Electronic Data Interchange General Specifications Electronic Interchange General Specifications This guide contains the specifications to allow you to exchange financial data with CIT using the standard EDI formats. The accompanying document, General

More information

User manual May 2018

User manual May 2018 May 2018 P a g e 2 Table of Contents 1 Introduction... 3 2 Terminology... 4 3 Identification... 6 3.1 Identification by unique USER ID and password... 6 3.1.1 requesting a USER ID and password... 6 3.1.2

More information

Cox Business Online Backup Administrator Guide. Version 2.0

Cox Business Online Backup Administrator Guide. Version 2.0 Cox Business Online Backup Administrator Guide Version 2.0 2012 by Cox Communications. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means, electronic,

More information

IFTSAI Vessel schedule message

IFTSAI Vessel schedule message GUIDELINES IFTSAI Vessel schedule message (D.00B version 1.2) Department PSA Antwerp EDI Support team PSA ANTWERP GUIDELINES IFTSAI Pagina 1 van 21 PSA Antwerp Guidelines IFTSAI Introduction This document

More information

COLES EXPRESS DC - CONTRL Syntax and service report message for batch EDI

COLES EXPRESS DC - CONTRL Syntax and service report message for batch EDI COLES EXPRESS DC - CONTRL Syntax and service report message for batch EDI EDIFACT/D01B/EANCOM 2002/CONTRL: CONTRL Syntax and service report message for batch EDI Version: 0.1 Draft Company: Coles Express

More information

03/08/02 Despatch advice message - DESADV. Despatch advice message. Message Status=2

03/08/02 Despatch advice message - DESADV. Despatch advice message. Message Status=2 DESADV Despatch advice message Message Status=2 A message specifying details for goods despatched or ready for despatch under agreed conditions. The United Nations Despatch Advice Message serves both as

More information

Style Report Enterprise Edition

Style Report Enterprise Edition INTRODUCTION Style Report Enterprise Edition Welcome to Style Report Enterprise Edition! Style Report is a report design and interactive analysis package that allows you to explore, analyze, monitor, report,

More information

Transform AP for EnterpriseOne User's Guide

Transform AP for EnterpriseOne User's Guide Transform AP for EnterpriseOne User's Guide Transform AP for EnterpriseOne User s Guide Version 1.0 Copyright 2008 Bottomline Technologies, Inc. All rights reserved. Information in this document is subject

More information

APERAK. Application error and acknowledgement message. Edition 2012

APERAK. Application error and acknowledgement message. Edition 2012 EANCOM 2002 S4 Application error and acknowledgement message Edition 2012 1. Introduction... 2 2. Message Structure Chart... 4 3. Branching Diagram... 5 4. Segments... 6... 7 6. Example(s)... 21 Application

More information

Ship Schedule DELJIT EDIFACT DELJIT D.97A Nexteer Version 2.4

Ship Schedule DELJIT EDIFACT DELJIT D.97A Nexteer Version 2.4 Global Supplier EDI Specifications Ship Schedule DELJIT EDIFACT DELJIT D.97A Nexteer Version 2.4 Implementation IMS Guideline DELJIT Version 2.4-2016.06.03 II.M03-1 Document Change Log Version Date Description

More information

EDI GUIDE DELJIT D99B

EDI GUIDE DELJIT D99B EDI GUIDE DELJIT D99B Who should read this document? This document is for EDI-administrators who will implement this EDI-guide to be able to sent EDIFACT DELJIT D 99 B to Bosch Rexroth AG. Explanation

More information

edamis Web Forms for sending data to Eurostat

edamis Web Forms for sending data to Eurostat Scope Creating Web Form instances for datasets by using the edamis Web Portal. Preparing data for sender. Making official transfers. Accessing to the Web Form Entry list. Prerequisites To be an edamis

More information

INFORMED VISIBILITY. Provisioning Enterprise Payment and Package Platform Data

INFORMED VISIBILITY. Provisioning Enterprise Payment and Package Platform Data INFORMED VISIBILITY Provisioning Enterprise Payment and Package Platform Data V1.2, January 31, 2019 Contents Overview Get Access to IV-MTR, EPS, and PPC Access the IV-MTR Application Manage Data Delegation

More information

D a n s k e B a n k M e s s a g e I m p l e m e n t a t i o n G u i d e C o n t r o l M e s s a g e

D a n s k e B a n k M e s s a g e I m p l e m e n t a t i o n G u i d e C o n t r o l M e s s a g e D a n s k e B a n k M e s s a g e I m p l e m e n t a t i o n G u i d e C o n t r o l M e s s a g e ( EDIFA CT D.96A CONTRL) Page 1 of 14 CONTENTS 1 INTRODUCTION 2 SCOPE 2.1 Functional Definition 2.2 Field

More information

BAAN IVb and IVc. EDI User Guide

BAAN IVb and IVc. EDI User Guide BAAN IVb and IVc EDI User Guide A publication of: Baan Development B.V. P.O.Box 143 3770 AC Barneveld The Netherlands Printed in the Netherlands Baan Development B.V. 1998. All rights reserved. The information

More information

KANBAN Message DELJIT KB EDIFACT DELJIT D.97A

KANBAN Message DELJIT KB EDIFACT DELJIT D.97A SECTION M04 KANBAN Message DELJIT KB EDIFACT DELJIT D.97A MGO Version Implementation Guideline MGO_DELJITKB version 1.1 / 1998.10.22 II.M04-1 Document Change Log Version Date Description 1.0 1998.05.12

More information

EDI USER'S GUIDE SALES REPORT SLSRPT D 96A

EDI USER'S GUIDE SALES REPORT SLSRPT D 96A EDI USER'S GUIDE SALES REPORT SLSRPT D 96A PRINTEMPS EDI USER'S GUIDE INDEX Control versions...3 1 INTRODUCTION...4 1.1 Goals of this guide...4 1.2 Advantages of EDI (Electronic Data Interchange)...4 1.3

More information

MMS DATA SUBSCRIPTION SERVICES USER INTERFACE GUIDE

MMS DATA SUBSCRIPTION SERVICES USER INTERFACE GUIDE MMS DATA SUBSCRIPTION SERVICES USER INTERFACE GUIDE VERSION: 2.01 DOCUMENT REF: PREPARED BY: MMSTDPD69 EMD DATE: 16 February 2010 Final Copyright Copyright 2012 Australian Energy Market Operator Limited

More information

Delivery Schedule EDIFACT DELFOR D96A. Saint-Gobain Sékurit - EDI Supplier specification Version 1.1 (2017)

Delivery Schedule EDIFACT DELFOR D96A. Saint-Gobain Sékurit - EDI Supplier specification Version 1.1 (2017) Delivery Schedule EDIFACT DELFOR D96A Version 1.1 (2017) Saint-Gobain Sékurit - EDI Supplier specification - 1 - Table of content 1. INTRODUCTION... - 3-2. MESSAGE DESCRIPTION... - 3-2.1. HEADER SECTION...

More information

EDIFACT DESADV CROSS DOCK MESSAGE FORMAT

EDIFACT DESADV CROSS DOCK MESSAGE FORMAT EDIFACT DESADV CROSS DOCK MESSAGE FORMAT A TECHNICAL GUIDE FOR SUPPLIERS 7 th October, 2008 Page 1 of 17 Issue 2 TABLE OF CONTENTS 1. OVERVIEW... 3 1.1 Introduction... 3 2. SEGMENTS LAYOUT... 4 2.1 Legend...

More information

Message Implementation Guideline (MIG) The Good Guys. Message Envelope Implementation Guide. The Good Guys Suppliers. Audience: Version: 1.

Message Implementation Guideline (MIG) The Good Guys. Message Envelope Implementation Guide. The Good Guys Suppliers. Audience: Version: 1. Message Implementation Guideline (MIG) The Good Guys Message Envelope Implementation Guide Audience: The Good Guys Suppliers Version: 1.0 Status: Issue Date: Written by: Final 29-Sep-2011 Sudhir Rajai

More information

CITO2 Installation & User Instructions

CITO2 Installation & User Instructions CITO2 Installation & User Instructions DD 56107 Stoneridge Electronics Ltd 1. Installation...4 1.1. System Requirements...4 1.2. Installing CITO2...4 1.3. Uninstalling CITO2...4 2. Starting and closing

More information

ithenticate User Guide Getting Started Folders Managing your Documents The Similarity Report Settings Account Information

ithenticate User Guide Getting Started Folders Managing your Documents The Similarity Report Settings Account Information ithenticate User Guide Getting Started Folders Managing your Documents The Similarity Report Settings Account Information 1 Getting Started Whether you are a new user or a returning one, to access ithenticate

More information

Application of ISO/ EDIFACT and OFTP

Application of ISO/ EDIFACT and OFTP Application of ISO/ EDIFACT and OFTP General At the end of 1987, the ISO (International Standardization Organization) adopted a general set of rules for the construction of standardized data messages between

More information

Mattentwiete Hamburg

Mattentwiete Hamburg Message Guide APERAK - VIP VIP APERAK Functional acknowledgement message Message Guide Version 1.0/E (Valid from March 2015) Mattentwiete 2 20457 Hamburg www.dakosy.de Phone: + 49 40 37003-0 Fax: + 49

More information

Adobe - EDIFACT SLSRPT D93.A

Adobe - EDIFACT SLSRPT D93.A Adobe - EDIFACT SLSRPT D93.A Sales Data Report Message Version: RSLSRPTD93Av1 Final Modified: 11/24/2004 Notes: 10/26/2004 - In an effort to validate that 100% of a partners reporting locations has been

More information

Message Implementation Documentation. Hella GLOBAL DELJIT. based on. DELJIT Delivery just in time message UN D.04B S3

Message Implementation Documentation. Hella GLOBAL DELJIT. based on. DELJIT Delivery just in time message UN D.04B S3 Message Documentation Hella GLOBAL DELJIT based on DELJIT Delivery just in time message UN D.04B S3 Structure Chart Branching Diagram Segment Details Version: JAI 1.1 Variant: Issue date: 01.06.2009 Top

More information

Concord Print2Fax. Complete User Guide. Table of Contents. Version 3.0. Concord Technologies

Concord Print2Fax. Complete User Guide. Table of Contents. Version 3.0. Concord Technologies Concord Print2Fax Complete User Guide Table of Contents Version 3.0 Concord Technologies 2018 1 Concord Technologies concordfax.com premiumsupport@concordfax.com Copyright 2017 CONCORD Technologies. All

More information

Despatch Advice Message outbound

Despatch Advice Message outbound Despatch Advice Message outbound Edifact Subset: EANCOM Release version: EANCOM syntax version 3, 2002 release Message Type: DESADV REFERENCE DIRECTORY: D.01B EANCOM SUBSET VERSION: 007 Document Version

More information

Automotive Experience Division. EDI Implementation Guideline. Delivery Schedule (DELFOR)

Automotive Experience Division. EDI Implementation Guideline. Delivery Schedule (DELFOR) Based on EDIFACT D96A DELFOR Public Standard Automotive Experience Division EDI Implementation Guideline Delivery Schedule (DELFOR) Adient DELFOR Implementation Guideline Version 2.11/October 2016 Page

More information

997 Functional Acknowledgment

997 Functional Acknowledgment 997 Functional Acknowledgment VANTAGE GROUP accepts functional acknowledgments for all EDI documents we send. We send functional acknowledgments to trading partners that send us EDI documents. For all

More information

Grundfos EDIFACT D.96.A

Grundfos EDIFACT D.96.A Grundfos EDIFACT D.96.A Title INVRPT - Documentation (Forecast) Create Date 29-05-2007 Last Update 17-02-2009, version 1.05 Author Grundfos EDI Team Owner Grundfos Group EDI Team 1 Prologue Introduction

More information

DESADV Despatch advice message

DESADV Despatch advice message DESADV Despatch advice message EDIFACT/D99B/DESADV: DESADV Despatch advice message Version: 1.0 Final Author: Pauline Flanigan Publication: 12/10/2015 Created: 11/30/2015 Modified: 12/10/2015 Table of

More information

APERAK in BIP. Message Implementation Guideline. based on. APERAK Application error and acknowledgement message UN D.01B S3

APERAK in BIP. Message Implementation Guideline. based on. APERAK Application error and acknowledgement message UN D.01B S3 Message Guideline in BIP based on Application error and acknowledgement message UN D.01B S3 Version: D01B Variant: BIP_1.2_en Issue date: 31.03.2011 Author: ipa, bka, avo Contents Timing when receiving...

More information

Validation report transmission guide for SBS Structural Business Statistics

Validation report transmission guide for SBS Structural Business Statistics EUROPEAN COMMISSION EUROSTAT Directorate G: Global business statistics Unit G-2: Structural Business Statistics and global value chains Validation report transmission guide for SBS Structural Business

More information

APERAK. Application error and acknowledgement message. Edition 2016

APERAK. Application error and acknowledgement message. Edition 2016 EANCOM 2002 S3 Application error and acknowledgement message Edition 2016 1. Introduction... 2 2. Message Structure Chart... 4 3. Branching Diagram... 5 4. Segments Description... 6... 8 6. Example(s)...

More information

User Manual. Admin Report Kit for Exchange Server

User Manual. Admin Report Kit for Exchange Server User Manual Admin Report Kit for Exchange Server Table of Contents 1 About ARKES-Admin Report Kit for Exchange Server 1 1.1 System requirements 2 1.2 How to activate the software? 3 1.3 ARKES Reports Primer

More information

Delivery Forecast (DELFOR D96A) for Levelled Process FAURECIA Suppliers V2.0

Delivery Forecast (DELFOR D96A) for Levelled Process FAURECIA Suppliers V2.0 Delivery Forecast (DELFOR D96A) for Levelled Process FAURECIA Suppliers V2.0 Levelled Process DELFOR D.96A Segment Table Message structure Pos. Tag Stat. Rep. Name 1 UNB INTERCHANGE HEADER 2 UNH MESSAGE

More information

StatTrak Address Manager Business Edition User Manual

StatTrak Address Manager Business Edition User Manual StatTrak Address Manager Business Edition User Manual Overview... 2 Frequently Asked Questions... 5 Toolbar... 7 Address Listings... 9 Update Main & Details... 11 Update Individual... 12 Back Up Database...

More information

Introduction. Introduction

Introduction. Introduction Introduction Introduction This manual describes the outline of SSCom and the operation method of SSCom Client. It also describes the manual that you need to refer to when using the SSCom. Target Readers

More information

Smart-X Software Solutions SecReport Enterprise User Guide

Smart-X Software Solutions SecReport Enterprise User Guide Smart-X Software Solutions SecReport Enterprise User Guide Table of Contents: WELCOME 4 FEATURES AND CAPABILITIES 5 CONTENTS AND REQUIREMENTS 7 CONTENTS 7 REQUIREMENTS 8 LICENSING AND INSTALLATION 10 EVALUATION

More information

DeLoad. User s Manual UM-0084-A0. datataker and DeLoad are either registered trademarks or trademarks of Datataker Pty. Ltd.

DeLoad. User s Manual UM-0084-A0. datataker and DeLoad are either registered trademarks or trademarks of Datataker Pty. Ltd. DeLoad User s Manual UM-0084-A0 Software & Manual Datataker Pty. Ltd. 2003-2004 All rights reserved Information in this document is subject to change without notice and does not represent a commitment

More information

Molded & Decorated Plastic Systems. Summit Polymers Inc. EDI IMPLEMENTATION GUIDELINES

Molded & Decorated Plastic Systems. Summit Polymers Inc. EDI IMPLEMENTATION GUIDELINES Summit Polymers Inc. EDI IMPLEMENTATION GUIDELINES EDI HELP DESK Technical Center 6715 South Sprinkle Road Portage, MI 49002 (269) 324-9330 x198 edi@summitpolymers.com 1 August 9, 2017 INTRODUCTION Enclosed

More information

Economic and Social Council

Economic and Social Council UNITED NATIONS E Economic and Social Council ECONOMIC COMMISSION FOR EUROPE Distr. RESTRICTED TRADE/WP.4/R.1151 20 June 1995 Working Party on Facilitation of International Trade Procedures (Item 4 of the

More information

DESADV D96a Specification - DAVID. Specification. Lemvigh Müller Despatch Advice (DAVID) Lemvigh-Müller A/S DESADV D96a DAVID (purchase) 1

DESADV D96a Specification - DAVID. Specification. Lemvigh Müller Despatch Advice (DAVID) Lemvigh-Müller A/S DESADV D96a DAVID (purchase) 1 Specification Lemvigh Müller Despatch Advice (DAVID) Lemvigh-Müller A/S DESADV D96a DAVID (purchase) 1 1 Document information 1.1 Purpose of document This document describes how purcase orders from Lemvigh-Müller

More information

SyncFirst Standard. Quick Start Guide User Guide Step-By-Step Guide

SyncFirst Standard. Quick Start Guide User Guide Step-By-Step Guide SyncFirst Standard Quick Start Guide Step-By-Step Guide How to Use This Manual This manual contains the complete documentation set for the SyncFirst system. The SyncFirst documentation set consists of

More information

System-specific message implementing guidelines files

System-specific message implementing guidelines files System-specific message implementing guidelines files National Board of Customs Updated 8 September 202 System-specific MIG files The Message Implementing Guidelines for each system are archived into zip

More information

Automotive Experience Division. EDI Implementation Guideline. Delivery Just In Time (DELJIT) Used with JIS Suppliers

Automotive Experience Division. EDI Implementation Guideline. Delivery Just In Time (DELJIT) Used with JIS Suppliers Based on EDIFACT D04B DELJIT Public Standard Automotive Experience Division EDI Implementation Guideline Delivery Just In Time (DELJIT) Used with JIS Suppliers Adient DELJIT JIS Implementation Guideline

More information

2 Spreadsheet Considerations 3 Zip Code and... Tax ID Issues 4 Using The Format... Cells Dialog 5 Creating The Source... File

2 Spreadsheet Considerations 3 Zip Code and... Tax ID Issues 4 Using The Format... Cells Dialog 5 Creating The Source... File Contents I Table of Contents Part 1 Introduction 1 Part 2 Importing from Microsoft Excel 1 1 Overview... 1 2 Spreadsheet Considerations... 1 3 Zip Code and... Tax ID Issues 2 4 Using The Format... Cells

More information

JIS Toolbox. PRODAT / Odette EDIFACT D.03A. Buffer Monitor. Transmission of the last shipped shift number

JIS Toolbox. PRODAT / Odette EDIFACT D.03A. Buffer Monitor. Transmission of the last shipped shift number JIS Toolbox Buffer Monitor PRODAT / Odette EDIFACT D.03A Content Message Type 3 Message Structure 3 Segements 5 UNA 5 UNB 5 UNH 6 BGM 6 DTM 7 7 8 LIN 8 PIA 9 IMD 10 UNT 11 UNZ 11 Version Changed by on

More information

Document Version FUNCTIONAL ACKNOWLEDGEMENT (ANSI X12 VERSION 4040) 10/10/2008. X12V General Parts, Inc./CARQUEST

Document Version FUNCTIONAL ACKNOWLEDGEMENT (ANSI X12 VERSION 4040) 10/10/2008. X12V General Parts, Inc./CARQUEST Document Version 1.0 997 FUNCTIONAL ACKNOWLEDGEMENT (ANSI X12 VERSION 4040) 10/10/2008 X12V4040 1 General Parts, Inc./CARQUEST Table of Contents CONTACT(S)... 3 CHANGE HISTORY... 3 CONVENTIONS USED IN

More information

Service Segments. Edition 2012

Service Segments. Edition 2012 EANO 2002 S4 Service Segments Edition 2012 essage Structure hart... 2 Branching Diagram... 3 Segments... 4 Segments Layout... 5 EANO 2002 S4 Part II 2. essage Structure hart UNA 1 1 - Service string advice

More information

Perceptive Matching Engine

Perceptive Matching Engine Perceptive Matching Engine Advanced Design and Setup Guide Version: 1.0.x Written by: Product Development, R&D Date: January 2018 2018 Hyland Software, Inc. and its affiliates. Table of Contents Overview...

More information

Extraxi aaa-reports! Automation Configuration Guide

Extraxi aaa-reports! Automation Configuration Guide Extraxi aaa-reports! Automation Configuration Guide Introduction... 2 System Requirements... 3 Reporting Server Computer... 3 Email Server Details... 3 Web/Shared Folders... 3 Windows Scheduler Service...

More information

Backup App V7. Quick Start Guide for Windows

Backup App V7. Quick Start Guide for Windows Backup App V7 Quick Start Guide for Windows Revision History Date Descriptions Type of modification 30 Jun 2016 First Draft New 25 Nov 2016 Added Restore Options to Ch 8 Restoring Data; Combined Technical

More information

Emptying the trash...18 Webmail Settings...19 Displayed Name...19 Sort by...19 Default font style...19 Service language...

Emptying the trash...18 Webmail Settings...19 Displayed Name...19 Sort  by...19 Default font style...19 Service language... Force9 Webmail 1 Table of Contents Guide Notes...4 About this guide...4 Contacting the author...4 Assumptions...4 Who should read this guide...4 Conventions used in this guide...5 Further Reading...5 Using

More information

AUTACK. Secure authentication and acknowledgement message. Edition 2016

AUTACK. Secure authentication and acknowledgement message. Edition 2016 EANCOM 2002 S4 Secure authentication and acknowledgement message Edition 2016 1. Introduction... 2 2. Message Structure Chart... 3 3. Branching Diagram... 4 4. Segments Description... 5 5. Segments Layout...

More information

GENERAL MOTORS IMPLEMENTATION GUIDELINES FOR CONTRL MESSAGE ACKNOWLEDGEMENT/REJECTION ADVICE MESSAGE

GENERAL MOTORS IMPLEMENTATION GUIDELINES FOR CONTRL MESSAGE ACKNOWLEDGEMENT/REJECTION ADVICE MESSAGE Corporate Information Standards GENERAL MOTORS IMPLEMENTATION GUIDELINES FOR CONTRL MESSAGE ACKNOWLEDGEMENT/REJECTION ADVICE MESSAGE CORPORATE INFORMATION STANDARDS INFORMATION SYSTEMS & SERVICES GENERAL

More information

Customer Plus User Manual For Instruction

Customer Plus User Manual For Instruction HIT - For Instruction Version : Current Page 1 of 154 HIT - Revision History Version Number Change Description Effective Date Section Author Current 2017-02-03 52685 Version : Current Page 2 of 154 HIT

More information

ZF Group North American Operations. EDI Implementation Guide

ZF Group North American Operations. EDI Implementation Guide EDI Implementation Guide EDIFACT DELFOR D.97A Version 1.4 Authors: Bill Roeding Publication Date: December 1, 1999 Created: April 16, 1999 Modified: May 13, 2005 Table of Contents Introduction... 1 ZF

More information