Tutorial CSPro Start
Tutorial CSPro Start
Tutorial CSPro Start
Getting Started
Version 6.2.0
International Programs
Population Division
U.S. Census Bureau
Washington, DC 20233-8860
Phone: 1-301-763-1451
Fax: 1-301-763-4282
E-mail: CSPro@lists.census.gov
26 November 2015
Table of Contents
Introduction ..................................................................................................................................... 5
What is CSPro? 5
CSPro Features 5
Installation ....................................................................................................................................... 7
Hardware and Software Requirements 7
Installing CSPro 7
Uninstalling CSPro 8
Installing a Newer Version 8
CSPro Tutorial................................................................................................................................. 9
About the Tutorial 9
Exercise 1: Create a Data Entry Application 9
Step 1: Examine the Tutorial Questionnaire........................................................................ 9
Step 2: Start CSPro ........................................................................................................... 10
Step 3: Use Wizard for New Application ........................................................................... 11
Exercise 2: Create the Data Dictionary 12
Step 1: The ID Item ........................................................................................................... 12
Step 2: The Records .......................................................................................................... 13
Step 3: Create the Items.................................................................................................... 14
Step 4: Create Values for the Items .................................................................................. 15
Exercise 3: Create the Data Entry Forms 17
Step 1: Place ID and Housing Items on Form ................................................................... 17
Step 2: Add Text and Boxes .............................................................................................. 18
Step 3: Generate Forms Automatically ............................................................................. 19
Exercise 4: Enter Data 20
Step 1: Run the Data Entry Application ............................................................................. 20
Step 2: Begin to Add a Case ............................................................................................. 21
Step 3: Finish Adding a Case ............................................................................................ 22
Step 4: Modify a Case ....................................................................................................... 23
Exercise 5: Tabulate Data 24
Step 1: Create a Tabulation Application ............................................................................ 24
Step 2: Select Items to Tabulate ....................................................................................... 26
Step 3: Run the Tabulation ................................................................................................ 27
Exercise 6: Modify the Table 28
Step 1: Add Percents ......................................................................................................... 28
Step 2: Add a Universe ...................................................................................................... 30
Step 3: Change the Title Font............................................................................................ 31
Exercise 7: Add Edits to the Data Entry Application 32
Step 1: Write Logic for the Edit .......................................................................................... 32
Step 2: Compile the Logic ................................................................................................. 33
Step 3: Test the Edit .......................................................................................................... 34
Step 4: Complete the Case ............................................................................................... 35
Exercise 8: Run a Batch Application 35
Step 1: Create a Batch Application ................................................................................... 35
Step 2: Write Logic and Compile ....................................................................................... 37
Step 3: Run the Batch Application ..................................................................................... 38
Step 4: Examine the Output Report .................................................................................. 39
Index .............................................................................................................................................. 41
Introduction
What is CSPro?
The Census and Survey Processing System (CSPro) is a software package for entry, editing,
tabulation, and dissemination of census and survey data. CSPro combines the features of the
Integrated Microcomputer Processing System (IMPS) and the Integrated System for Survey
Analysis (ISSA) in a Windows environment.
CSPro lets you create, modify, and run data entry, batch editing, and tabulation applications from
a single, integrated development environment. It processes data on a case basis (one or more
questionnaires), where a case can consist of one or many data records. The data are stored in
(UTF-8) text files described by data dictionaries. CSPro contains a powerful common procedure
language to implement data entry control and edit rules.
CSPro also provides tools to view data and other text files, to view tables and thematic maps
created by CSPro, to convert IMPS and ISSA data dictionaries to and from CSPro, and to convert
ERSI shape files (maps) to CSPro map files.
CSPro was developed jointly by the U.S. Census Bureau, Macro International, and Serpro, S.A.,
with major funding from the U.S. Agency for International Development.
CSPro is in the public domain. It is available at no cost and may be freely distributed. It is
available for download at http://www.census.gov/population/international/software/cspro/.
This guide contains information about installing and uninstalling CSPro, followed by a tutorial that
will guide you through a series of exercises to help you get started using CSPro.
CSPro Features
Function and Capabilities
Data Entry - Add, modify, verify and view cases (questionnaires). Create an unlimited number of
forms (screens). Create forms bigger than the computer screen that scroll as necessary.
Create forms with fields from different physical records. Enter data from rosters. Create
consistency checks and skip patterns of unlimited complexity. Execute procedures before
and/or after field is entered. Display user-defined messages. Access multiple look-up
files. Read from and write to secondary files. Index cases to avoid duplication. Produce
operator statistics. Create a stand-alone data entry environment.
Batch Editing - Identify and report structure, value, and consistency errors in questionnaire data.
Change (impute) data values based on simple or complex methods. Produce summary or
detailed reports of errors and corrections. Access multiple look-up files. Read from and
write to secondary files.
Tabulation - Define and select variables to tabulate. Select the universe of tabulation. Tabulate
values and weights. Format tabulations for viewing or printing. Save tabulations in
several formats. Copy tables to spreadsheets or word-processing documents. Produce
tables by geographic area. Map results by geographic area.
Data Dictionary - Define simple or complex hierarchical file organization. Define hierarchical
levels, identification items, records, items (fields or variables), value sets (categories of
values), and values. Create descriptive notes for documentation. Define multiply-
occurring items and define relationships between multiply-occurring records and items.
Produce reports of file organization.
Text Viewer - View, but not change, any data or other text file. The file can be of any length and
may contain lines up to 32,000 characters wide. Find text in the file. Identify the line and
character position in the file. Copy tabular reports to spreadsheet programs. Copy, save,
or print selected parts of the file.
Table Viewer - View, but not change, a file containing the results of CSPro tabulations. Copy all
or parts of tables to word processing programs. Print all or parts of tables. Save all or
parts of tables in HTML (for Internet), RTF (for word processors), or TAB delimited (for
spreadsheet) formats. Create and view thematic maps of selected cells.
Map Viewer - Generate a thematic map of a selected variable at a selected geographic level.
Combine two variables as a difference, percent change, ratio or percent ratio. Vary the
number of intervals, size of the intervals, colors, titles and legends. Change lowest
geographic level shown. Copy the maps to a word processor. Save a map in GIF (for
Internet) format.
Table Retrieval - Retrieve and display tables and other previously prepared documents from a
large database of documents based on geography, subject matter, and title.
Frequencies - Produce frequency distributions of selected variables and records in data files.
Sort Data - Sort data cases based on case identification. Data files may be as large as 2 GB.
Export Data - Export selected data variables to delimited (tab, comma, semicolon), SAS, SPSS,
Stata, R, or CSPro formatted data files.
Reformat Data - Reformat data from one file format to another. The formats of both the input and
output files are defined by data dictionaries.
Compare Data - Compare two data files and identify the differences. A common data dictionary
defines the format of both data files.
Concatenate Data - Concatenate (join end-to-end) two or more data (or other text) files.
Table Retrieval Setup - Create and modify a set of tables and other documents organized by
geographic area, subject and title for use by CSPro Table Retrieval tool.
Convert Dictionaries - Convert IMPS and ISSA data dictionaries to CSPro data dictionaries, or
convert CSPro dictionaries to IMPS or ISSA dictionaries. Convert ISSA dictionaries to
CSPro data dictionary and data entry forms.
Convert Shape to Map - Convert ESRI shape files to CSPro map files. Thin the number of
coordinates in the map.
Pack Application - Pack all files that make up an application into a single ZIP file for transfer to
another computer.
Installation
Hardware and Software Requirements
The minimal configuration:
Pentium processor
512MB of RAM
SVGA monitor
Mouse
100MB of free hard drive space
Microsoft Windows XP, Vista, 7, 8, or 10
Installing CSPro
If you are installing cspro61.exe, which you downloaded from our web site:
Double-click on the file.
Click OK. The setup process takes you through a series of dialog boxes that
prompt you for setup information.
Selecting components for installation:
CSPro allows you to select which components of the system you want to install. During the
installation you will see the following component screen:
Uninstalling CSPro
The following is based on a Windows XP setup; your steps may vary if using a different operating
system.
From the Start button on the taskbar, select Settings Control Panel.
Select Add or Remove Programs.
From the list of currently installed programs, click on CSPro 6.2.
Click the Remove button.
At the prompt, click OK to confirm that you want to remove CSPro 6.2. The uninstall
program will remove all registry entries and CSPro system files. It will not remove any
applications or other files you have created.
When the files are removed, the installation program indicates that the process is
complete. Click Finish.
If you have CSPro 6.1 installed on your computer, you can install CSPro 6.2 without affecting the
CSPro 6.1 installation. When you have finished your conversion of applications to CSPro 6.2, you
can then uninstall CSPro 6.1.
Please note that due to internal changes within CSPro 6.2, once files have been loaded in CSPro
6.2, you may no longer be able to load them in previous versions of CSPro.
If you are updating a previous version of CSPro 6.2, the new version will replace the older
version. When the installation program prompts you to select the type of installation, select
Repair and press the Next button. The installation program will copy the updated version of
CSPro 6.2 over top the older version. It will not change any applications or other files you have
created.
CSPro Tutorial
About the Tutorial
The tutorial will guide you through a series of exercises to help you get started using CSPro.
The exercises in the tutorial require no special knowledge other than a basic familiarity with
Windows. The exercises are divided into very short steps. Each step normally takes only a few
minutes.
There are eight exercises. You create files in each exercise that are used in later exercises.
Exercises 1 through 6 show you simple data entry and cross tabulation. Exercises 7 and 8 show
you the CSPro language for editing.
First, create a new folder for all files you will use in this tutorial.
Open Windows Explorer
Create a folder named "c:\CSProTutorial".
We will use the Wizard to create the files that the data entry application requires.
Click on the radio button that says Create a new application. You should see
the following dialog box.
Select Data Entry Application.
Press OK.
In the file open dialog box:
Enter "MyEntry" as the file name for the application.
Make sure you are located in the folder you created for these exercises
(c:\CSProTutorial).
Press Create.
The next screen will ask you select the Input Dictionary.
Change the name to "c:\CSProTutorial\MyDict.dcf".
Press OK.
You have created a new data entry application
We will make our dictionary first, then our forms. CSPro automatically generates a skeleton data
dictionary. We will change it and add our own information.
Every data dictionary requires at least one Id itemyou will often have more than one. An ID
(identification) item is a unique number (or series of numbers) that allows CSPro to distinguish
between individual questionnaires. CSPro requires at least one ID item.
Click on (Id Items), then on the + next to it to open the tree on the left side of the
screen. You will see that CSPro has created one id item. On the right side of the screen
you will see in the Len column that this item has the length of one character. We will
make this four characters.
Right-click on MyDict identification", below (Id Items) on the tree, then select
Modify Item.
Press the Enter key three times until the length is highlighted in blue.
Type "4", then Enter, then click on the white space below this line to finish
making this change.
When you have completed this step the screen should look something like:
By default, CSPro creates one record. Our tutorial application will have two records, a Person
Record and a Housing Record. We will change the one record that CSPro generated to Person
Record, then add the Housing Record.
First, we will change the one record that CSPro generated to Person Record:
Right-click on MyDict record on the tree on the left, then select Modify Record.
Type "Person record" as the Record Label, then press Enter.
Type "PERSON_RECORD" as the Record Name, then press Enter.
Press Enter to leave the Type value as is.
Press N to change Required from Yes to No, then press Enter. Our application
can have households with no people, so Person records are not required for us.
Our application can have up to 10 people in a household, so type "10", then
Enter, to change Max and complete the changes to this record.
Next we will add the Housing Record:
Right-click on Person Record on the tree on the left, then select Add Record.
Type "Housing Record" as the Record Label, the press Enter.
Press Enter to accept HOUSING_RECORD as the Record Name.
Press Enter to leave the Type value as is.
Press Enter to leave Required Yes.
Press Enter to leave Max 1 and start a new record.
Press Esc on the blank record to finish making these changes.
When you have completed this step the screen should look something like:
First, we will create the items Age, Sex, and Marital Status in the Person record.
Right-click on Person Record on the tree, then select Add Item.
Enter "Age" as the Item Label, then press Enter.
Press Enter to accept AGE as the Item Name.
Press Enter to accept the Start position.
Type "2" then Enter to indicate that Age takes up two characters. This is because
in our application we have chosen to enter ages only up to 99.
Press Enter six times to accept the rest of the default attributes for Age.
Enter the attributes for the Sex item. After you type in the label and name, you
can keep pressing Enter to accept all the other default attributes.
Enter the attributes for the Marital status item. After you type in the label and
name, you can keep pressing Enter to accept all the other default attributes.
Press Esc to finish creating the items.
Next, we will create the Type household and Type roof items in the Housing record.
Right-click on Housing Record, then select Add Item.
Enter the attributes for the Type Household item. After you type in the label and
name, you can keep pressing Enter to accept all the other default attributes.
Enter the attributes for the Type Roof item. After you type in the label and name,
you can keep pressing Enter to accept all the other default attributes.
Press Esc to finish creating the items.
When you have completed this step the screen should look something like:
Value sets define what data values we expect for a data item. Value sets are used to define
ranges of valid values during data entry and to define categories for cross tabulation.
First, we will create a value set for Age. We will use ten year age groups.
Click on the + next to Person record to make sure its items are showing on the
tree.
Right-click on Age, then select Add Value Set.
Press Enter Twice to accept the default Value Set Label and Value Set Name.
The cursor will drop to the line below into the Value Label column.
Type "0 to 9" for the Value Label, then Enter.
Type "0" as the From value, then Enter.
Type "9" as the To value, then Enter twice, skipping over the Special column.
Type "10 to 19" for the next Value Label, then Enter.
Type "10" as the From value, then Enter.
Type "19" as the To value, then Enter twice, skipping over the Special column.
Continue in this fashion until you have reached 90-99.
IMPORTANT NOTE: Generally it is a good idea to make the data entry forms look just like the
questionnaire itself. We can easily do this in CSPro. However, in order to show you more features
and save time, we will not do so.
First, we will add our own line of text at the top of the screen.
Click on the toolbar. A small toolbar will appear floating over the screen.
Click on the box second to the right of the floating toolbar.
Position the mouse pointer above and to the left of Id item.
Left-click and hold the button down.
Drag the mouse toward the right and down.
When the box looks the way you want it, release the mouse button.
Click again on the main toolbar to close the floating toolbar.
When you have completed this step the screen should look something like:
Continue to the next step.
CSPro allows you to generate a complete set of forms, which include all the items in the data
dictionary, in one operation. We will use this feature now in order to save time.
Select Edit/Generate Forms from the main menu, or press Ctrl-G.
CSPro will warn you that the forms you made in steps 1 and 2 will be replaced.
Click on Yes to continue.
The Drag Options dialog box will appear. Make sure the Roster Options has
Horizontal selected. Click on OK to close the Drag Options dialog box.
Note that the tree on the left shows that you now have three forms. Open up the
entire tree by clicking the + next to any part of the tree.
Click on PERSON_RECORD_FORM on the tree. You will see the roster that
CSPro created for you.
Click around on the tree on the left as you like to explore the forms that CSPro
created.
VERY IMPORTANT: Now save the work you have done so far. Select File/Save
from the main menu, or click on the toolbar.
When you have completed this step the screen should look something like:
This completes this exercise. Continue to the next exercise.
Your data entry application is now ready to run! CSEntry is the name of the program that runs this
application, allowing you to key in data.
Run CSEntry by clicking on the toolbar, or pressing Ctrl-R. (CSPro will ask
you to save your work if you havent already done so. Click Yes.)
CSEntry will ask you to select a data file. The data we key will go into this file.
Change to the folder you created for this set of exercises, "c:\CSProTutorial".
Type "MyData.dat" for the file name, then press Enter.
CSEntry will ask if you want to create a new file. Click Yes.
CSEntry will ask for your Operator ID. You may type in anything you like.
The first data entry form will appear with the cursor ready for you to begin
entering data.
When you have completed this step the screen should look something like:
Continue to next step.
We will now type in the data for our first case (questionnaire). We will use a fictitious family of
four.
Type "1" then Enter to fill in the id item. The next form will appear, showing the
person roster.
Type "48" in the Age field. The cursor will move to the Sex field.
Type "3" in the Sex field. CSEntry will tell you this value is out of range, because
it is not in the value set for Sex you created in your data dictionary.
With the OUT OF RANGE message still showing, type "1". The message will go
away and the cursor will move to the Marital Status field.
Continue typing in data for the family as shown below.
Tips:
You can move backward to the previous field using Shift-Tab, left arrow or up
arrow.
You can move forward to the next field using Enter, Tab, right arrow or down
arrow.
You can change a field by simply typing a new number into it.
You can erase a field using the space bar.
Continue to next step.
We will now tell the roster that we have finished entering people.
Hold down the Ctrl key.
Press the slash key (/) on the numeric keypad. The next form will appear on the
screen. If you have trouble finding this key combination, which could be the case
on some laptops, you can select Navigation/End Group from the main menu.
Next we will type in the household form and end the case.
Type "1" in the Type Household field.
Type "1" in the Type Roof field.
CSEntry will ask us to accept the case. At this point you can select No and go
back and make changes to the data in the case if you like. If you are satisfied
that the data are correct, press Enter or select Yes.
CSEntry will now show the first form again, with the cursor ready for you to type
in another case. We will now stop adding cases. Click the on the toolbar, or
press Esc or Ctrl-S, or select Mode/Stop from the main menu.
When you have completed this step the screen should look something like:
Continue to next step.
Now we realize that the first person in the household is really 45 years old and not 48 as we
typed in. We will go back into the data and change this value.
Click on on the toolbar, or press Ctrl-M to enter Modify mode. You should
see the first form, with the value 1 showing for Id item.
Press the PgDn key to advance to the next form.
Type "45" in the Age field.
Press F12 to indicate that you have finished making your changes.
The screen will now look something like the picture below. CSEntry will ask you
to accept the case, like it did in the previous step. Select Yes.
CSEntry will save your changes and exit from Modify mode.
Close CSEntry by clicking on the X in the top right corner, or selecting File/Exit
from the main menu.
This completes this exercise. Continue to next exercise.
In this exercise we will perform simple cross tabulations of the data you entered in the previous
exercise.
If you still have your data entry application open from previous exercises, close it now. Select
File/Close from the main menu. CSPro may prompt you to save changes. Select Yes.
We will now create a cross tabulation application using the Wizard, as we did in Exercise 2.
When you have completed this step the screen should look something like:
Continue to next step.
We will create a tabulation of Age by Sex. Age will appear as the rows and Sex as the columns.
Click on the + next to Person record to make sure its items are showing on the tree.
Drag and drop Age from the tree to the left side of the table. (Click on Age and hold the
mouse button down while you move the mouse to the side of the table then release the
mouse button.) The drop point should be in the white space next to one of the gray boxes
along the side.
Drag and drop Sex from the tree to the top of the table. (Click on Sex and hold the
mouse button down while you move the mouse to the top of the table then release the
mouse button.) The drop point should be in the white space just under one of the gray
boxes along the top.
Tips:
The item you drag from the dictionary tree will become either a row item or a column item
depending on where you drop it. Imagine a diagonal line from the top left to the bottom
right of the table. An item dropped on the left/under that line becomes a row item. An item
dropped on the right/above that line becomes a column item.
You can remove an item from the table by clicking on any of its associated labels
then dragging and dropping it back to the dictionary tree.
When you have completed this step the screen should look something like:
Continue to next step.
We are now ready to run the tabulation. We will use the data file you created in the previous
exercise.
Run the tabulation by clicking on the toolbar, or pressing Ctrl-R. If CSPro
prompts you to save the changes, click on Yes.
CSPro will ask you for the data file(s) to tabulate. Select MyData.dat. Make sure
the dialog box is set to the folder you created for these exercises,
"c:\CSProTutorial".
The tabulated numbers will now appear in the table. Thats all there is to it!
When you have completed this step the screen should look something like:
This completes this exercise. Continue to next exercise.
In this exercise we will modify the table you created in the previous exercise. We will begin by
adding percents to the columns next to the values for the Sex variable.
Right-click on the word "Sex" on the table, just above the word "Male".
Select Tally Attributes (Sex) from the right-click menu.
In the list on the left of the dialog box marked Available, click on Percents and
then click the Add--> button. You should now see Percents listed in the list on
right of the dialog box marked Selected.
Click OK. You should see three new columns on the table for the percents.
Run the tabulation by clicking on the toolbar, or pressing Ctrl-R. When
CSPro prompts you to save the changes, click on Yes.
Select MyData.dat as the data file to tabulate, as in the previous exercise.
When you have completed this step you should see a table that looks something like:
We will now add a Universe to our table. A Universe is a "filter", or a way of restricting the table to
a subset of the data records that meet a certain condition. In this step we will run the table for
married people.
Right-click anywhere on the table.
Select Tally Attributes (Table) from the right-click menu.
In the section of the dialog box marked Universe, type "marital_status = 1".
IMPORTANT NOTE: Be sure to type this correctly. Otherwise, you may see the message "Invalid
Universe Syntax".
Click OK.
Run the tabulation by clicking on the toolbar, or pressing Ctrl-R. When
CSPro prompts you to save the changes, click on Yes.
Select MyData.dat as the data file to tabulate, as before.
When you have completed this step you should see a table that looks something like the
following. Notice that the counts are lower than in the previous step because we are not counting
unmarried people.
CSPro gives you great control over the format of your tables. As an example, in this step we will
change the font of our tables title to make it bigger.
Right-click on the title "Table 1. Age by Sex" at the top of the table.
Select Format (Title) from the right-click menu.
In the section of the dialog box marked Font and Color click on the Change
button.
In the Font dialog box that appears, change the Size from 12 to 16.
Click OK to close the Font dialog box.
Click OK to close the Format (Title) dialog box.
When you have completed this step you should see that the title is now larger.
We will now return to the data entry application. We will introduce a check to make sure that
married people are at least 12 years old. In our data entry application, we will perform this check
immediately after the keyer enters the marital status.
If you still have your cross tabulation application open from previous exercises,
close it now. Select File/Close from the main menu. CSPro may prompt you to
save changes. Select Yes.
Open the data entry application we created earlier. Click on on the toolbar,
or select File/Open from the main menu. Click on the application name,
MYENTRY.ENT, and click on open.
Get ready to write logic by clicking on the toolbar, or pressing Ctrl-L or
selecting View/View Logic from the main menu.
Press Ctrl+T to show names instead of labels in the forms tree.
Click on the + next to PERSON_RECORD_FORM then click on the + next to
PERSON_RECORD000 then click on MARITAL_STATUS. The frame on the
right hand side of the screen should show PROC MARITAL_STATUS at the top.
Note that PROC is short for procedure. We put our logic in the procedure for
MARITAL_STATUS because we want it to execute immediately after the
operator keys this field.
Type in logic exactly as you see in the picture below.
You have typed logic in the CSPro language. Like all procedural languages, the system must
check to make sure there are no syntax errors. This is called compiling.
Click on MYDICT_FF in the forms tree to show all the CSPro logic.
Compile the logic by clicking on the toolbar, or pressing Ctrl+K or selecting
File/Compile from the main menu.
If you typed the logic correctly, you will see Compile Successful in the Compiler
Output under the logic.
If you see a dialog box that says Compile Failed, you have typed something
incorrectly. A red circle will appear in the margin indicating the approximate
location of the error. The Compiler Output tab at the bottom of the screen will
show you an error message to help you determine the error. Check very carefully
to make sure you typed in exactly what was shown in the previous step.
When you have completed this step the screen should look something like:
Continue to next step.
We are now ready to run the data application and make sure our logic is working properly.
Run CSEntry by clicking on the toolbar, or pressing Ctrl-R.
CSPro will ask you to save the changes. Click Yes.
CSEntry will ask you to select a data file. Type "MyData.dat" for the file name, if it
is not already there, then press Enter.
Type in any Operator ID.
Click on on the toolbar, or press Ctrl-A to enter Add mode. The first form will
appear with the cursor on Id Item.
Type "2" then Enter to fill in the id item. The next form will appear, showing the
person roster.
Type "10" in the Age field.
Type "1" in the Sex field.
Type "1" in the Marital Status field.
Your error message should appear on the screen, as shown below.
Continue to next step.
We will finish entering data for the second case, including the error condition, so that we will be
able to test that condition in the following exercise.
Press F8 to clear the message.
Hold down the Ctrl key and press the slash key (/) on the numeric keypad. The
next form will appear on the screen.
Type "1" in the Type Household field.
Type "1" in the Type Roof field.
CSEntry will ask us to accept the case. Select Yes.
Click the on the toolbar, or press Esc or Ctrl-S, or select Mode/Stop from
the main menu.
Close CSEntry by clicking on the X in the top right corner, or selecting File/Close
from the main menu.
This completes this exercise. Continue to next exercise.
Click on Next.
The next screen will ask you select the data dictionary. Enter
"c:\CSProTutorial\MyDict.dcf" if it is not already there, then click Next.
You should see the checkered flag. Click Finish and youre done!
When you have completed this step the screen should look something like:
Continue to next step.
Your batch application is now ready to run. CSBatch is the name of the program that runs this
application. We will use the data file you created in the previous exercise.
Run CSBatch by clicking on the toolbar, or pressing Ctrl-R.
CSPro will ask you to save the changes. Click Yes.
CSBatch will ask for some data file names. Click in the empty box next to Input
Data File. Type in "MyData.dat" and click OK.
CSBatch will now run your program.
The output report will appear in the CSPro Text Viewer. It will look something like:
The first several lines show file names and the date and time of the run.
CONGRATULATIONS! You have completed the CSPro tutorial. We hope you are now ready to
try creating and running your own applications. Please refer to our Users Guides for more details.
You can access them from CSPro simply by selecting Help/Help Topics from the main menu of
any CSPro module.
Index
A R
About the Tutorial 9 Required Hardware and Software 7
Run the Batch Application 38
Running the Application Wizard 10
C
Compile the Logic 33
Create a Batch Application 35
T
CSPro Features 5 Tutorial 9
I U
Installing a Newer Version 8 Uninstalling CSPro 8
Installing CSPro 7
W
N What is CSPro? 5
Naming Application Files 11 Write Logic and Compile 37