<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to generate sample data for forums in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789361#M32393</link>
    <description>Instead of generating data in the log, it creates it in an external text file instead. &lt;BR /&gt;So you update the file= portion to be the file name you want to save the code and check that file for the output instead of the log. &lt;BR /&gt;And replace data=sashelp.cass with the data set name you want to be created (data=test_sas_comm). &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 10 Jan 2022 20:55:06 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2022-01-10T20:55:06Z</dc:date>
    <item>
      <title>How to generate sample data for forums</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789336#M32390</link>
      <description>&lt;P&gt;I am trying to generate sample data for these forums. I'm trying to follow&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_self"&gt;these instructions&lt;/A&gt;, but I'm not having success. My code and logs are below. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;DATA test_sas_comm;
    SET test
    
    (DROP = Efflux_V1--BH_PreB1_V3);
                   
RUN;

*data set you want to create demo data for;
%let dataSetName = test_sas_comm;
*number of observations you want to keep;
%let obsKeep = 10;

******************************************************
DO NOT CHANGE ANYTHING BELOW THIS LINE
******************************************************;

%let source_path = https://gist.githubusercontent.com/statgeek/bcc55940dd825a13b9c8ca40a904cba9/raw/865d2cf18f5150b8e887218dde0fc3951d0ff15b/data2datastep.sas;

filename reprex url "&amp;amp;source_path";
%include reprex;
filename reprex;

