toc exit using upstop a substitute for stop optimization use the buttons to move around the training...
TRANSCRIPT
TOC Exit
Using UPSTOP
A Substitute for Stop Optimization
Use the buttons to move around
the training package
First Page Pre Page Next Page Last Page
TOC Exit
2Using UPSTOP - 2002
Table of Contents
Intro UPSTOP UP* Programs UPSTOP Uses BUILDTXT Overview: Using UPS
TOP
Example 1: Create Stops For Summer School III For Summer School Students
Example 2: Creating Stops For One School From Another
Example 3: Creating Stops For A New School
Using UPSTOP - 2002 3
TOC Exit
Introduction
UPSTOP UP* Programs Uses BUILDTXT
Using UPSTOP - 2002 4
TOC Exit
UPSTOP
• Creates stops from text file input
• You are familiar with UPSTU– Creates student records from text file
• Upstop does the same for stops!
• One member of a family of programs
Using UPSTOP - 2002 5
TOC Exit
Transportation UP* Programs
• Programs that create TIMS transportation data from text file input– Upstop: creates stops– Uprun: creates runs with no stops– Upruntrn: puts stops on runs– Upstopruntrn: creates stops and runs and places
stops on runs
Using UPSTOP - 2002 6
TOC Exit
UPSTOP Uses
• Create stops for students rising to a different school
• Create stops for summer school
• Create stops for a new school
Using UPSTOP - 2002 7
TOC Exit
BUILDTXT
• UPSTOP requires use of BUILDTXT.EXE– A specialized, Edulog text editor– Produces specially formatted text files read by
transportation UP* programs– Found in \elt\exe\report
Using UPSTOP - 2002 8
TOC Exit
BUILDTXT
• Requires text input
• Buildtxt can import:– TIMS stop or student reports– Other text files
• List of summer school students with summer school code and student address
Using UPSTOP - 2002 9
TOC Exit
BUILDTXT
• Buildtxt can also be used as a field-by-field text editor for manual data input or modification
Using UPSTOP - 2002 10
TOC Exit
Overview
Using UPSTOP
Using UPSTOP - 2002 11
TOC Exit
Overview: Using UPSTOP• UPSTOP is run from a batch file
• The batch file sets switches and defines the input file.
– Switches: (0 = no, 1 = yes) • Permanent
• Override address matching
– Input file name format: logical directory:filename• Example – sta:upstop.dat
Using UPSTOP - 2002 12
TOC Exit
Overview: Using UPSTOP
1. Create a report containing stop information
– Usually a TIMS stop or student report– Minimum info: school code and stop
address/corner– Position of fields in record not important
Using UPSTOP - 2002 13
TOC Exit
Overview: Using UPSTOP
2. Open the report file in wordpad
3. Use wordpad to replace the school code– Search for: old school code <sp> <sp> <sp>– Replace with: new school code <sp> <sp> <sp>– Check “Match whole word only”
Using UPSTOP - 2002 14
TOC Exit
Overview: Using UPSTOP
4. Import file into BUILDTXT program– You define position of school code and
address in input file when you import
5. Export file from BUILDTXT as upstop.dat
6. Run UPSTOP using upstop.dat as input
Using UPSTOP - 2002 15
TOC Exit
Overview: Using UPSTOP7. Check error files
– Located in \users\username\tmp– Upstp1.err: contains nature of errorLine School Error Error15 330 Stop is not address matched Street one not matched
OAKLAND AV EX & OLD SECREST AV 34 330 Stop is not address matched Street two not matched
SETTLEMYRE RD & ABEE ST DX 58 330 Stop is not address matched Street two not matched
HOLLAR ST & MOUNTAIN VI ST DX 59 330 Stop is not address matched Street one not matched
POTEAT DR DX & WOODSIDE DR
Using UPSTOP - 2002 16
TOC Exit
Overview: Using UPSTOP
– Upstp2.err: input file containing only errors• Fix errors and reuse for second run of UPSTOP
330 OAKLAND AV EX & OLD SECREST AV / / / /
330 SETTLEMYRE RD & ABEE ST DX / / / /
330 HOLLAR ST & MOUNTAIN VI ST DX / / / /
330 POTEAT DR DX & WOODSIDE DR / / / /
Using UPSTOP - 2002 17
TOC Exit
Overview: Using UPSTOP
8. Rebuild keys in EMU
Using UPSTOP - 2002 18
TOC Exit
Example 1
Create Stops For Summer School 111 For Summer School Students
Using UPSTOP - 2002 19
TOC Exit
Example 1
1. Run Student Report for BUILDTXT inputa) Report Module, User Defined Reports
b) All Student and Transportation
c) Copy “Standard all Students”
d) Name “Student Locations for UPSTOP”
e) Select the new report
Using UPSTOP - 2002 20
TOC Exit
Example 1
f) Remove existing filters
g) Add filter to include only students for desired school• Field = student School
• Operator = exactly matches
• Value = 111
h) Remove existing output fields
i) Add “student School” and “student Residence” to output fields
j) Sort order not important
Using UPSTOP - 2002 21
TOC Exit
Example 1
k) Pick output type: Text file with fixed record lengths
l) Define target directory and name for file• Name must begin with “QMF”
• Maximum of 8 characters
• No “.”
• No extension (txt, dat, etc.)
• Use: C:\QMF_<school #> (ex: C:\QMF_111)
Using UPSTOP - 2002 22
TOC Exit
Example 1
m) Run query
n) View the file? Up to you.
Using UPSTOP - 2002 23
TOC Exit
Example 12. BUILDTXT: Define
position of school code and address in input file prior to importing
– Use the following specs for this report
Using UPSTOP - 2002 24
TOC Exit
Example 14. Import student report into BUILDTXT
program
5. Modify/add/delete records as necessary– In this case, no modification needed.
6. Export file from BUILDTXT as STA:UPSTOP.DAT
Using UPSTOP - 2002 25
TOC Exit
Example 1
7. Run UPSTOP – uses STA:UPSTOP.DAT as input
8. Run EMU batch #1 Rebuild Keys
Using UPSTOP - 2002 26
TOC Exit
Example 2
Creating Stops For One School From Another
Using UPSTOP - 2002 27
TOC Exit
Example 2
• Create stops for school 338 from school 320 stops
Using UPSTOP - 2002 28
TOC Exit
Example 2
1. Run Stop Report for BUILDTXT inputa) Report Module, User Defined Reports
b) Stops/Runs/Routes
c) Copy “Standard Stop Report #1 PTSIII”
d) Name “Stop Report for UPSTOP”
e) Select the new report
Using UPSTOP - 2002 29
TOC Exit
Example 2f) Remove existing filtersg) Add filter to include only stops for desired
school• Field = Stop Stop ID • Operator = begins with • Value = 320
h) Remove existing output fieldsi) Add “school School Code” and “stop
Location” to output fieldsj) Sort order not important
Using UPSTOP - 2002 30
TOC Exit
Example 2i) Pick output type: Text file with fixed record
lengths
j) Define target directory and name for file• Name must begin with “QMF”• Maximum of 8 characters• No “.”• No extension (txt, dat, etc.)• Example: C:\QMF320
Using UPSTOP - 2002 31
TOC Exit
Example 2
k) Run query
l) View the file if you’d like to see it now.
Using UPSTOP - 2002 32
TOC Exit
Example 2
• 2. Use wordpad to replace the school code– Open wordpad– Open the report you just created– Check to make sure you have the right set of
stops and the right fields
Using UPSTOP - 2002 33
TOC Exit
Example 2
– Edit– Replace– Find what?: old school code <sp> <sp> <sp>– Replace with: new school code <sp> <sp> <sp>– Check “Match whole word only”– Replace all
Using UPSTOP - 2002 34
TOC Exit
Example 2
3. Define position of school code and address in input file prior to importing
– Use the following specs for this report
Using UPSTOP - 2002 35
TOC Exit
Example 24. Import report into BUILDTXT program
5. Modify/add/delete records as necessary– In this case, no modification needed.
6. Export file from BUILDTXT as STA:UPSTOP.DAT
– Overwrite existing file
Using UPSTOP - 2002 36
TOC Exit
Example 2
7. Run UPSTOP – uses STA:UPSTOP.DAT as input
8. Rebuild keys
Using UPSTOP - 2002 37
TOC Exit
Example 3
Creating Stops For A New School
Using UPSTOP - 2002 38
TOC Exit
Creating Stops for New School
• Edulognt
• Create list of stops belonging to contributing schools that fall in new school boundary
• Load list
Using UPSTOP - 2002 39
TOC Exit
Creating Stops for New School
• User-defined reports– Work lists update
Using UPSTOP - 2002 40
TOC Exit
Creating Stops for New School
• User-defined Reports, Stops/Runs/Routes, Stop Report #1
• Set filter– All stops for schools contributing children that
are within the new school’s boundary
Using UPSTOP - 2002 41
TOC Exit
Create file containing stop info: upstop.dat
• 2. Use \elt\exe\report\buildtxt.exe– Start from windows explorer– Browse
Using UPSTOP - 2002 42
TOC Exit
Create upstop.dat
• 3. Write upstop.dat to \elt\server\sta
Using UPSTOP - 2002 43
TOC Exit
Create upstop.dat
• 4. Run \elt\exe\emu\upstop.exe
Using UPSTOP - 2002 44
TOC Exit
Using UPSTOPA Substitute for Stop Optimization
Exit the presentation.
This concludes the training session.
Please do one of the following: Go back and review areas that interest
you. Try the examples.