BookmarkSubscribeRSS Feed
deleted_user
Not applicable
comment faire ces séquences de jeu de fichiers ?
occurence 1:
je fais un fic1, contenant des données complètes / id
on me retourne un fic1_error :contenant seulement les id en erreurs, pas les datas
occurrence 2:
refaire un fic3 , sans les bons (fic1 - fic2) , sachant que fic3 va avoir aussi des nouveaux id...etc

new fic x = new fichier - les bons (= fic(x-1) - fic_error(x-1))

existe t il un moyen de renommage, de programmation ?
le Fic_error est à chaque fois unique, ce n'est pas une concaténation de fichier d'erreurs

le fichier à fournir reprend tout le fichier (sauf ceux qui ont été réputés bons)...
donc le fic_bon est, lui, une concaténation des fic_bons au fil du temps...

en fait,
on ne veut que les nouvelles fiches, avec les ex- mauvaises (issues d'un passage antérieur, mais maintenant corrigés!...peut-être), etc...

je pense que c'est une articulation simple, même si c'est compliqué pour moi à expliquer...

Merci de votre aide ou de vos critiques
4 REPLIES 4
deleted_user
Not applicable
One way you could do it is by using a Proc SQL, perhaps with an EXCEPT set operator.
Patrick
Opal | Level 21
Well: My French is really a bit rusty....

So let me know if I understand right:
Source Table: You have two datasets:
1. Error dataset containing a columns with all error ID's
2. Full dataset with all the variables and observations

Target Table: You want a new dataset with:
All the data in Error


This would be a left join between the two Source Tables over the ID.

Do I get that right?

Cheers
Patrick
Patrick
Opal | Level 21
After re-reading your question - and Vasile's answer I understand that I don't understand....

Why don't you explain what you have in the beginning (tables, relevant fields) and what you need in the end as a result.

And if you could do it in English there would be much more people to assist.

Cheers
Patrick
Andre
Obsidian | Level 7
Pantalaimon
Je vois votre demande pour la première fois.
Comme votre demande s'exprime peu en langage SAS (vocabulaire et code essayé)
je vous suggère de vous débrouiller avec Sas France.
ou sur le forum SAs France où j'irai regarder si vous faites un effort de clarification
et de termes en Sas..
(to the others readers)
I too i don't understand clearly his goal and used terms.
I suggest him to ask to Sas France or inside the french (poor) forum
where i would take a look tomorrow.
Andre

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 876 views
  • 0 likes
  • 3 in conversation