IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Macro Discussion :

Macro Calmar INSEE


Sujet :

Macro

  1. #1
    Membre à l'essai
    Homme Profil pro
    Statisticien
    Inscrit en
    Août 2011
    Messages
    34
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Statisticien
    Secteur : Distribution

    Informations forums :
    Inscription : Août 2011
    Messages : 34
    Points : 19
    Points
    19
    Par défaut Macro Calmar INSEE
    Bonjour à tous,

    J'aimerais utiliser la macro CALMAR d'INSEE qui se trouve ici : https://www.insee.fr/fr/information/2021902
    Télécharger la macro Linux (Red Hat 5) 64 bits compilée en SAS 9.4 (format SAS7BCAT zippé)

    Le souci c'est que je suis en SAS 9.4 HP-UX et lorsque j'appelle la macro:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    libname local "&path_local";
    options mstored sasmstore=local;
    %CALMAR(
    J'ai le message suivant :
    ERROR: File LOCAL.SASMACR.CATALOG was created for a different operating system

    J'ai vu qu'il était possible de le convertir mais aucune idée de comment faire ?

    Merci par avance

  2. #2
    Expert confirmé
    Avatar de olivier.decourt
    Homme Profil pro
    Formateur R/SAS/statistiques
    Inscrit en
    Avril 2008
    Messages
    2 064
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 46
    Localisation : France

    Informations professionnelles :
    Activité : Formateur R/SAS/statistiques
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2008
    Messages : 2 064
    Points : 4 478
    Points
    4 478
    Par défaut
    A priori c'est un boulot pour la proc MIGRATE : http://support.sas.com/documentation...ntor37gzkz.htm
    Bon courage.
    Olivier

  3. #3
    Membre à l'essai
    Homme Profil pro
    Statisticien
    Inscrit en
    Août 2011
    Messages
    34
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Statisticien
    Secteur : Distribution

    Informations forums :
    Inscription : Août 2011
    Messages : 34
    Points : 19
    Points
    19
    Par défaut
    Bonjour Olivier et merci pour votre indice.

    Malheureusement je n'ai pas réussi à faire la migration du fichier Catalog :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
     
     
    7599  proc migrate in=insee out=local slibref=local;
    7600  run;
     
    WARNING: Library LOCAL is empty
     
    WARNING: No data is available.
    NOTE: PROCEDURE MIGRATE used (Total process time):
          real time           0.09 seconds
          cpu time            0.00 seconds
     
     
    7601  proc migrate out=local slibref=insee;
    7602  run;
     
    NOTE: The IN= library has not been specified.  Catalogs will be migrated from the SLIBREF= library.
    ERROR: File INSEE.SASMACR.CATALOG was created for a different operating system.
    WARNING: No data is available.
    NOTE: The SAS System stopped processing this step because of errors.
    NOTE: PROCEDURE MIGRATE used (Total process time):
          real time           0.10 seconds
          cpu time            0.00 seconds 7599  proc migrate in=insee out=local slibref=local;
    7600  run;
     
    WARNING: Library LOCAL is empty
     
    WARNING: No data is available.
    NOTE: PROCEDURE MIGRATE used (Total process time):
          real time           0.09 seconds
          cpu time            0.00 seconds
     
     
    7601  proc migrate out=local slibref=insee;
    7602  run;
     
    NOTE: The IN= library has not been specified.  Catalogs will be migrated from the SLIBREF= library.
    ERROR: File INSEE.SASMACR.CATALOG was created for a different operating system.
    WARNING: No data is available.
    NOTE: The SAS System stopped processing this step because of errors.
    NOTE: PROCEDURE MIGRATE used (Total process time):
          real time           0.10 seconds
          cpu time            0.00 seconds

Discussions similaires

  1. Macro Calmar, redressement+interprétation
    Par kiwi3113 dans le forum SAS STAT
    Réponses: 5
    Dernier message: 27/07/2015, 14h49
  2. Difficultés avec macro ACP de l'INSEE
    Par laminekane dans le forum Macro
    Réponses: 3
    Dernier message: 17/06/2015, 15h34
  3. IML macro CALMAR
    Par vanne27 dans le forum Macro
    Réponses: 5
    Dernier message: 05/06/2014, 21h21
  4. Qu'est-ce qu'une macro ?
    Par karli dans le forum Assembleur
    Réponses: 2
    Dernier message: 01/09/2002, 03h38
  5. Réponses: 2
    Dernier message: 22/07/2002, 12h13

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo