Sample programs | Link to retrieve |
---|---|
New introduction | hello.html This is
a sample program displaying messages on the screen - it has a .html extension. hello.cbl This is the sample above with a .cbl extension. addda.html This is a sample program displaying messages and a calculation - it has a .html extension. addda.cbl This is the sample above with a .cbl extension. addda1.html This is a sample program with a compute - it has a .html extension. addda1.cbl This is the sample above with a .cbl extension. addda1a.html This is a sample program with a two step compute - it has a .html extension. addda1a.cbl This is the sample above with a .cbl extension. addda1b.html This is a sample program with a compute and parenthesis - it has a .html extension. addda1b.cbl This is the sample above with a .cbl extension. addda2.html This is a sample program with add and multiply - it has a .html extension. addda2.cbl This is the sample above with a .cbl extension. addda2a.html This is a sample program changes to WS - it has a .html extension. addda2a.cbl This is the sample above with a .cbl extension. addda3.html This is a sample program with editing and WS changes - it has a .html extension. addda3.cbl This is the sample above with a .cbl extension. addda4.html This is a sample program with decimals - it has a .html extension. addda4.cbl This is the sample above with a .cbl extension. addda5.html This is a sample program which allows negative answers - it has a .html extension. addda5.cbl This is the sample above with a .cbl extension. addda6.html This is a sample program which allows negative input - it has a .html extension. addda6.cbl This is the sample above with a .cbl extension. |
Looping, creating, and reading with screens |
adddalp.html This is
a sample program displaying and looping - it has a .html extension. adddalp.cbl This is the sample above with a .cbl extension. create1.html This is a sample program that loops and creates a file - it has a .html extension create1.cbl This is the sample above with a .cbl extension. read1.html This is a sample program that loops and reads the file created in create1.cbl read1.cbl This is the sample above with a .cbl extension. pay.dat File created by create1 and read by read1 |
Conditions and totals with screens |
readif1.html This is
a sample if program with no else and END-IF - it has a .html extension. readif1.cbl This is a sample if program with no else and END-IF - it has a .cbl extension. readif1a.html This is a sample if program with no else and a period - it has a .html extension. readif1a.cbl This is a sample if program with no else and a period - it has a .cbl extension. readif1b.html This is a sample if program with a separate procedure/paragraph - it has a .html extension. readif1b.cbl This is a sample if program with a separate procedure/paragraph - it has a .cbl extension. readif2.html This is a sample if program with a ELSE - it has a .html extension. readif2.cbl This is a sample if program with a ELSE - it has a .cbl extension. rdifand.html This is a sample if program with 2 conditions in an AND relationship - it has a .html extension. rdifand.cbl This is a sample if program with 2 conditions in an AND relationship - it has a .cbl extension. rdifand2.html This is a sample if program with 2 conditions in an AND relationship with ELSE - it has a .html extension. rdifand2.cbl This is a sample if program with 2 conditions in an AND relationship with ELSE - it has a .cbl extension. rdifand3.html This is a sample if program with 2 conditions in a compound AND relationship - it has a .html extension. rdifand3.cbl This is a sample if program with 2 conditions in a compound AND relationship - it has a .cbl extension. rdifor.html This is a sample if program with an OR relationship - it has a .html extension. rdifor.cbl This is a sample if program with an OR relationship - it has a .cbl extension. rdifor2.html This is another sample if program with an OR relationship - it has a .html extension. rdifor2.cbl This is another sample if program with an OR relationship - it has a .cbl extension. readtot.html This is a sample program with final totals readtot.cbl This is the sample above with a .cbl extension. pay.dat File created by create1 and used in these programs |
Full screen processing | scr1afrm.html Displaying
data on a screen with .html extension scr1afrm.cbl Displaying data on a screen with .cbl extension scr1from.html Another example of displaying data on a screen with .html extension scr1from.cbl Another example of displaying data on a screen with .cbl extension scr1.dat Data for to screen programs display data from a file (above) scr1to.html Entering data on a screen with .html extension scr1to.cbl Entering data on a screen with .cbl extension scr2to.html Entering data by fields/groups on a screen with .html extension scr2to.cbl Entering data by fields/groups on a screen with .cbl extension scr1use.html Updating records on a file through screen input - .html extension scr1use.cbl Updating records on a file through screen input - .cbl extension scr2.dat Data for scr1use.cbl |