option linesize=max;
%data2datastep(dsn=&amp;amp;dataSetName, obs=&amp;amp;obsKeep);
&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp; &lt;BR /&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;68 &lt;BR /&gt;69 DATA test_sas_comm;&lt;BR /&gt;70 SET test&lt;BR /&gt;71 &lt;BR /&gt;72 (DROP = Efflux_V1--BH_PreB1_V3);&lt;BR /&gt;73 &lt;BR /&gt;74 RUN;&lt;BR /&gt;&lt;BR /&gt;NOTE: There were 49 observations read from the data set WORK.TEST.&lt;BR /&gt;NOTE: The data set WORK.TEST_SAS_COMM has 49 observations and 46 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 1133.68k&lt;BR /&gt;OS Memory 32688.00k&lt;BR /&gt;Timestamp 01/10/2022 07:43:52 PM&lt;BR /&gt;Step Count 213 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 119&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 9&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 264&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;75 &lt;BR /&gt;76 *data set you want to create demo data for;&lt;BR /&gt;77 %let dataSetName = test_sas_comm;&lt;BR /&gt;78 *number of observations you want to keep;&lt;BR /&gt;79 %let obsKeep = 10;&lt;BR /&gt;80 &lt;BR /&gt;81 ******************************************************&lt;BR /&gt;82 DO NOT CHANGE ANYTHING BELOW THIS LINE&lt;BR /&gt;83 ******************************************************;&lt;BR /&gt;84 &lt;BR /&gt;85 %let source_path = &lt;A href="https://gist.githubusercontent.com/statgeek/bcc55940dd825a13b9c8ca40a904cba9/raw/865d2cf18f5150b8e887218dde0fc3951d0ff15b/data2datastep.sas" target="_blank"&gt;https://gist.githubusercontent.com/statgeek/bcc55940dd825a13b9c8ca40a904cba9/raw/865d2cf18f5150b8e887218dde0fc3951d0ff15b/data2datastep.sas&lt;/A&gt;;&lt;BR /&gt;86 &lt;BR /&gt;87 filename reprex url "&amp;amp;source_path";&lt;BR /&gt;88 %include reprex;&lt;BR /&gt;249 filename reprex;&lt;BR /&gt;NOTE: Fileref REPREX has been deassigned.&lt;BR /&gt;250 &lt;BR /&gt;251 option linesize=max;&lt;BR /&gt;252 %data2datastep(dsn=&amp;amp;dataSetName, obs=&amp;amp;obsKeep);&lt;BR /&gt;NOTE: No rows were selected.&lt;BR /&gt;NOTE: PROCEDURE SQL used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.01 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 5505.78k&lt;BR /&gt;OS Memory 37292.00k&lt;BR /&gt;Timestamp 01/10/2022 07:43:52 PM&lt;BR /&gt;Step Count 214 Switch Count 0&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 200&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 0&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DATA2DATASTEP DSN TEST_SAS_COMM&lt;BR /&gt;DATA2DATASTEP FILE homejcorroon/create_WORK_TEST_SAS_COMM_data.sas&lt;BR /&gt;DATA2DATASTEP FMT YES&lt;BR /&gt;DATA2DATASTEP FMTLIST Participant_ID BEST12. Age BEST12. ALT_V1 BEST12. ALT_V3 BEST12. AST_V1 BEST12. AST_V3 BEST12. AlkPhos_V1 BEST12. AlkPhos_V3 BEST12. Bilirubin_V1 BEST12. Bilirubin_V3 BEST12. Albumin_V1 BEST12. Albumin_V3 BEST12. Globulin_V1 BEST12. &lt;BR /&gt;Globulin_V3 BEST12. TotalProt_V1 BEST12. TotalProt_V3 BEST12. AlbGlobRatio_V1 BEST12. AlbGlobRatio_V3 BEST12. BUN_V1 BEST12. BUN_V3 BEST12. Creatinine_V1 BEST12. Creatinine_V3 BEST12. BUNCreatinineRatio_V1 BEST12. BUNCreatinineRatio_V3 BEST12. eGFR_NoA_V1 &lt;BR /&gt;BEST12. eGFR_NoA_V3 BEST12. eGFR_AA_V1 BEST12. eGFR_AA_V3 BEST12.&lt;BR /&gt;DATA2DATASTEP INPUTLIST Participant_ID:BEST12. Group:$1. Sex:$1. Age:BEST12. MPO_Ab_V1:$5. MPO_Ab_V2:$5. MPO_Ab_V3:$4. ALT_V1:BEST12. ALT_V2:$1. ALT_V3:BEST12. AST_V1:BEST12. AST_V2:$1. AST_V3:BEST12. AlkPhos_V1:BEST12. AlkPhos_V2:$1. AlkPhos_V3:BEST12. &lt;BR /&gt;Bilirubin_V1:BEST12. Bilirubin_V2:$1. Bilirubin_V3:BEST12. Albumin_V1:BEST12. Albumin_V2:$1. Albumin_V3:BEST12. Globulin_V1:BEST12. Globulin_V2:$1. Globulin_V3:BEST12. TotalProt_V1:BEST12. TotalProt_V2:$1. TotalProt_V3:BEST12. AlbGlobRatio_V1:BEST12. &lt;BR /&gt;AlbGlobRatio_V2:$1. AlbGlobRatio_V3:BEST12. BUN_V1:BEST12. BUN_V2:$1. BUN_V3:BEST12. Creatinine_V1:BEST12. Creatinine_V2:$1. Creatinine_V3:BEST12. BUNCreatinineRatio_V1:BEST12. BUNCreatinineRatio_V2:$1. BUNCreatinineRatio_V3:BEST12. eGFR_NoA_V1:BEST12. &lt;BR /&gt;eGFR_NoA_V2:$1. eGFR_NoA_V3:BEST12. eGFR_AA_V1:BEST12. eGFR_AA_V2:$1. eGFR_AA_V3:BEST12.&lt;BR /&gt;DATA2DATASTEP LBL YES&lt;BR /&gt;DATA2DATASTEP LIB WORK&lt;BR /&gt;DATA2DATASTEP LS 256&lt;BR /&gt;DATA2DATASTEP MEMLABEL &lt;BR /&gt;DATA2DATASTEP MSGTYPE NOTE&lt;BR /&gt;DATA2DATASTEP OBS 10&lt;BR /&gt;DATA2DATASTEP OUTLIB WORK&lt;BR /&gt;DATA2DATASTEP SQLEXITCODE 0&lt;BR /&gt;DATA2DATASTEP SQLOBS 28&lt;BR /&gt;DATA2DATASTEP SQLOOPS 73&lt;BR /&gt;DATA2DATASTEP SQLRC 0&lt;BR /&gt;DATA2DATASTEP SQLXOBS 0&lt;BR /&gt;DATA2DATASTEP SQLXOPENERRS 0&lt;BR /&gt;DATA2DATASTEP VARLIST Participant_ID Group Sex Age MPO_Ab_V1 MPO_Ab_V2 MPO_Ab_V3 ALT_V1 ALT_V2 ALT_V3 AST_V1 AST_V2 AST_V3 AlkPhos_V1 AlkPhos_V2 AlkPhos_V3 Bilirubin_V1 Bilirubin_V2 Bilirubin_V3 Albumin_V1 Albumin_V2 Albumin_V3 Globulin_V1 Globulin_V2 &lt;BR /&gt;Globulin_V3 TotalProt_V1 TotalProt_V2 TotalProt_V3 AlbGlobRatio_V1 AlbGlobRatio_V2 AlbGlobRatio_V3 BUN_V1 BUN_V2 BUN_V3 Creatinine_V1 Creatinine_V2 Creatinine_V3 BUNCreatinineRatio_V1 BUNCreatinineRatio_V2 BUNCreatinineRatio_V3 eGFR_NoA_V1 eGFR_NoA_V2 &lt;BR /&gt;eGFR_NoA_V3 eGFR_AA_V1 eGFR_AA_V2 eGFR_AA_V3&lt;BR /&gt;NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.&lt;BR /&gt;NOTE: The quoted string currently being processed has become more than 262 bytes long. You might have unbalanced quotation marks.&lt;BR /&gt;WARNING: Apparent symbolic reference LBLLIST not resolved.&lt;BR /&gt;&lt;BR /&gt;data WORK.TEST_SAS_COMM;&lt;BR /&gt;infile datalines dsd truncover;&lt;BR /&gt;input Participant_ID:BEST12. Group:$1. Sex:$1. Age:BEST12. MPO_Ab_V1:$5. MPO_Ab_V2:$5. MPO_Ab_V3:$4. ALT_V1:BEST12. ALT_V2:$1. ALT_V3:BEST12. AST_V1:BEST12. AST_V2:$1. AST_V3:BEST12. AlkPhos_V1:BEST12. AlkPhos_V2:$1. AlkPhos_V3:BEST12. Bilirubin_V1:BEST12.&lt;BR /&gt;Bilirubin_V2:$1. Bilirubin_V3:BEST12. Albumin_V1:BEST12. Albumin_V2:$1. Albumin_V3:BEST12. Globulin_V1:BEST12. Globulin_V2:$1. Globulin_V3:BEST12. TotalProt_V1:BEST12. TotalProt_V2:$1. TotalProt_V3:BEST12. AlbGlobRatio_V1:BEST12. AlbGlobRatio_V2:$1. AlbGl&lt;BR /&gt;obRatio_V3:BEST12. BUN_V1:BEST12. BUN_V2:$1. BUN_V3:BEST12. Creatinine_V1:BEST12. Creatinine_V2:$1. Creatinine_V3:BEST12. BUNCreatinineRatio_V1:BEST12. BUNCreatinineRatio_V2:$1. BUNCreatinineRatio_V3:BEST12. eGFR_NoA_V1:BEST12. eGFR_NoA_V2:$1. eGFR_NoA_V3:&lt;BR /&gt;BEST12. eGFR_AA_V1:BEST12. eGFR_AA_V2:$1. eGFR_AA_V3:BEST12.;&lt;BR /&gt;format Participant_ID BEST12. Age BEST12. ALT_V1 BEST12. ALT_V3 BEST12. AST_V1 BEST12. AST_V3 BEST12. AlkPhos_V1 BEST12. AlkPhos_V3 BEST12. Bilirubin_V1 BEST12. Bilirubin_V3 BEST12. Albumin_V1 BEST12. Albumin_V3 BEST12. Globulin_V1 BEST12. Globulin_V3 BEST&lt;BR /&gt;12. TotalProt_V1 BEST12. TotalProt_V3 BEST12. AlbGlobRatio_V1 BEST12. AlbGlobRatio_V3 BEST12. BUN_V1 BEST12. BUN_V3 BEST12. Creatinine_V1 BEST12. Creatinine_V3 BEST12. BUNCreatinineRatio_V1 BEST12. BUNCreatinineRatio_V3 BEST12. eGFR_NoA_V1 BEST12. eGFR_NoA&lt;BR /&gt;_V3 BEST12. eGFR_AA_V1 BEST12. eGFR_AA_V3 BEST12.;&lt;BR /&gt;datalines;&lt;BR /&gt;1 A M 52 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 16 16 20 16 58 48 0.4 0.5 4.4 4.5 2.6 2.6 7 7.1 1.7 1.7 16 13 0.92 0.87 . . 95 99 110 115&lt;BR /&gt;3 A M 56 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 43 49 29 30 57 49 0.7 0.5 4.7 4.7 2.7 2.4 7.4 7.1 1.7 2 20 16 1.08 1.08 . . 76 76 88 88&lt;BR /&gt;4 B M 67 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 16 13 20 20 82 89 0.8 1.1 3.8 4.4 2.2 2.2 6 6.6 1.7 2 14 17 0.91 0.9 . . 87 88 101 102&lt;BR /&gt;5 A F 65 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 23 39 26 43 45 45 0.5 0.4 4.3 4.3 2.4 2.2 6.7 6.5 1.58 2 38 36 1.87 1.63 20 22 28 33 32 38&lt;BR /&gt;7 A M 69 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 37 34 27 21 59 75 0.6 0.6 4.1 4.5 2.1 2.3 6.2 6.8 2 2 16 15 0.78 0.8 . . 92 91 107 106&lt;BR /&gt;8 B F 68 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 21 16 19 15 54 58 0.6 0.3 4.5 4.1 2.6 2.5 7.1 6.6 1.7 1.6 22 20 0.83 0.8 . . 72 76 84 88&lt;BR /&gt;9 A M 72 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 15 24 13 21 69 63 0.7 0.9 4.3 4.4 2.5 2.3 6.8 6.7 1.7 1.9 23 25 1.16 1.1 . . 63 67 73 77&lt;BR /&gt;10 B M 68 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 35 15 47 24 59 59 1.2 0.9 4.1 4.2 2.2 2.4 6.3 6.6 1.9 1.8 10 11 0.65 0.75 15 . 100 94 116 109&lt;BR /&gt;11 A F 71 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 19 21 20 21 115 109 0.5 0.5 4.5 4.5 2.7 2.4 7.2 6.9 1.7 1.9 24 23 0.74 0.68 . . 82 87 94 101&lt;BR /&gt;12 B M 71 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 35 47 24 24 73 73 0.5 0.6 4.3 4.6 2.5 2.3 6.8 6.9 1.7 2 79 19 0.97 0.97 . . 76 78 88 91&lt;BR /&gt;;;;;&lt;BR /&gt;NOTE: There were 10 observations read from the data set WORK.TEST_SAS_COMM.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.00 seconds&lt;BR /&gt;memory 788.12k&lt;BR /&gt;OS Memory 32428.00k&lt;BR /&gt;Timestamp 01/10/2022 07:43:52 PM&lt;BR /&gt;Step Count 215 Switch Count 0&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 60&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 0&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;253 &lt;BR /&gt;254 &lt;BR /&gt;255 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;265&amp;nbsp;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I copy and paste the DATA step from the log:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data WORK.TEST_SAS_COMM;
   infile datalines dsd truncover;
 input Participant_ID:BEST12. Group:$1. Sex:$1. Age:BEST12. MPO_Ab_V1:$5. MPO_Ab_V2:$5. MPO_Ab_V3:$4. ALT_V1:BEST12. ALT_V2:$1. ALT_V3:BEST12. AST_V1:BEST12. AST_V2:$1. AST_V3:BEST12. AlkPhos_V1:BEST12. AlkPhos_V2:$1. AlkPhos_V3:BEST12. Bilirubin_V1:BEST12.
  Bilirubin_V2:$1. Bilirubin_V3:BEST12. Albumin_V1:BEST12. Albumin_V2:$1. Albumin_V3:BEST12. Globulin_V1:BEST12. Globulin_V2:$1. Globulin_V3:BEST12. TotalProt_V1:BEST12. TotalProt_V2:$1. TotalProt_V3:BEST12. AlbGlobRatio_V1:BEST12. AlbGlobRatio_V2:$1. AlbGl
 obRatio_V3:BEST12. BUN_V1:BEST12. BUN_V2:$1. BUN_V3:BEST12. Creatinine_V1:BEST12. Creatinine_V2:$1. Creatinine_V3:BEST12. BUNCreatinineRatio_V1:BEST12. BUNCreatinineRatio_V2:$1. BUNCreatinineRatio_V3:BEST12. eGFR_NoA_V1:BEST12. eGFR_NoA_V2:$1. eGFR_NoA_V3:
 BEST12. eGFR_AA_V1:BEST12. eGFR_AA_V2:$1. eGFR_AA_V3:BEST12.;
 format Participant_ID BEST12. Age BEST12. ALT_V1 BEST12. ALT_V3 BEST12. AST_V1 BEST12. AST_V3 BEST12. AlkPhos_V1 BEST12. AlkPhos_V3 BEST12. Bilirubin_V1 BEST12. Bilirubin_V3 BEST12. Albumin_V1 BEST12. Albumin_V3 BEST12. Globulin_V1 BEST12. Globulin_V3 BEST
 12. TotalProt_V1 BEST12. TotalProt_V3 BEST12. AlbGlobRatio_V1 BEST12. AlbGlobRatio_V3 BEST12. BUN_V1 BEST12. BUN_V3 BEST12. Creatinine_V1 BEST12. Creatinine_V3 BEST12. BUNCreatinineRatio_V1 BEST12. BUNCreatinineRatio_V3 BEST12. eGFR_NoA_V1 BEST12. eGFR_NoA
 _V3 BEST12. eGFR_AA_V1 BEST12. eGFR_AA_V3 BEST12.;
 datalines;
 1 A M 52 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 16   16 20   16 58   48 0.4   0.5 4.4   4.5 2.6   2.6 7   7.1 1.7   1.7 16   13 0.92   0.87 .   . 95   99 110   115
 3 A M 56 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 43   49 29   30 57   49 0.7   0.5 4.7   4.7 2.7   2.4 7.4   7.1 1.7   2 20   16 1.08   1.08 .   . 76   76 88   88
 4 B M 67 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 16   13 20   20 82   89 0.8   1.1 3.8   4.4 2.2   2.2 6   6.6 1.7   2 14   17 0.91   0.9 .   . 87   88 101   102
 5 A F 65 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 23   39 26   43 45   45 0.5   0.4 4.3   4.3 2.4   2.2 6.7   6.5 1.58   2 38   36 1.87   1.63 20   22 28   33 32   38
 7 A M 69 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 37   34 27   21 59   75 0.6   0.6 4.1   4.5 2.1   2.3 6.2   6.8 2   2 16   15 0.78   0.8 .   . 92   91 107   106
 8 B F 68 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 21   16 19   15 54   58 0.6   0.3 4.5   4.1 2.6   2.5 7.1   6.6 1.7   1.6 22   20 0.83   0.8 .   . 72   76 84   88
 9 A M 72 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 15   24 13   21 69   63 0.7   0.9 4.3   4.4 2.5   2.3 6.8   6.7 1.7   1.9 23   25 1.16   1.1 .   . 63   67 73   77
 10 B M 68 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 35   15 47   24 59   59 1.2   0.9 4.1   4.2 2.2   2.4 6.3   6.6 1.9   1.8 10   11 0.65   0.75 15   . 100   94 116   109
 11 A F 71 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 19   21 20   21 115   109 0.5   0.5 4.5   4.5 2.7   2.4 7.2   6.9 1.7   1.9 24   23 0.74   0.68 .   . 82   87 94   101
 12 B M 71 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 35   47 24   24 73   73 0.5   0.6 4.3   4.6 2.5   2.3 6.8   6.9 1.7   2 79   19 0.97   0.97 .   . 76   78 88   91
 ;;;;
 RUN;
 &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here is the log:&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;68 &lt;BR /&gt;69 data WORK.TEST_SAS_COMM;&lt;BR /&gt;70 infile datalines dsd truncover;&lt;BR /&gt;71 input Participant_ID:BEST12. Group:$1. Sex:$1. Age:BEST12. MPO_Ab_V1:$5. MPO_Ab_V2:$5. MPO_Ab_V3:$4. ALT_V1:BEST12. ALT_V2:$1. ALT_V3:BEST12. AST_V1:BEST12. AST_V2:$1. AST_V3:BEST12. AlkPhos_V1:BEST12. AlkPhos_V2:$1. AlkPhos_V3:BEST12.&lt;BR /&gt;71 ! Bilirubin_V1:BEST12.&lt;BR /&gt;72 Bilirubin_V2:$1. Bilirubin_V3:BEST12. Albumin_V1:BEST12. Albumin_V2:$1. Albumin_V3:BEST12. Globulin_V1:BEST12. Globulin_V2:$1. Globulin_V3:BEST12. TotalProt_V1:BEST12. TotalProt_V2:$1. TotalProt_V3:BEST12. AlbGlobRatio_V1:BEST12.&lt;BR /&gt;72 ! AlbGlobRatio_V2:$1. AlbGl&lt;BR /&gt;73 obRatio_V3:BEST12. BUN_V1:BEST12. BUN_V2:$1. BUN_V3:BEST12. Creatinine_V1:BEST12. Creatinine_V2:$1. Creatinine_V3:BEST12. BUNCreatinineRatio_V1:BEST12. BUNCreatinineRatio_V2:$1. BUNCreatinineRatio_V3:BEST12. eGFR_NoA_V1:BEST12. eGFR_NoA_V2:$1.&lt;BR /&gt;73 ! eGFR_NoA_V3:&lt;BR /&gt;74 BEST12. eGFR_AA_V1:BEST12. eGFR_AA_V2:$1. eGFR_AA_V3:BEST12.;&lt;BR /&gt;75 format Participant_ID BEST12. Age BEST12. ALT_V1 BEST12. ALT_V3 BEST12. AST_V1 BEST12. AST_V3 BEST12. AlkPhos_V1 BEST12. AlkPhos_V3 BEST12. Bilirubin_V1 BEST12. Bilirubin_V3 BEST12. Albumin_V1 BEST12. Albumin_V3 BEST12. Globulin_V1 BEST12.&lt;BR /&gt;75 ! Globulin_V3 BEST&lt;BR /&gt;76 12. TotalProt_V1 BEST12. TotalProt_V3 BEST12. AlbGlobRatio_V1 BEST12. AlbGlobRatio_V3 BEST12. BUN_V1 BEST12. BUN_V3 BEST12. Creatinine_V1 BEST12. Creatinine_V3 BEST12. BUNCreatinineRatio_V1 BEST12. BUNCreatinineRatio_V3 BEST12. eGFR_NoA_V1&lt;BR /&gt;76 ! BEST12. eGFR_NoA&lt;BR /&gt;77 _V3 BEST12. eGFR_AA_V1 BEST12. eGFR_AA_V3 BEST12.;&lt;BR /&gt;78 datalines;&lt;BR /&gt;&lt;BR /&gt;NOTE: Variable BEST is uninitialized.&lt;BR /&gt;NOTE: Variable AlbGlobRatio_V3 is uninitialized.&lt;BR /&gt;NOTE: Variable eGFR_NoA is uninitialized.&lt;BR /&gt;NOTE: Variable _V3 is uninitialized.&lt;BR /&gt;NOTE: Invalid data for Participant_ID in line 79 1-140.&lt;BR /&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0 &lt;BR /&gt;79 1 A M 52 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 16 16 20 16 58 48 0.4 0.5 4.4 4.5 2.6 2.6 7 7.1 1.7 1.7 16 &lt;BR /&gt;101 13 0.92 0.87 . . 95 99 110 115&lt;BR /&gt;Participant_ID=. Group= Sex= Age=. MPO_Ab_V1= MPO_Ab_V2= MPO_Ab_V3= ALT_V1=. ALT_V2= ALT_V3=. AST_V1=. AST_V2= AST_V3=. AlkPhos_V1=. AlkPhos_V2= AlkPhos_V3=. Bilirubin_V1=. Bilirubin_V2= Bilirubin_V3=. Albumin_V1=. Albumin_V2= Albumin_V3=.&lt;BR /&gt;Globulin_V1=. Globulin_V2= Globulin_V3=. TotalProt_V1=. TotalProt_V2= TotalProt_V3=. AlbGlobRatio_V1=. AlbGlobRatio_V2= AlbGl=. obRatio_V3=. BUN_V1=. BUN_V2= BUN_V3=. Creatinine_V1=. Creatinine_V2= Creatinine_V3=. BUNCreatinineRatio_V1=.&lt;BR /&gt;BUNCreatinineRatio_V2= BUNCreatinineRatio_V3=. eGFR_NoA_V1=. eGFR_NoA_V2= eGFR_NoA_V3=. eGFR_AA_V1=. eGFR_AA_V2= eGFR_AA_V3=. BEST=. AlbGlobRatio_V3=. eGFR_NoA=. _V3=. _ERROR_=1 _N_=1&lt;BR /&gt;NOTE: Invalid data for Participant_ID in line 80 1-138.&lt;BR /&gt;80 3 A M 56 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 43 49 29 30 57 49 0.7 0.5 4.7 4.7 2.7 2.4 7.4 7.1 1.7 2 20 &lt;BR /&gt;101 16 1.08 1.08 . . 76 76 88 88&lt;BR /&gt;Participant_ID=. Group= Sex= Age=. MPO_Ab_V1= MPO_Ab_V2= MPO_Ab_V3= ALT_V1=. ALT_V2= ALT_V3=. AST_V1=. AST_V2= AST_V3=. AlkPhos_V1=. AlkPhos_V2= AlkPhos_V3=. Bilirubin_V1=. Bilirubin_V2= Bilirubin_V3=. Albumin_V1=. Albumin_V2= Albumin_V3=.&lt;BR /&gt;Globulin_V1=. Globulin_V2= Globulin_V3=. TotalProt_V1=. TotalProt_V2= TotalProt_V3=. AlbGlobRatio_V1=. AlbGlobRatio_V2= AlbGl=. obRatio_V3=. BUN_V1=. BUN_V2= BUN_V3=. Creatinine_V1=. Creatinine_V2= Creatinine_V3=. BUNCreatinineRatio_V1=.&lt;BR /&gt;BUNCreatinineRatio_V2= BUNCreatinineRatio_V3=. eGFR_NoA_V1=. eGFR_NoA_V2= eGFR_NoA_V3=. eGFR_AA_V1=. eGFR_AA_V2= eGFR_AA_V3=. BEST=. AlbGlobRatio_V3=. eGFR_NoA=. _V3=. _ERROR_=1 _N_=2&lt;BR /&gt;NOTE: Invalid data for Participant_ID in line 81 1-137.&lt;BR /&gt;81 4 B M 67 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 16 13 20 20 82 89 0.8 1.1 3.8 4.4 2.2 2.2 6 6.6 1.7 2 14 &lt;BR /&gt;101 17 0.91 0.9 . . 87 88 101 102&lt;BR /&gt;Participant_ID=. Group= Sex= Age=. MPO_Ab_V1= MPO_Ab_V2= MPO_Ab_V3= ALT_V1=. ALT_V2= ALT_V3=. AST_V1=. AST_V2= AST_V3=. AlkPhos_V1=. AlkPhos_V2= AlkPhos_V3=. Bilirubin_V1=. Bilirubin_V2= Bilirubin_V3=. Albumin_V1=. Albumin_V2= Albumin_V3=.&lt;BR /&gt;Globulin_V1=. Globulin_V2= Globulin_V3=. TotalProt_V1=. TotalProt_V2= TotalProt_V3=. AlbGlobRatio_V1=. AlbGlobRatio_V2= AlbGl=. obRatio_V3=. BUN_V1=. BUN_V2= BUN_V3=. Creatinine_V1=. Creatinine_V2= Creatinine_V3=. BUNCreatinineRatio_V1=.&lt;BR /&gt;BUNCreatinineRatio_V2= BUNCreatinineRatio_V3=. eGFR_NoA_V1=. eGFR_NoA_V2= eGFR_NoA_V3=. eGFR_AA_V1=. eGFR_AA_V2= eGFR_AA_V3=. BEST=. AlbGlobRatio_V3=. eGFR_NoA=. _V3=. _ERROR_=1 _N_=3&lt;BR /&gt;NOTE: Invalid data for Participant_ID in line 82 1-141.&lt;BR /&gt;82 5 A F 65 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 23 39 26 43 45 45 0.5 0.4 4.3 4.3 2.4 2.2 6.7 6.5 1.58 2 38&lt;BR /&gt;101 36 1.87 1.63 20 22 28 33 32 38&lt;BR /&gt;Participant_ID=. Group= Sex= Age=. MPO_Ab_V1= MPO_Ab_V2= MPO_Ab_V3= ALT_V1=. ALT_V2= ALT_V3=. AST_V1=. AST_V2= AST_V3=. AlkPhos_V1=. AlkPhos_V2= AlkPhos_V3=. Bilirubin_V1=. Bilirubin_V2= Bilirubin_V3=. Albumin_V1=. Albumin_V2= Albumin_V3=.&lt;BR /&gt;Globulin_V1=. Globulin_V2= Globulin_V3=. TotalProt_V1=. TotalProt_V2= TotalProt_V3=. AlbGlobRatio_V1=. AlbGlobRatio_V2= AlbGl=. obRatio_V3=. BUN_V1=. BUN_V2= BUN_V3=. Creatinine_V1=. Creatinine_V2= Creatinine_V3=. BUNCreatinineRatio_V1=.&lt;BR /&gt;BUNCreatinineRatio_V2= BUNCreatinineRatio_V3=. eGFR_NoA_V1=. eGFR_NoA_V2= eGFR_NoA_V3=. eGFR_AA_V1=. eGFR_AA_V2= eGFR_AA_V3=. BEST=. AlbGlobRatio_V3=. eGFR_NoA=. _V3=. _ERROR_=1 _N_=4&lt;BR /&gt;NOTE: Invalid data for Participant_ID in line 83 1-137.&lt;BR /&gt;83 7 A M 69 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 37 34 27 21 59 75 0.6 0.6 4.1 4.5 2.1 2.3 6.2 6.8 2 2 16 &lt;BR /&gt;101 15 0.78 0.8 . . 92 91 107 106&lt;BR /&gt;Participant_ID=. Group= Sex= Age=. MPO_Ab_V1= MPO_Ab_V2= MPO_Ab_V3= ALT_V1=. ALT_V2= ALT_V3=. AST_V1=. AST_V2= AST_V3=. AlkPhos_V1=. AlkPhos_V2= AlkPhos_V3=. Bilirubin_V1=. Bilirubin_V2= Bilirubin_V3=. Albumin_V1=. Albumin_V2= Albumin_V3=.&lt;BR /&gt;Globulin_V1=. Globulin_V2= Globulin_V3=. TotalProt_V1=. TotalProt_V2= TotalProt_V3=. AlbGlobRatio_V1=. AlbGlobRatio_V2= AlbGl=. obRatio_V3=. BUN_V1=. BUN_V2= BUN_V3=. Creatinine_V1=. Creatinine_V2= Creatinine_V3=. BUNCreatinineRatio_V1=.&lt;BR /&gt;BUNCreatinineRatio_V2= BUNCreatinineRatio_V3=. eGFR_NoA_V1=. eGFR_NoA_V2= eGFR_NoA_V3=. eGFR_AA_V1=. eGFR_AA_V2= eGFR_AA_V3=. BEST=. AlbGlobRatio_V3=. eGFR_NoA=. _V3=. _ERROR_=1 _N_=5&lt;BR /&gt;NOTE: Invalid data for Participant_ID in line 84 1-139.&lt;BR /&gt;84 8 B F 68 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 21 16 19 15 54 58 0.6 0.3 4.5 4.1 2.6 2.5 7.1 6.6 1.7 1.6 2&lt;BR /&gt;101 2 20 0.83 0.8 . . 72 76 84 88&lt;BR /&gt;Participant_ID=. Group= Sex= Age=. MPO_Ab_V1= MPO_Ab_V2= MPO_Ab_V3= ALT_V1=. ALT_V2= ALT_V3=. AST_V1=. AST_V2= AST_V3=. AlkPhos_V1=. AlkPhos_V2= AlkPhos_V3=. Bilirubin_V1=. Bilirubin_V2= Bilirubin_V3=. Albumin_V1=. Albumin_V2= Albumin_V3=.&lt;BR /&gt;Globulin_V1=. Globulin_V2= Globulin_V3=. TotalProt_V1=. TotalProt_V2= TotalProt_V3=. AlbGlobRatio_V1=. AlbGlobRatio_V2= AlbGl=. obRatio_V3=. BUN_V1=. BUN_V2= BUN_V3=. Creatinine_V1=. Creatinine_V2= Creatinine_V3=. BUNCreatinineRatio_V1=.&lt;BR /&gt;BUNCreatinineRatio_V2= BUNCreatinineRatio_V3=. eGFR_NoA_V1=. eGFR_NoA_V2= eGFR_NoA_V3=. eGFR_AA_V1=. eGFR_AA_V2= eGFR_AA_V3=. BEST=. AlbGlobRatio_V3=. eGFR_NoA=. _V3=. _ERROR_=1 _N_=6&lt;BR /&gt;NOTE: Invalid data for Participant_ID in line 85 1-139.&lt;BR /&gt;RULE: ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0 &lt;BR /&gt;85 9 A M 72 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 15 24 13 21 69 63 0.7 0.9 4.3 4.4 2.5 2.3 6.8 6.7 1.7 1.9 2&lt;BR /&gt;101 3 25 1.16 1.1 . . 63 67 73 77&lt;BR /&gt;Participant_ID=. Group= Sex= Age=. MPO_Ab_V1= MPO_Ab_V2= MPO_Ab_V3= ALT_V1=. ALT_V2= ALT_V3=. AST_V1=. AST_V2= AST_V3=. AlkPhos_V1=. AlkPhos_V2= AlkPhos_V3=. Bilirubin_V1=. Bilirubin_V2= Bilirubin_V3=. Albumin_V1=. Albumin_V2= Albumin_V3=.&lt;BR /&gt;Globulin_V1=. Globulin_V2= Globulin_V3=. TotalProt_V1=. TotalProt_V2= TotalProt_V3=. AlbGlobRatio_V1=. AlbGlobRatio_V2= AlbGl=. obRatio_V3=. BUN_V1=. BUN_V2= BUN_V3=. Creatinine_V1=. Creatinine_V2= Creatinine_V3=. BUNCreatinineRatio_V1=.&lt;BR /&gt;BUNCreatinineRatio_V2= BUNCreatinineRatio_V3=. eGFR_NoA_V1=. eGFR_NoA_V2= eGFR_NoA_V3=. eGFR_AA_V1=. eGFR_AA_V2= eGFR_AA_V3=. BEST=. AlbGlobRatio_V3=. eGFR_NoA=. _V3=. _ERROR_=1 _N_=7&lt;BR /&gt;NOTE: Invalid data for Participant_ID in line 86 1-145.&lt;BR /&gt;86 10 B M 68 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 35 15 47 24 59 59 1.2 0.9 4.1 4.2 2.2 2.4 6.3 6.6 1.9 1.8 &lt;BR /&gt;101 10 11 0.65 0.75 15 . 100 94 116 109&lt;BR /&gt;Participant_ID=. Group= Sex= Age=. MPO_Ab_V1= MPO_Ab_V2= MPO_Ab_V3= ALT_V1=. ALT_V2= ALT_V3=. AST_V1=. AST_V2= AST_V3=. AlkPhos_V1=. AlkPhos_V2= AlkPhos_V3=. Bilirubin_V1=. Bilirubin_V2= Bilirubin_V3=. Albumin_V1=. Albumin_V2= Albumin_V3=.&lt;BR /&gt;Globulin_V1=. Globulin_V2= Globulin_V3=. TotalProt_V1=. TotalProt_V2= TotalProt_V3=. AlbGlobRatio_V1=. AlbGlobRatio_V2= AlbGl=. obRatio_V3=. BUN_V1=. BUN_V2= BUN_V3=. Creatinine_V1=. Creatinine_V2= Creatinine_V3=. BUNCreatinineRatio_V1=.&lt;BR /&gt;BUNCreatinineRatio_V2= BUNCreatinineRatio_V3=. eGFR_NoA_V1=. eGFR_NoA_V2= eGFR_NoA_V3=. eGFR_AA_V1=. eGFR_AA_V2= eGFR_AA_V3=. BEST=. AlbGlobRatio_V3=. eGFR_NoA=. _V3=. _ERROR_=1 _N_=8&lt;BR /&gt;NOTE: Invalid data for Participant_ID in line 87 1-144.&lt;BR /&gt;87 11 A F 71 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 19 21 20 21 115 109 0.5 0.5 4.5 4.5 2.7 2.4 7.2 6.9 1.7 1.&lt;BR /&gt;101 9 24 23 0.74 0.68 . . 82 87 94 101&lt;BR /&gt;Participant_ID=. Group= Sex= Age=. MPO_Ab_V1= MPO_Ab_V2= MPO_Ab_V3= ALT_V1=. ALT_V2= ALT_V3=. AST_V1=. AST_V2= AST_V3=. AlkPhos_V1=. AlkPhos_V2= AlkPhos_V3=. Bilirubin_V1=. Bilirubin_V2= Bilirubin_V3=. Albumin_V1=. Albumin_V2= Albumin_V3=.&lt;BR /&gt;Globulin_V1=. Globulin_V2= Globulin_V3=. TotalProt_V1=. TotalProt_V2= TotalProt_V3=. AlbGlobRatio_V1=. AlbGlobRatio_V2= AlbGl=. obRatio_V3=. BUN_V1=. BUN_V2= BUN_V3=. Creatinine_V1=. Creatinine_V2= Creatinine_V3=. BUNCreatinineRatio_V1=.&lt;BR /&gt;BUNCreatinineRatio_V2= BUNCreatinineRatio_V3=. eGFR_NoA_V1=. eGFR_NoA_V2= eGFR_NoA_V3=. eGFR_AA_V1=. eGFR_AA_V2= eGFR_AA_V3=. BEST=. AlbGlobRatio_V3=. eGFR_NoA=. _V3=. _ERROR_=1 _N_=9&lt;BR /&gt;NOTE: Invalid data for Participant_ID in line 88 1-139.&lt;BR /&gt;88 12 B M 71 &amp;lt;1.0 &amp;lt;1.0 &amp;lt;1.0 35 47 24 24 73 73 0.5 0.6 4.3 4.6 2.5 2.3 6.8 6.9 1.7 2 79&lt;BR /&gt;101 19 0.97 0.97 . . 76 78 88 91&lt;BR /&gt;Participant_ID=. Group= Sex= Age=. MPO_Ab_V1= MPO_Ab_V2= MPO_Ab_V3= ALT_V1=. ALT_V2= ALT_V3=. AST_V1=. AST_V2= AST_V3=. AlkPhos_V1=. AlkPhos_V2= AlkPhos_V3=. Bilirubin_V1=. Bilirubin_V2= Bilirubin_V3=. Albumin_V1=. Albumin_V2= Albumin_V3=.&lt;BR /&gt;Globulin_V1=. Globulin_V2= Globulin_V3=. TotalProt_V1=. TotalProt_V2= TotalProt_V3=. AlbGlobRatio_V1=. AlbGlobRatio_V2= AlbGl=. obRatio_V3=. BUN_V1=. BUN_V2= BUN_V3=. Creatinine_V1=. Creatinine_V2= Creatinine_V3=. BUNCreatinineRatio_V1=.&lt;BR /&gt;BUNCreatinineRatio_V2= BUNCreatinineRatio_V3=. eGFR_NoA_V1=. eGFR_NoA_V2= eGFR_NoA_V3=. eGFR_AA_V1=. eGFR_AA_V2= eGFR_AA_V3=. BEST=. AlbGlobRatio_V3=. eGFR_NoA=. _V3=. _ERROR_=1 _N_=10&lt;BR /&gt;NOTE: The data set WORK.TEST_SAS_COMM has 10 observations and 51 variables.&lt;BR /&gt;NOTE: DATA statement used (Total process time):&lt;BR /&gt;real time 0.00 seconds&lt;BR /&gt;user cpu time 0.00 seconds&lt;BR /&gt;system cpu time 0.01 seconds&lt;BR /&gt;memory 894.90k&lt;BR /&gt;OS Memory 32428.00k&lt;BR /&gt;Timestamp 01/10/2022 07:41:05 PM&lt;BR /&gt;Step Count 207 Switch Count 2&lt;BR /&gt;Page Faults 0&lt;BR /&gt;Page Reclaims 87&lt;BR /&gt;Page Swaps 0&lt;BR /&gt;Voluntary Context Switches 11&lt;BR /&gt;Involuntary Context Switches 0&lt;BR /&gt;Block Input Operations 0&lt;BR /&gt;Block Output Operations 288&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;89 ;;;;&lt;BR /&gt;90 RUN;&lt;BR /&gt;91 &lt;BR /&gt;92 &lt;BR /&gt;93 &lt;BR /&gt;94 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;BR /&gt;104&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 19:47:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789336#M32390</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2022-01-10T19:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate sample data for forums</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789353#M32391</link>
      <description>&lt;P&gt;As noted in the post itself, it doesn't always work and there's an alternative suggestion to try, did you try both and both failed?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 20:18:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789353#M32391</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-10T20:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate sample data for forums</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789355#M32392</link>
      <description>&lt;P&gt;I looked at the alternative, but wasn't sure how to implement it. Am I supposed to save the original data set as a txt file?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename tagset url "https://gist.githubusercontent.com/statgeek/7be124b98b37d51e7c002b85b6e9cf72/raw/ec0bc5cf8e1a3386c5cf71d2280b242b7f87dadd/SAS_tagsets_sql_reprex.sas";

