Page 1 of 1

Concaténation

Posted: August 18th, 2021, 10:22 am
by dabwil
Bonjour
Le problème persiste toujours.
En fait j'ai 20 csdb et parmi c'est fichier cspro dit détecter un doublons qui réellement n'est pas le cas. Parce que tous les csdb on des identifiants différents
Qu'est ce qui se passe réellement ???
Comment gérer ce problème ??
Merci.

Re: Concaténation

Posted: August 18th, 2021, 11:47 am
by htuser
Ajouter les fichier un(1) par un(1) et utilise l'outils de concatenation. Ainsi, tu pourras facilement voir le fichier csdb engendrant les concatenations.
Dans ce fichier, tu pourras utiliser la fonction sqlquery pour changer les ID's Items provocant la duplication.

Tu peux essayer aussi d'utiliser la fonction FileConcat (https://www.csprousers.org/help/CSPro/f ... ction.html) dans une application batch pour concatener. Ainsi tu pourras voir plus clairement le probleme de duplication.
Bien a vous!

Re: Concaténation

Posted: August 18th, 2021, 12:23 pm
by sherrell
If the concatenate is detecting duplicate cases, it's generally because they are there. We haven't had any reports of this not working.

How have you defined your identifiers in the dictionary, and what are the case IDs of the cases being reported as duplicates?

Re: Concaténation

Posted: August 18th, 2021, 1:23 pm
by dabwil
Voici le resultat de la concatenation et voici ID DU premier CSDB: 010020401011515021502035
ID du deuxième CSDB: 060060201060505050505020



Number of files requested to concatenate: 2

C:\Users\user\Desktop\DIRECTION DES STATISTIQUES SECTORIELLES\DSS\Saisie cadre DSS\Saisie Base de données REO\UFR_LSH (UDDG).csdb
C:\Users\user\Desktop\DIRECTION DES STATISTIQUES SECTORIELLES\DSS\Saisie cadre DSS\Saisie Base de données REO\UFR_LSH (UK).csdb

Number of files concatenated: 2

Output file:
C:\Users\user\Desktop\DIRECTION DES STATISTIQUES SECTORIELLES\DSS\Saisie cadre DSS\Saisie Base de données REO\TEST.csdb


Concatenation done with the following errors:

Skipping duplicate case 060060201060505050505020 in file C:\Users\user\Desktop\DIRECTION DES STATISTIQUES SECTORIELLES\DSS\Saisie cadre DSS\Saisie Base de données REO\UFR_LSH (UK).csdb. Previously found in file C:\Users\user\Desktop\DIRECTION DES STATISTIQUES SECTORIELLES\DSS\Saisie cadre DSS\Saisie Base de données REO\UFR_LSH (UDDG).csdb

Re: Concaténation

Posted: August 18th, 2021, 5:33 pm
by sherrell
Hello Dabil,

Could you send us the two files you're using that are having the problem, the dictionary describing them, and the program (if CSBatch) or pff (if invoking CSConcat) for how you're doing this? If you're ok posting the files here (zipped), that would be great, but if not, please send this to us at cspro@lists.census.gov.

Thanks,
Sherrell

Re: Concaténation

Posted: August 19th, 2021, 1:04 am
by dabwil
Ok