The information at this site is in draft form and is the property of Priscilla Grocer. The information may not be duplicated or distributed without her permission. ©Copyright 2000
Introduction to CIS52 - methods, expectations etc.
Syllabus for CIS52
|Resources||Notes and handouts for CIS52
Sample programs for CIS52
Many of the sample programs and files that you can copy and run on a computer are available in the CIS52U or CPR52U directories on the K building computers - no password is needed to access these files.
|Work||Assignments for CIS52
Programs for CIS52
Test information for CIS52
www.merant.com/ads/academic/cat/ps001.asp Information about
a student version of COBOL. Note: There are
other alternatives - this is compatible with the COBOL
installed at BCC.
www.infogoal.com/cbd/cbdhome.htm - another site offering information and links
COBOL and the Web
www.merant.com/ads/ - MicroFocus COBOL home page offering links and information on compiler
another site for COBOL
Wide variety of COBOL links
COBOL Gold Mine
Paper at Acucorp site
COBOL course at University of Limerick
Variety of COBOL links
Links to COBOL information
COBOL Object Oriented tutorial<
|Notes and handouts||Link to retrieve|
|BCC lab handout||BCC Lab instructions to log in and use
|COPY and CALL||COPYPRG - Program containin COPY statements
CRSDESC - Data division code being copied
ADDROUT - Procedure division code being copied
COPYCALL - Program containing CALL statement
CALLED - Code being called
|Flip name (method 1)||Name flip notes
Notes on inspect
|Flip name (other methods)
Reference modification notes
Notes on STRING and UNSTRING
|Two file matches||Notes on two file matching
Notes on top down internal sort
Notes on bubble sort
Notes on report generator Note: There are some
typos - will try to get fixed soon!
Sample code for report generator
|Links to Y2K information||
Links to Y2K sites
Y2K Information Center
The COBOL Center
CIO site info on Y2K - lots of links
University Delaware site
Data structures: queue, stack etc.|
Another source on COBOL and data structures
|Sample Programs||Link to retrieve|
|COBOL language elements||stringg.cbl Sample program using
string and unstring verbs
colonprg.cbl Sample using colon to move characters
Program with Perform variations - Contains Perform varying from
by until and in line perform
|Two file matching||
This program is a simple merge
merge12.html This program is a simple merge
oneortwo.cbl This program combines two files into one - max one id/file - record on each file optional
oneortwo.html This program combines two files into one - max one id/file - record on each file optional
oneatwo.cbl This program combines two files into one - max one id/file - both files required to have a record.
oneatwo.html This program combines two files into one - max one id/file - both files required to have a record.
onenorm.cbl This program has single record on file 1 and optional multiple records on file 2. The output is a single file with combined information.
onenorm.html This program has single record on file 1 and optional multiple records on file 2. The output is a single file with combined information.
onemany.cbl with errorsThis program has single record on file 1 and multiple on file 2 - a record must be present on both files - this program has errors that must be modified in the two file assignment.
onemany.html with errorsThis program has single record on file 1 and multiple on file 2 - a record must be present on both files - this program has errors that must be modified in the two file assignment.
manymany.cbl Both files can have multiple records per id.
manymany.html Both files can have multiple records per id.
|Three file matching||
Matching three files - .cbl version.
match123.html Matching three files - .html version.
many123.cbl Three files with multiple possible on each - one output. (.cbl version)
many123.html Three files with multiple possiible on each - one output. (.html version)
|Randomly retrieving multiple from file 2
Sequentially reading file 1
program to create the vsam file from the sequential file - .cbl version
crvsamm.html program to create the vsam file from the sequential file - .html version
omanyidx.cbl processing program - .cbl version
omanyidx.html processing program - .html version
|Data files for file matching sample programs||
Sections within a screen
scrntest.html Sections within a screen
scroccur.cbl Screen with occurs
scroccur.html Screen with occurs
scrmenu.cbl Multi screens with things to consider
scrmenu.html Multi screens with things to consider
scrmenu2.cbl Multi screen with major edited
scrmenu2.html Multi screen with major edited
vsamproj.dat Data for scrmenu.cbl
vsamproj.idx Data for scrmenu.cbl
tablscrx.cbl Full screen using features like color etc.
tablscrx.html Full screen using features like color etc.
scrtest.cbl Not full screen using features like color etc.
scrtest.html Not full screen using features like color etc.
scrtest1.cbl Not full screen using features like color etc. - added 2 edit checks on data
scrtest1.html Not full screen using features like color etc. - added 2 edit checks on data
scrupdt.cbl Screen update with multiple screens
scrupdt.html Screen update with multiple screens
vsamscrf.dat Data file for screen update
vsamscrf.idx Index file for screen update
scrline.cbl Experiments with screens
scrline.html Experiments with screens
scrlinex.cbl Experiments with screens
scrlinex.html Experiments with screens
scrliney.cbl Experiments with screens
scrliney.html Experiments with screens
|Variable length records||
|Working with dates||
|Object Oriented Programs||
|Assignments||Link to retrieve|
|Assignment to flip a name using method 1||Name flip assignment
Note: I will be in on Saturday from 10:00 until 4:00 for help on assignments.
|Programs to write||Link to retrieve|
|COPY/CALL||Modify a program to include a COPY in the DATA
DIVISION, a COPY in the PROCEDURE DIVISION and a CALL to a subprogram/module that
you write. You can use one of your programs or one
of mine. You must turn in the modified program, the files that are
being copied, and the subprogram/module that is being called as well as the
output that was produced. Note, if you already did this in CIS51 please give
me another copy of the work you did.
|Label Program||Label assignment
Label data to be entered
Program to modify and use to enter label data to create file for label program
Revisions to the label program
|Two file matching programs||
Modify ONEMANY.CBL and MANYMANY.CBL
|Internal sort/module program||
Sort program specifications
sortdata.dat Data to use with sort program.
|Order program information||
Order program specifications
Order form layout
Inventory data file - sequential - must be converted to indexed
Customer data file - sequential - must be converted to indexed
Program used to create inventory file
Program used to create customer file
Report generator program that needs to be finished
Data to use with the report generator program
|Dates, conversions, Y2K etc.||
Date difference and conversion assignment
|Object Oriented Program||
Object oriented programming assignment
The last programming assignment!!! Honest!!!
|Test Information||Link to retrieve|
|Final Information||Status Sheet for CIS52
Send me an email and I will send you one of the exam questions (whether you want it or not!)
It has been a pleasure working with you!