%include tagset;

   ods tagsets.sql file="/folders/myfolders/class.txt";
   proc print data=sashelp.class ;
   run;
   ods tagsets.sql close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Jan 2022 20:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789355#M32392</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2022-01-10T20:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate sample data for forums</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789361#M32393</link>
      <description>Instead of generating data in the log, it creates it in an external text file instead. &lt;BR /&gt;So you update the file= portion to be the file name you want to save the code and check that file for the output instead of the log. &lt;BR /&gt;And replace data=sashelp.cass with the data set name you want to be created (data=test_sas_comm). &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jan 2022 20:55:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789361#M32393</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-10T20:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate sample data for forums</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789389#M32397</link>
      <description>&lt;P&gt;That worked. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do I simply attach the .txt file as the data set or do I need to write syntax so that it can be easily written into a data set?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, should I follow this example from &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_self"&gt;the original post&lt;/A&gt;? Are the numbers in the INPUT statement lengths?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; data WORK.CLASS(label='Student Data');
   infile datalines dsd truncover;
   input Name:$8. Sex:$1. Age:32. Height:32. Weight:32.;
 datalines;
 Alfred M 14 69 112.5
 Alice F 13 56.5 84
 Barbara F 13 65.3 98
 Carol F 14 62.8 102.5
 Henry M 14 63.5 102.5
 ;;;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 02:05:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789389#M32397</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2022-01-11T02:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate sample data for forums</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789393#M32398</link>
      <description>Usually easier to just copy/paste the text into your post, like you did above. &lt;BR /&gt;I (and other users) hate downloading files. If I downloaded a file for each question I tried to answer my downloads would get too bogged down.....&lt;BR /&gt;Remember to limit it to just a few observations though. &lt;BR /&gt;&lt;BR /&gt;You should be able to run that code successfully on your computer anyways.</description>
      <pubDate>Tue, 11 Jan 2022 02:57:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-generate-sample-data-for-forums/m-p/789393#M32398</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-01-11T02:57:46Z</dc:date>
    </item>
  </channel>
</rss>

