When I run this code by submitting a SAS program file, using the Get-Content cmdlet, the log does not show me the expected sequence of source statements for each step followed by the log messages related to that step. Instead, all the source statements appear at the top of the log – with no line feeds – and then the log messages for each step appear one after another, with no source code. And the line breaks appear at random positions of the text, not at statement boundaries. I tried doing options source source2; but this doesn't affect the log content.

%let domain = HO; data ho_hos (keep=subjid studyid usubjid
1 ! hoterm hostdtc hoendtc coval EXICUYN visit) ho_icu (keep=subjid studyid usubjid h
oterm hostdtc hoendtc visit coval);
1 ! length subjid $20 studyid $11 usubjid $19 ; set raw_cdms.extrt(DROP=studyid); subjid = subject; studyid=project;

NOTE: DATA statement used (Total process time):
real time 0.01 seconds
cpu time 0.00 seconds

NOTE: DATA statement used (Total process time):
real time 0.02 seconds
cpu time 0.03 seconds

Any idea what is causing this result and why the log text isn't ordered in the normal way ?