home *** CD-ROM | disk | FTP | other *** search
- * MS Cobol V3.0/ MF VS Cobol
- * ufco033.cbl
- identification division.
- program-id. beispiel.
- environment division.
- data division.
- working-storage section.
- * variable fields
- COPY order.
- COPY UFCO03.
- procedure division.
- anfang.
- * save screen
- move 0 to FKZ.
- call "UNIF" using FKZ FMT FMT RET SM Daten.
- * clear screen and display new format
- move 1 to FKZ.
- move 0 to SM.
- einkf.
- move "order " to FMT.
- COPY orde1.
- call "UNIF" using FKZ FMT product RET SM Daten.
- * same format when ESC
- if RET = 99
- move 3 to FKZ
- go to einkf.
- * program end when F10
- if RET = 110 go to ende.
- * display empty format
- move 4 to FKZ.
- move "message " to FMT.
- COPY messag1.
- call "UNIF" USING FKZ FMT FMT RET SM Daten.
- * display new format without clear screen
- move 2 to FKZ.
- go to einkf.
- * display saved screen
- ende.
- move 5 to FKZ.
- call "UNIF" USING FKZ FMT FMT RET SM Daten.
- stop run.
-