Advanced COBOL - CIS51

Weekly Schedule

Week Information
Week #6 Assignments
Week ofOctober 6th
Please be sure to go over the programs in batch editing - they are similiar - the control paragraph is the main difference. Note that these are watered down versions of the real things and some of the choices I made in coding would or should not be the choices you or I would make professionally!
Assignments:
Sequential Update Program:
Sequential Update assignment
Old Master data file
Transaction data file
Be sure to view the PowerPoint presentation on the sequential update assignment for notes on this assignment.
I will be spending time on this assignment next week, I would like you to start looking it over this week.
You can start coding when you are ready (this is the major project for the semester), but please note that I will be spending time discussing it next week and probably the week after, so maybe now is the time to get caught up and start writing after we have considered it more. I would suggest you write this using a module approach. Meaning pick one part and get it working and then move on to the next.
Week #5 Assignments
Week of September 29th
Be sure that you have looked at the programs EDITCHK and EDITINTR and the programs on batch editing.
Read the notes on the sort verb and look at the program examples.
Read the notes on sequential updates and look at the PowerPoint presentation on the logic of the sequential update.
Look at the PowerPoint presentation on an example of the sequential update - includes logic flowchart and code.
It would be a good idea to check books in the library and information on the Web for additional writeups on sequential updates.
We will briefly discuss editing and sorting next week and then we will start looking at sequential updates.
Assignments:
Edit questions
Extra credit: Write a program that uses the SORT VERB to sort an existing file. Send me the program, the before file and the after file.
Week #4 Assignments
Week of September 22nd
Review your notes on edit programs from CIS12 (they are available under Editing).
Read the Notes on MOD11 check digit and the notes on another check digit. Look at the MOD11 sample under sample programs.
Look at the two programs called EDITCHK and EDITINTR under sample programs/editing data.
Also look at the programs under batch editing - they are not professional quality but do illustrate some points!
Read the notes on the sort verb and look at the program examples.
Check back to see how we are doing!
I had some email problems this morning and lost some email (mainly things delivered on the morning of the 11th), if you did not get a response or you suspect something did not get through, please send it again.
Assignments:
Another check digit - write the program that would take in the id and produce a check digit using this approach
Week #3
Week of September 15th
We will finish looking at searches this week. We will also look at the search verb.
Assignments: Fill program to complete
Complete fill table program: Fill assignment
YOURFILL Due in three weeks
Data for YOURFILL program - stuuour.dat
Again, if you are having trouble with the data you can create your own using the program from week #1.
Modify the search program (YOURSRCH) to use the search verb. SRCHVBDO
Week #2
Week of September 8th
We will look at the logic of a binary search! Look at the notes (note that the sample is not loaded because I want you to try it.
LINSRCHX (html) Linear search - note that the paragraphs say binary search because I modified the binary search to get this. LINSRCHX (cbl) Linear search
Under Postings/Notes on my home page, there is a link to some new scholarship information.
Assignments:
YOURSRCH assignment You may NOT use the search verb for this assignment! Note we have not covered the search verb yet, but in case you find it you cannot use it for this assignment!
Data for YOURSRCH program - ins.dat
If you do an early exit, I will give extra credit!
If you have problems with the data file I provide, you can create your own using my data to tell you what data to create and the model program from last week.
Binary Search Assignment: Modify the linear search (address given above) to make it a binary search.
Week #1
Week of September 1st
There will be 15 sets of notes and assignments that need to be completed during the semester. You need to plan to accomplish this in the number of weeks available in the summer semester.
My availablity this summer
The schedule can also be accessed through my home page. I will keep updating.
Review:
Review the notes on 1, 2 and 3 dimension tables.
Review the notes on screens.
Review the sample programs under tables and screens.
Look at the PowerPoint presentations on tables: Tables Presentation
New material - table searching:
Read the notes on table search: Table Search Notes
More Notes on Table Search
Follow-up on Notes on Table Search
Look at the sample programs under Indirect subscript - searching a table. Look at the PowerPoint presentation on table search: Tables Presentation
Assignments:
Direct Table pgrogramming assignment - Review of tables from last semester
DIRSOUPT.CBL
DIRSOUPT.HTML

Send e-mail to Mrs. Grocer:
pgrocer@bristol.mass.edu

Back to the Top
Return to home page
Return to previous page