11 data professions; 12 input Name $ 1-17 Gender $ 19 Occupation $ 21-33; 13 datalines; NOTE: The data set WORK.PROFESSIONS has 5 observations and 3 variables. NOTE: DATA statement used (Total process time): real time 0.07 seconds cpu time 0.00 seconds
What shows 11 12 13 numbers ?
@Daily1 wrote:
SAS Code
DATA Example1; OldPrice=10; RUN;Output
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;7273 DATA Example1;74 OldPrice=10;75 RUN;NOTE: The data set WORK.EXAMPLE1 has 1 observations and 1 variables.NOTE: DATA statement used (Total process time):real time 0.01 secondscpu time 0.01 seconds7677 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;89SAS Code line no. and output code no. are different why?
This happens because a lot of code is added automatically by either SAS Studio or Enterprise Guide. The options NOSOURCE and NONOTES suppress displaying the following code, so your log will start at line 72, as line 71 of the actually submitted code will contain the reset of the above system options.
Please use a DESCRIPTIVE SUBJECT LINE.
Using just "SAS" in a forum devoted exclusively to SAS is an outright declaration of mental bankruptcy.
I therefore corrected your post.
The numbers are log line numbers, used to orientate yourself in the log. Log messages will often refer to these numbers ("invalid numeric data in line ....").
@Daily1 wrote:
11 data professions; 12 input Name $ 1-17 Gender $ 19 Occupation $ 21-33; 13 datalines; NOTE: The data set WORK.PROFESSIONS has 5 observations and 3 variables. NOTE: DATA statement used (Total process time): real time 0.07 seconds cpu time 0.00 secondsWhat shows 11 12 13 numbers ?
SAS Code
DATA Example1;
OldPrice=10;
RUN;
Output
@Daily1 wrote:
SAS Code
DATA Example1; OldPrice=10; RUN;Output
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;7273 DATA Example1;74 OldPrice=10;75 RUN;NOTE: The data set WORK.EXAMPLE1 has 1 observations and 1 variables.NOTE: DATA statement used (Total process time):real time 0.01 secondscpu time 0.01 seconds7677 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;89SAS Code line no. and output code no. are different why?
This happens because a lot of code is added automatically by either SAS Studio or Enterprise Guide. The options NOSOURCE and NONOTES suppress displaying the following code, so your log will start at line 72, as line 71 of the actually submitted code will contain the reset of the above system options.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.