home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- COBOL Screen Commander Release 1.0
-
-
-
-
-
-
-
-
-
- (c) Copyright 1986 Dallas Integrated Systems Company
- 7777 Forest Lane Suite A-103
- Dallas, Texas 75230
- (214) 387-4181 9 am - 5 pm (Voice)
-
-
-
-
-
-
-
- All Rights Reserved
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- OverView
-
- CSC is a utility program that was developed to create screens for
- COBOL programs. Screens created with CSC may include graphic characters
- as well as text. CSC allows creation of screens with minimal keystrokes
- making CSC a very time-saving tool for program development. This release
- of CSC is written in RM/COBOL-8X and is intended for use by RM/COBOL-8X
- programs. CSC can and will be ported to other systems as interest dictates.
-
- CSC creates screens and saves them in a relative record file. The FD
- and routines to use the file created by CSC have also been included in
- this document. CSC is user supported software. If you like CSC and plan
- to use it, we encourage you to register your copy with a $15 contribution.
- The registration fee is low and it will help keep high quality, inexpensive
- software coming your way. If you have any questions, comments or suggestions
- please feel free to contact us. Please note CSC bears a copyright notice.
- You are granted permission by Dallas Integrated Systems Company to distribute
- CSC in unmodified form and to use CSC for its intended purpose.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Using CSC
-
- CSC is very easy to use. To get on-line help simply hit Alt-F9. All
- of the CSC commands and features are presented there. A sample screen has
- been provided in the default file. To view this screen hit return thru the
- default screen file pathname, enter "N" to create a new file and enter 001
- as the screen number. To create your own screen file enter a file name and
- enter "Y" to create a new file. On subsequent edits of the screen file
- enter "N" to create a new file or the old file will be erased.
-
- ** NOTE **
- CSC must be run from the .bat file provided. The statement FILES=20 must
- be included in your CONFIG.SYS file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- CSC File Descriptions and Routines
-
-
- The select statement is as follows:
-
- SELECT SCREENS ASSIGN TO RANDOM "PATH1"
- ORGANIZATION IS RELATIVE
- ACCESS IS DYNAMIC
- RELATIVE KEY IS SCREEN-NUMBER
- STATUS IS FILE-STATUS.
-
- The fd is as follows:
-
- FD SCREENS
- LABEL RECORDS ARE STANDARD.
-
- 01 SCREEN-RECORD.
- 05 SCREEN-NAME PIC X(22).
- 05 SCR-LINE-ALL.
- 10 SCREEN-LINE PIC X(80) OCCURS 24.
-
- A routine that might be used to display the screens is as follows:
-
- MOVE 001 TO SCREEN-NUMBER.
- PERFORM 9999-DISPLAY-SCREEN.
-
- 9999-DISPLAY-SCREEN.
- READ SCREENS
- INVALID KEY
- PERFORM 9999-PROCESS-ERROR.
- PERFORM 9999-DISPLAY-LINE VARYING SCREEN-INDX FROM 1 BY 1
- UNTIL SCREEN-INDX > 24.
-
- 9999-DISPLAY-LINE.
- DISPLAY SCREEN-LINE (SCREEN-INDX) LINE SCREEN-INDX POSITION 1.
-
-
-
-
-
-