PreviousEBCDIC/ASCII Translation Tables UNIX Key Usage ChartNext"

Appendix D: Sample Programs

This appendix lists the sample programs supplied with the Micro Focus COBOL system to demonstrate some of the available features. The programs are listed under the directory in which they can be located.

$COBDIR/demo

COBOL source of pi example:

pi.cbl

COBOL source of stock1 example:

stock1.cbl

COBOL source of the multi-user demonstration suite:

mudemo.cbl
stockiom.cbl
stockin.cbl
stockout.cbl
stockioa.cbl

C calling COBOL demonstration suite:

account.cbl cmain.c

COBOL source of date handling demonstration programs:

datecall.cbl datescrn.DDS HELPAA.FRM

COBOL source of common demonstration program:

tictac.cbl

COBOL source of screen handling demonstration program:

scdemo1.cbl

COBOL source of Dialog System demonstration program:

TEST1.cbl

$COBDIR/demo/ccitp

CCI demonstration programs:

ccicli.cbl
ccidemo.dat
cciserv.cbl
ccitab.cpy

$COBDIR/demo/clisrvr

Client/server demonstration programs:

CUSTOMER.CPB
CUSTOMER.gs
ccicust.cbl
ccisrvr.cbl
CUSTOMER.ERR
DS-CNTRL.V1
ccidemo.rme
clnt350.cbl
CUSTOMER.S
cciclnt.cbl
cciscrn.cbl
srvr350.cbl

$COBDIR/src/sybase

SQL demonstration programs:

cobsql.dir mkrtssyb

$COBDIR/demo/dialog

Dialog System demonstration programs:

CUSTOMER.CBL
CUSTOMER.ERR
CUSTOMER.S
CUSTOMER.S1
CUSTOMER.S2
CUSTOMER.S3
CUSTOMER.S4
CUSTOMER.S5
DSUSRFMT.S
DSDEMO.ERR
DSDEMO1.S
DSDEMO2.S
DSDEMO3.S
DSDEMO4.S
DSUSRFMT.CBL
DSDEMO5.CBL
DSDEMO5.FLE
DSDEMO5.S
DSDEMO7.S
DSDEMO8.S
Q1.S
Q2.S
Q3.S
Q4.S
Q5.S
Q6.S
Q7.S
Q8.S
Q9.S
Q.ERR

$COBDIR/demo/fhutils

File handler utility demonstration programs:

badfile
badfile.idx
convert1.cbl
convert.ind
convert.inf
convert.lsq
convert.rel
convert.seq
create.cbl
create.cre
create.inf
edit.cbl
edit.edi
edit2.cbl
info1.cbl
info1.inf
info1a.cbl
info2.cbl
info2.inf
info2a.cbl
rebuild.cbl
reorg.reo
reorg1.cbl
reorg2.cbl
reorg3.cbl
setup
validate.cbl
validate.inf
validate.val
validate2.cbl

$COBDIR/demo/fs

Fileshare demonstration programs:

fstest.cbl
tptest.cbl
wr1test.cbl
wr2test.cbl

$COBDIR/demo/nls

National Language Support demonstration programs:

nlsdemo.cbl nlssort.cbl sortsub.cpy

$COBDIR/demo/ohbld

On-line Help build demonstration programs:

callhelp.cbl onlex.txt

$COBDIR/demo/oops

OO programming demonstration programs:

accinfo.cpy
account.cbl
acexhand.cbl
bank1.cbl
bank2.cbl
bank3.cbl
bankscrp
caccount.cbl
coll0.cbl
coll1.cbl
coll2.cbl
coll3.cbl
exepscrp
haccount.cbl
saccount.cbl
stopwtch.cbl
timrscrp
vocascrp
wtchscrp
account.if
saccount.if
timer.cbl

$COBDIR/demo/panels

Panels demonstration programs:

DEMOBUFF.CPY
DEMOCONT.CPY
DEMOHELP.CPY
DEMOMENU.CPY
DEMOMISC.CPY
DEMOMSG.CPY
DRAWCHAR.CPY
OSATTR.CPY
PANCONT.CPY
PANLINK.CPY


panelex1.cbl
panbigsc.cbl
panelex2.cbl
pandemo.cbl
pantutor.cbl

$COBDIR/demo/preproc

Integrated Preprocessor demonstration programs:

asmcobol.cbl
PREPROX.cbl
PREPROC.cbl
working.cbl

$COBDIR/demo/sharedmem

COBOL source of the shared memory demonstration suite:

sharemem.cbl
smstart.cbl
smproc.cpy
smwrks.cpy

Shell script to demonstrate the above:

smdemo

$COBDIR/demo/sql

SQL demonstration programs:

sqldemo.cbl sqlprep.cbl

$COBDIR/demo/window1

Windowing Syntax demonstration programs:

mfwcalc.cbl mfwnote.cbl


Copyright © 1999 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.

PreviousEBCDIC/ASCII Translation Tables UNIX Key Usage ChartNext"