home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / cobol / library / csc / csc.doc < prev    next >
Text File  |  1986-12-06  |  3KB  |  240 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                   COBOL Screen Commander Release 1.0
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.          (c) Copyright 1986 Dallas Integrated Systems Company
  28.                      7777 Forest Lane Suite A-103
  29.                           Dallas, Texas 75230
  30.                  (214) 387-4181   9 am - 5 pm (Voice)
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.                         All Rights Reserved
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                OverView
  66.  
  67.      CSC is a utility program that was developed to create screens for 
  68. COBOL programs. Screens created with CSC may include graphic characters
  69. as well as text. CSC allows creation of screens with minimal keystrokes
  70. making CSC a very time-saving tool for program development. This release
  71. of CSC is written in RM/COBOL-8X and is intended for use by RM/COBOL-8X
  72. programs. CSC can and will be ported to other systems as interest dictates.
  73.  
  74.     CSC creates screens and saves them in a relative record file. The FD
  75. and routines to use the file created by CSC have also been included in
  76. this document. CSC is user supported software. If you like CSC and plan
  77. to use it, we encourage you to register your copy with a $15 contribution.
  78. The registration fee is low and it will help keep high quality, inexpensive
  79. software coming your way. If you have any questions, comments or suggestions
  80. please feel free to contact us. Please note CSC bears a copyright notice.
  81. You are granted permission by Dallas Integrated Systems Company to distribute
  82. CSC in unmodified form and to use CSC for its intended purpose. 
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.                                Using CSC
  133.  
  134.      CSC is very easy to use. To get on-line help simply hit Alt-F9. All
  135. of the CSC commands and features are presented there. A sample screen has 
  136. been provided in the default file. To view this screen hit return thru the 
  137. default screen file pathname, enter "N" to create a new file and enter 001
  138. as the screen number. To create your own screen file enter a file name and
  139. enter "Y" to create a new file. On subsequent edits of the screen file 
  140. enter "N" to create a new file or the old file will be erased.
  141.  
  142. ** NOTE **
  143. CSC must be run from the .bat file provided. The statement FILES=20 must
  144. be included in your CONFIG.SYS file.
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.                    CSC File Descriptions and Routines
  201.  
  202.  
  203. The select statement is as follows:
  204.  
  205.         SELECT SCREENS ASSIGN TO RANDOM "PATH1"
  206.                ORGANIZATION IS RELATIVE
  207.                ACCESS IS DYNAMIC
  208.                RELATIVE KEY IS SCREEN-NUMBER
  209.                STATUS IS FILE-STATUS.
  210.  
  211. The fd is as follows:
  212.  
  213. FD  SCREENS
  214.     LABEL RECORDS ARE STANDARD.
  215.  
  216. 01  SCREEN-RECORD.
  217.     05 SCREEN-NAME         PIC X(22).
  218.     05 SCR-LINE-ALL.
  219.        10 SCREEN-LINE      PIC X(80) OCCURS 24.
  220.  
  221. A routine that might be used to display the screens is as follows:
  222.  
  223.            MOVE 001 TO SCREEN-NUMBER.
  224.            PERFORM 9999-DISPLAY-SCREEN.
  225.  
  226. 9999-DISPLAY-SCREEN.
  227.     READ SCREENS
  228.        INVALID KEY
  229.           PERFORM 9999-PROCESS-ERROR.
  230.     PERFORM 9999-DISPLAY-LINE VARYING SCREEN-INDX FROM 1 BY 1
  231.         UNTIL SCREEN-INDX > 24.      
  232.  
  233. 9999-DISPLAY-LINE.
  234.     DISPLAY SCREEN-LINE (SCREEN-INDX) LINE SCREEN-INDX POSITION 1.
  235.  
  236.  
  237.  
  238.  
  239.  
  240.