SAS Certified Adv Programmer 130 Questions (36)
Which one of the following SAS programs uses the most amount of memory resources for output buffers?
A.
data new(bufsize = 1000 bufno = 5); set temp; run;
B.
data new(bufsize = 1000 bufno = 2); set temp; run;
C.
data new(bufsize = 2000 bufno = 3); set temp; run;
D.
data new(bufsize 4000 bufno = 1); set temp; run;
Topics:
SAS Adv Questions |
6 Comments »
C
Could someone explain the ans, please.
C: 3 buffer are used to send the data to the memory and each buffer load per transfer 2000bytes
buf size * buf no. = 2000 * 3= 6000
When a SAS data library is processed sequentially, the unit of I/O transfer, in bytes, is equal to BUFSIZE*BUFNO.
A 5000
B 2000
C 6000
D 4000?
bufno
Increasing the number of buffers might not affect performance under the Windows and Unix operating environments… By default, the Windows and Unix operating environments read one buffer at a time…
Can they test something useful?