Data_null _; all content in this blog is original. If you reprint it, please indicate the source blog. csdn. netmyhaspl
Data _ null _; all the content of this blog is original, if reproduced please indicate the source http://blog.csdn.net/myhaspl/
I. Count FunctionsIn actual statistical applications, the number of occurrences of observed values needs to be calculated. This function can be implemented through the count function. It has three forms and functions:
Form you used
The general form of Proc tabulate: (the subject is different from the freq process. Here is the table statement, not tables)
1 proc tabulate format = options;/* format = option to change the format of all cells in the table */2 var analysis-variable-
Contents process (view dataset attributes)
1 ProcContents data=Data-Set;2Run;
Label
1 /* there are two types of labels, but cannot exceed 256 characters */ 2 label = data - set (define a label for the dataset)
NraidNraid is non-raid. The capacity of all disks is combined into a logical disk without data block entries (no block stripping ). Nraid does not provide data redundancy. At least one disk is required.JbodJbod stands for just a bunch of drives. The
Proc Printto log= "./xx1.txt" new;
Data temp;
Input a b C;
Cards
A 1 8
A 2 7
A 3 8
A 4 9
;
Run
Proc Printto log= "./xx2.txt" new;
Data temp1;
Set temp;
f= lag (c);
D= dif (c);
Run
The lag (Var) function is to move the variable in
/* Way One */
%let x=5; %let y=test; %put &x &y;
/* Mode two */
Data _null_; Call Symput (' x ', 5);
Call Symput (' y ', ' test ');
Run %put &x &y;
/* Mode three */* if there are multiple records, only the value of the first bar */
Proc SQL Noprint;
1: Macro definition in program runCall Routines -enable you-transfer information between an executing DATA step and the Macro Proces Sor.You can use the symput routine to create a macro variable, and to assign to, variable any value, is Availa ble
First, objectives
Display all rows, eliminate duplicate rows, and limit the number of rows displayed
subset rows using other conditional operators and caculated values
Enhance the formatting of query output
Using summary
SAS9.3 64bit version Installation GuideWith a new computer, after installing the original SAS9.2 , the enhanced editor has been unable to load, tried various methods and wasted the day. Helpless download SAS9.3 version, but the installation is not smooth, of course , the main problem is the JDK , referring to the Netizen's article, successfully completed the installation, another note operating system for Win7 version. Original address:http://f.dataguru.cn/thread-161588-1-1.html1, the main proc
begins, JMeter will wait as necessary until the start time is reached. At the end of each loop, JMeter checks to see if the end time has been reached and, if so, stops running, or the test continues until the iteration limit is reached. 3, the controller (controllers) JMeter has two kinds of controllers: Sampler and logic controller. The processing of these drive tests. The sampler tells JMeter to sen
One, script recording (Jmeter): Jmeter script (. jmx) is in XML format, tree structure, composed of components, using "sampler" to generate the request. Add "HTTP Proxy Server" port to "Workbench": Proxy server port, default 8080, can modify itself, but do not apply port conflict with it destination controller: the location where the recorded script is stored, the selectable items are grouped into the thread groups in the test plan: groups the request
Previous blogs have introduced the scope of components in JMeter, where the scope of the logical controller (logic Controllers) is only valid for sampler of its child nodes, and the logical controller's role is to control the order in which the samplers are executed.The JMeter provides 17 logic controllers, each of which can be divided into 2 types of use:①. Control the sequence of logical execution of the nodes during the execution of the test plan,
First, jmeter important components:1) Configure Element---config element:Used to initialize default values and variables so that subsequent samplers can be used. Configuring the initial stage processing of a component's scope, the configuration component is valid only for the branch of the test tree in which it resides, such as before any sampler in the same scope.2) predecessor processor---PRE processors:The predecessor processor does some special wo
of the hard drive transmission speed are:Ultra-ata33Ultra-ata66ultra-ata100 [ultra-ata133SATA hard Drive transfer speeds are:ultra-ata150the difference between a SCSI interface and a SAS interfaceSAS (serial Attached SCSI), serial attached SCSI, is the next generation of SCSI technology, and is the same as the current serial ATA (SATA) hard drive, using serial technology to achieve higher transmission speed and improve internal space by shortening th
1. Foreach ControllerThe foreach controller reads a series of related variables in a user-defined variable. The sampler or controller under the controller will be executed one or more times, each time reading a different value of the variable. So foreach is always used with the user Defined variables. The usage of it is described in the following instance.Control PanelParametersName: Controller namesComments: RemarksInput Variable Prefix: Enter variab
name.Comments:Number of Threads: select here 5ramp-up Period: Unit is seconds, default time is 1 seconds. It specifies the time it takes to start all threads, for example, the current setting means "Start 5 threads in 1 seconds, each thread has a 0.2-second interval." If you need jmeter to start all threads immediately, set this to 0Number of cycles: Indicates how many requests each thread executes.3. Test fragment (Testing Fragment)The test fragment element is a special group of threads on the
change during test execution.Thread Group:Name: As a literal meaning, a meaningful name.Comments:Number of Threads: select here 5ramp-up Period: Unit is seconds, default time is 1 seconds. It specifies the time it takes to start all threads, for example, the current setting means "Start 5 threads in 5 seconds, each thread has a 1-second interval." If you need jmeter to start all threads immediately, set this to 0Number of cycles: Indicates how many requests each thread executes.3. Test fragment
components
Configuring ComponentsConfiguration components (config dlement) are used to provide support for static data configuration. For example, CSV Data set config can form a local Reiki file into a data pool.
Timers (timer)Timers are used to set the wait time between operations, and the wait time is a common means of controlling the client's QPS in performance testing. The "Think Time" type in LR. JMETERP defines different types of timers, such as bean Shell Timer, Constant throughput tim
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.