Professional Documents
Culture Documents
Acl Scripts 4 Beginners
Acl Scripts 4 Beginners
www.nyaug.com
ACL
Milan Shah
ACL
Support Options
This
procedure is used to identify
Method
URL data errors in the file or data. It should
Notesbe performed on
Self-Help/
Search the ACL Knowledge Base for a
https://www.acl.com/supportcenter/search.aspx
Online
specific issue.
Online
Online
Online
Telephone
https://www.acl.com/supportcenter/ol/
https://www.acl.com/supportcenter/forums/
https://www.acl.com/supportcenter/contact_support/support_reque
st.aspx
https://www.acl.com/supportcenter/contact_support/global_support
_contacts.aspx
604.669.4997
WebEx/
Online
https://www.acl.com/supportcenter/kb/article.aspx?ID=5440
Prepared by:
Milan Shah
New York ACL Users Group
www.nyaug.com
2/10
1/21/2010,5:14 PM
Step
1.
2.
3.
4.
5.
Action
Select
Select
Select
Choose
Click
Menu Item
Data
Verify
Main
Field Name
OK
Notes
Count
This procedure is used to assess the completeness of the data set that you are analyzing using
ACL.
Step
1.
2.
3.
4.
5.
6.
Action
Select
Select
Select
Double
Click
Click
Type
Menu Item
Analyze
Count Records
If
Desired Field in
Available Fields Box
<> Button
"0"
7.
Click
OK
8.
9.
Click
Click
OK
OK
Prepared by:
Milan Shah
New York ACL Users Group
www.nyaug.com
Notes
3/10
1/21/2010,5:14 PM
Step
1.
2.
3.
Action
Select
Select
Select
4.
Click
Menu Item
Analyze
Total Fields
Desired Field in Name
Box
OK
Notes
Statistics
This procedure is used to compile statistics such as: range, positive, negative, zero, totals,
absolute value and 5 highest and lowest values in the data set.
Step
1.
2.
3.
4.
5.
6.
Action
Select
Select
Select
Select
Choose
Select
7.
8.
9.
Select
Enter
Click
Prepared by:
Milan Shah
New York ACL Users Group
www.nyaug.com
Menu Item
Notes
Analyze
Statistical
Statistics
Main
Field Name
Desired Field in Name
Box
More Tab
# of High/Low
Enter 10 for a Top Ten List
OK
4/10
1/21/2010,5:14 PM
Step
1.
2.
3.
4.
5.
6.
Action
Select
Select
Choose
Choose
Choose
Choose
Menu Item
Analyze
Stratify
Field Name
Minimum
Maximum
Intervals
7.
Click
OK
Notes
Classify
This procedure is used to count the number of records for each unique value of a character
field and computes a subtotal for the selected numeric fields for each of the unique values.
Step
1.
2.
3.
4.
5.
Action
Select
Select
Choose
Choose
Click
Prepared by:
Milan Shah
New York ACL Users Group
www.nyaug.com
Menu Item
Analyze
Classify
Field Name
Subtotal Fields
OK
Notes
Optional
5/10
1/21/2010,5:14 PM
Step
1.
2.
3.
4.
5.
Action
Select
Select
Choose
Choose
Click
Menu Item
Analyze
Summarize
Field Name
Subtotal Fields
OK
Notes
Optional
Cross-Tabulate
This procedure is used to analyze character fields by reorganizing them in rows and columns.
The cross-tabulate function counts the number of records in a table which:
counts each row value within each column value,
subtotals numeric fields for each row value within each column value, and
totals the amounts for each column value.
Step
1.
2.
3.
4.
5.
6.
7.
Action
Select
Select
Choose
Choose
Choose
Choose
Click
Prepared by:
Milan Shah
New York ACL Users Group
www.nyaug.com
Menu Item
Analyze
Cross-Tabulate
Rows
Columns
Subtotal Fields
Include Count
OK
Notes
Optional
6/10
1/21/2010,5:14 PM
Step
1.
2.
3.
4.
5.
Action
Select
Select
Select
Choose
Click
Menu Item
Analyze
Statistical
Profile
Profile Fields
OK
Notes
Reporting
This procedure is used to design and print reports.
Step
1.
Action
Format
2.
3.
4.
5.
6.
Design
Select
Select
Select
Enter
7.
Click
Prepared by:
Milan Shah
New York ACL Users Group
www.nyaug.com
Menu Item
Notes
Format the view to suit your
requirements.
Report Layout
Data
Report
Main
Header, Footer and
Other Information
OK
7/10
1/21/2010,5:14 PM
Prepared by:
Milan Shah
New York ACL Users Group
www.nyaug.com
8/10
1/21/2010,5:14 PM
Top 3 Report (1 of 2)
This ACL script opens a table, sorts it in descending order based on the frequency of
occurrences based on the number of sales records and products a Top 3 Report.
Step
1.
2.
Action
Import
Data
Verify Data
in all Fields
Menu Item
Data/Verify
3.
Create 5
New
Folders
File/New/Script
4.
Create
New Script
File/New/Script
5.
Script
6.
7.
Script
Script
Line 2
Line 3
8.
9.
10.
Script
Script
Script
Line 4
Line 5
Line 6
Prepared by:
Milan Shah
New York ACL Users Group
www.nyaug.com
Notes
Use the Data Definition Wizard
Select and VERIFY all fields to identify
any format or data integrity issues.
A_Source_Data
B_Scripts
C_Deliverables
D_Logs
Z_Temp_Tables
Name it: Top_3_Clubs
9/10
1/21/2010,5:14 PM
Top 3 Report (2 of 2)
This ACL script opens a table, sorts it in descending order based on the frequency of
occurrences based on the number of sales records and products a Top 3 Report.
Step
11.
12.
Action
Script
Script
Menu Item
Line 7
Line 8
13.
Script
Line 9
14.
15.
16.
Script
Script
Script
Line 10
Line 11
Line 12
17.
Script
Line 13
18.
19.
Script
Script
Line 14
Line 15
OPEN OrgNameTemp2
OPEN
Top_%RankCount%_by_Org_Name
20.
21.
Script
Line 16
OPEN OrgNameTemp2
OPEN
Top_%RankCount%_by_Org_Name
22.
23.
24.
Script
Prepared by:
Milan Shah
New York ACL Users Group
www.nyaug.com
Line 17
Notes
OPEN "OrgNameTemp1"
INDEX ON COUNT D TO "ACLQSTMP"
ISOLOCALE root
SORT ON COUNT D TO
"OrgNameTemp2" OPEN ISOLOCALE
root
OPEN "OrgNameTemp2"
SET FOLDER /C_Deliverables
EXTRACT RECORD TO
"Top_%RankCount%_by_Org_Name"
OPEN FIRST %Rankcount%
OPEN
"Top_%RankCount%_by_Org_Name"
10/10
1/21/2010,5:14 PM