Die Daten sind eine einzelne Variable 'x', die direkt im Data-Schritt definiert wird.
1 Codeblock
DATA STEP
Erklärung : Schreiben der formatierten Werte in das Protokoll. Die Segmente ' @code_sas_json/...' sind Artefakte, die wahrscheinlich Spaltenpositionen ersetzen (z.B. @code_sas_json_prod_multi/Daniel Langer WHICHC - SE - 20240508_de.json, @code_sas_json_prod_multi/Daniel Langer WHICHC - SE - 20240508_de.json), um die Ausgabe auszurichten. Der Code verwendet die Formate NLMNL (National Language Monetary Local) und NLMNI (National Language Monetary International) gefolgt vom ISO-Code der Währung.
Kopiert!
DATA _NULL_;
x = 1234.56;
PUT 'UK - ' @code_sas_json/m205e01.json x NLMNLGBP. @code_sas_json_prod_multi/40 Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json x NLMNIGBP.
/ 'Japan - ' @code_sas_json/m205e01.json x NLMNLJPY. @code_sas_json_prod_multi/40 Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json x NLMNIJPY.
/ 'Australia - ' @code_sas_json/m205e01.json x NLMNLAUD. @code_sas_json_prod_multi/40 Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json x NLMNIAUD.
/ 'Euro - ' @code_sas_json/m205e01.json x NLMNLEUR. @code_sas_json_prod_multi/40 Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json x NLMNIEUR.
/ 'New Zealand - ' @code_sas_json/m205e01.json x NLMNLNZD. @code_sas_json_prod_multi/40 Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json x NLMNINZD. ;
RUN;
1
DATA _NULL_;
2
x = 1234.56;
3
PUT 'UK - ' @code_sas_json/m205e01.json x NLMNLGBP. @code_sas_json_prod_multi/40 Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json x NLMNIGBP.
4
/ 'Japan - ' @code_sas_json/m205e01.json x NLMNLJPY. @code_sas_json_prod_multi/40 Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json x NLMNIJPY.
5
/ 'Australia - ' @code_sas_json/m205e01.json x NLMNLAUD. @code_sas_json_prod_multi/40 Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json x NLMNIAUD.
6
/ 'Euro - ' @code_sas_json/m205e01.json x NLMNLEUR. @code_sas_json_prod_multi/40 Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json x NLMNIEUR.
7
/ 'New Zealand - ' @code_sas_json/m205e01.json x NLMNLNZD. @code_sas_json_prod_multi/40 Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json Program_9_4 Ratio Estimation -- Large Cities in the USA in 1920 and 1930_de.json x NLMNINZD. ;
8
RUN;
Dieses Material wird von We Are Cas "wie besehen" zur Verfügung gestellt. Es gibt keine ausdrücklichen oder stillschweigenden Garantien hinsichtlich der Marktgängigkeit oder Eignung für einen bestimmten Zweck in Bezug auf die hierin enthaltenen Materialien oder Codes. We Are Cas ist nicht verantwortlich für Fehler in diesem Material, wie es jetzt existiert oder existieren wird, noch bietet We Are Cas technischen Support dafür an.
SAS und alle anderen Produkt- oder Dienstleistungsnamen von SAS Institute Inc. sind eingetragene Marken oder Marken von SAS Institute Inc. in den USA und anderen Ländern. ® zeigt die Registrierung in den USA an. WeAreCAS ist eine unabhängige Community-Site und nicht mit SAS Institute Inc. verbunden.
Diese Website verwendet technische und analytische Cookies, um Ihre Erfahrung zu verbessern.
Mehr erfahren.