I think the poster is our old DMV hacker guy who was visiting the list a few 
months ago.  He should just Google his subject line and he'll get a perfect 
sample on his first try.    Hint:  It doesn't matter if it's DMV, FBI or your 
local insurance company - it all looks the same, more or less.

But if he wants custom code, here's my attempt for the DMV.

IF DRIVER-LAST-NAME = 'VINCZE'

    ADD +5 TO TOTAL-POINTS 

    ADD 500 TO TOTAL-FINE

   PERFORM A100-REVOKE-LICENSE THRU A100-EXIT

   PERFORM A150-NOTIFY-STATE-POLICE THRU A150-EXIT

   PERFORM A200-PRINT-VIOLATION-NOTICE THRU A200-EXIT.



"Bill Klein" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>...

> This SOUNDS like a "school project". If so, what does your text book show?

> If not, exactly WHY do you want this type of thing? There are bunches of

> "teach yourself COBOL" programs which have sample code. Check any of them

> out. (Make certain that you get one that includes '85 Standard code, not

> just "older" '74 Standard code).

> 

> <[EMAIL PROTECTED]> wrote in message

> news:<[EMAIL PROTECTED]>...

> > I need to look at some COBOL samples to see what they look like..

> > For example, suppose a DMV records was written in COBOL, or the FBI

> > database was written in COBOL, how would the source code look like for

> > example?

> > Or, lets say, an accounting database program, how would its source code

> > look like? Are ther any samples that I can take a look at?



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to