JPS6126691B2 - - Google Patents

Info

Publication number
JPS6126691B2
JPS6126691B2 JP55160397A JP16039780A JPS6126691B2 JP S6126691 B2 JPS6126691 B2 JP S6126691B2 JP 55160397 A JP55160397 A JP 55160397A JP 16039780 A JP16039780 A JP 16039780A JP S6126691 B2 JPS6126691 B2 JP S6126691B2
Authority
JP
Japan
Prior art keywords
program
steps
comments
source
management information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP55160397A
Other languages
Japanese (ja)
Other versions
JPS5785144A (en
Inventor
Toyofumi Oda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Fuji Facom Corp
Original Assignee
Fujitsu Ltd
Fuji Facom Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd, Fuji Facom Corp filed Critical Fujitsu Ltd
Priority to JP55160397A priority Critical patent/JPS5785144A/en
Publication of JPS5785144A publication Critical patent/JPS5785144A/en
Publication of JPS6126691B2 publication Critical patent/JPS6126691B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 本発明はプログラマブル計算機を動作させるソ
ースプログラム等の記憶されたソースフアイル等
よりプログラム管理情報を作成するプログラム管
理情報作成方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a program management information creation method for creating program management information from a stored source file such as a source program for operating a programmable computer.

現在、コンピユータと称されるプログラマブル
計算機は多種多様な分野において使用されてお
り、各ニーズ合せたプログラムの開発が進められ
ている。
Currently, programmable computers, called computers, are used in a wide variety of fields, and programs are being developed to meet various needs.

これらプログラムは、実際にシステムエンジニ
アと称される人達がプログラムコーデイングシー
ト上に記録作成し、この記録された情報を計算機
に入力するために80欄カード(パンチカード)に
情報せん孔しプログラムデバツクを行なつた後に
ソースフアイルに蓄積され、ユーザに供給され
る。このようなプログラムは、1ユーザにおいて
も、種々の仕事に合せて数百本に及ぶプログラム
を用意しなければならない事は一般に周知の通り
である。
These programs are actually created by people called system engineers who record them on program coding sheets, and punch information into 80-column cards (punch cards) to input this recorded information into a computer. After that, it is stored in a source file and provided to the user. It is generally known that even one user must prepare hundreds of programs for various tasks.

従つて、ユーザ先においては、現在どのような
プログラムがあるかを示す一覧表のようなものを
ソースフアイルに対応して作成しなければならな
い状態にあり、また、プログラム供給側において
も、プログラムの適正な価格及びプログラム開発
者の能力の評価のためにもソースフアイルの管理
情報と称されるようなプログラムの内容の一覧表
を作成する必要があつた。
Therefore, at the user's site, something like a list showing what kind of programs are currently available must be created for each source file, and at the program supplier side, the program is It was necessary to create a list of program contents, called source file management information, in order to obtain appropriate prices and evaluate the ability of program developers.

この本発明で称するプログラム管理情報とはプ
ログラムの本数、フアイル名、プログラムステツ
プ数、プログラムの使用言語、プログラムコメン
ト数などを指す。
The program management information referred to in the present invention refers to the number of programs, file names, number of program steps, language used in the program, number of program comments, etc.

従来、このようなプログラムの管理情報は、全
て人手により作成していた。しかしながら、フア
イル名やプログラムの使用言語はまだ良いが、プ
ログラムのステツプ数やコメント数などは人手に
より作成する事に非常に信頼性の低いものとなつ
ていた。
Conventionally, all of the management information for such programs has been created manually. However, although the file name and the language used in the program are still good, the number of program steps and comments are extremely unreliable because they are created manually.

そこで本発明では、上記欠点を解消した新規な
プログラム管理情報作成方式を提供する事を目的
とするもので、この目的は、コメント情報の付加
されたソースプログラム等の記憶されたソースフ
アイルより少なくともプログラムステツプ数を含
むプログラム管理情報を作成するプログラム管理
情報作成方式において、該ソースフアイルより該
プログラムのステツプ数をカウントする第1のカ
ウント手段、該プログラムの各ステツプの内コメ
ントステツプにのみ付されたフラグを検出する手
段、該フラグ検出信号に基ずいて該プログラムコ
メント数をカウントする第2のカウント手段を設
け、該カウントされたプログラムステツプ数、プ
ログラムコメント数を一担記憶した後編集出力す
る事により達成する事が出来る。
SUMMARY OF THE INVENTION Therefore, it is an object of the present invention to provide a new method for creating program management information that eliminates the above-mentioned drawbacks. In a program management information creation method for creating program management information including the number of steps, a first counting means for counting the number of steps of the program from the source file, a flag attached only to comment steps among each step of the program; A second counting means is provided to count the number of program comments based on the flag detection signal, and the counted number of program steps and number of program comments are stored and then edited and output. It can be achieved.

以下、本発明を図面を参照しながら説明する。
第1図は本発明に係るソースフアイルの一実施例
である。図において1はソースプログラムを示
す。
Hereinafter, the present invention will be explained with reference to the drawings.
FIG. 1 shows an embodiment of a source file according to the present invention. In the figure, 1 indicates a source program.

図は、磁気テープの一部構成を示すもので、こ
のようにソースプログラム1が複数記憶されてい
る。この記憶されたソースプログラム1は第2図
に示すような構成になつている。
The figure shows a partial configuration of a magnetic tape, in which a plurality of source programs 1 are stored in this way. This stored source program 1 has a structure as shown in FIG.

すなわち、記憶のための制御情報を除くと先頭
にソースフアイルのフアイル名2に記載されその
後に実際のプログラム3が各ステツプごとに記憶
されている。
That is, excluding control information for storage, the file name 2 of the source file is written at the beginning, and then the actual program 3 is stored for each step.

次にステツプ数、コメント数、言語について詳
述する。
Next, the number of steps, number of comments, and language will be explained in detail.

この一つのプログラムのステツプ数やプログラ
ム内に記入されたコメントの判別は、以下の如く
規定されている。
The number of steps in one program and the determination of comments written in the program are defined as follows.

プログラムのステツプ数についてはフアイル名
2が記入された後の実際のプログラムが各ステツ
プ3ごとに記入されているため、このステツプ数
をカウントすれば一本のプログラムのステツプ数
は判別する。
Regarding the number of steps in a program, since the actual program after the file name 2 is entered is entered for each step 3, the number of steps in one program can be determined by counting this number of steps.

また、コメントは、プログラムステツプ3内に
あり、このコメントには必ず各ステツプ3の1カ
ラム目3に特別のマークが付されている事で判別
出来る。例えば第2図の場合には、1カラム目に
*の付されたステツプ3がコメントである。
Furthermore, comments are located within program steps 3, and these comments can be identified by the fact that a special mark is always attached to the first column 3 of each step 3. For example, in the case of FIG. 2, step 3 marked with an * in the first column is a comment.

従つて、このコメント数はプログラムの各ステ
ツプ3の1カラム目3′に*印があるものだけを
カウントする事によりコメント数を判別出来る。
Therefore, the number of comments can be determined by counting only those marked with * in the first column 3' of each step 3 of the program.

また、プログラム使用言語は、フアイル名2が
記入された後の一番最切のプログラムステツプに
より判別出来る。すなわち、1つの条件として1
カラム目に特定の情報が記入されているか否か、
また何カラム目から情報が記入されているかで判
別が出来る。
Further, the language used in the program can be determined by the most recent program step after file name 2 is entered. In other words, one condition is 1
Whether specific information is entered in the column,
Also, it can be determined from which column the information is entered.

例えば1カラム目から記入されている場合はア
センブラー、5カラム目から記入されている場合
にはフオートラン、7カラム目から記入されてい
る場合にはコボル等の如く予じめ決められてお
り、従つて、この情報の判定により使用言語が決
定される。
For example, if it is written from the 1st column, it is Assembler, if it is written from the 5th column, it is Fortran, and if it is written from the 7th column, it is Cobol, etc. Then, the language to be used is determined by determining this information.

次に第3図により本発明のプログラム管理情報
作成方式の一実施例を説明する。
Next, an embodiment of the program management information creation method of the present invention will be described with reference to FIG.

図において、4は読取制御部、5はフアイル名
読取部、6は1カラム目読取手段、7はステツプ
数カウンタ、8はコンパレータ、9はコメント数
カウンタ、10は言語読取手段、11は共通バ
ス、12はCPU、13はMEM、14は印字装置
をそれぞれ示す。
In the figure, 4 is a reading control unit, 5 is a file name reading unit, 6 is a first column reading unit, 7 is a step number counter, 8 is a comparator, 9 is a comment number counter, 10 is a language reading unit, and 11 is a common bus. , 12 is a CPU, 13 is an MEM, and 14 is a printing device.

4は読取制御部で磁気テープ装置より読込まれ
るソースプログラムデータより本発明のフアイル
名、コメント数、ステツプ数、言語等を読取るた
めの情報を抽出する。
Reference numeral 4 denotes a read control unit which extracts information for reading the file name, number of comments, number of steps, language, etc. of the present invention from the source program data read from the magnetic tape device.

5はフアイル名読取部で、ソースプログラムの
一番最初に記録されたフアイル名を一担記憶し、
共通パス11を介してCPU12に送り、MEM1
3に記憶する。
5 is a file name reading unit, which stores the first file name recorded in the source program;
Send to CPU 12 via common path 11 and MEM1
Store in 3.

6は1カラム目読取手段で、ソースプログラム
の各ステツプの1カラム目を抽出して読取るもの
である。
Reference numeral 6 denotes a first column reading means, which extracts and reads the first column of each step of the source program.

コンパレータ8は、各ステツプの1カラム目に
コメントを示す*印が記入されているか否かを検
出し、該*印が記入されている事を検出した事に
よりコメント数をカウントするカウンタ9をカウ
ントアツプする。
A comparator 8 detects whether or not a * mark indicating a comment is written in the first column of each step, and upon detecting that the * mark is written, a counter 9 that counts the number of comments is activated. rise.

7はステツプ数カウンタで読取制御部4より各
プログラムのステツプ数をカウントする。
A step number counter 7 counts the number of steps of each program from the reading control section 4.

10は言語読取手段で、各ステツプのプログラ
ムの一番最初のステツプの内容を上述した如き参
照して言語判定を行なう。
Reference numeral 10 denotes language reading means, which performs language determination by referring to the contents of the first step of the program of each step as described above.

これら各フアイル名、コメント数、ステツプ
数、言語は共通バス11を介してCPU12に送
られMEM13に記憶される。
These file names, number of comments, number of steps, and language are sent to the CPU 12 via the common bus 11 and stored in the MEM 13.

第4図にMEM13の内容を示す。図の如くフ
アイル名15,言語18,ステツプ数17,コメ
ント数16が各ソースフアイルごとに記憶され、
例えば、言語別にフアイル名15,ステツプ数1
7,コメント数16を印字装置14(第3図に示
す)により印字する。また、総合計等でも印字出
来る。
Figure 4 shows the contents of MEM13. As shown in the figure, 15 file names, 18 languages, 17 steps, and 16 comments are stored for each source file.
For example, 15 file names and 1 step number for each language.
7. The number of comments, 16, is printed by the printing device 14 (shown in FIG. 3). It is also possible to print the total total.

以上のように本発明は、ソースプログラムのプ
ログラム管理情報であるフアイル名、コメント
数、ステツプ数、言語などを任意に編集出力する
事が出来るため、プログラムの管理が簡略化され
る。
As described above, according to the present invention, program management information such as the file name, number of comments, number of steps, language, etc. of a source program can be edited and output as desired, thereby simplifying program management.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係るソースフアイルの一実施
例、第2図は本発明に係るソースプログラムの一
実施例、第3図は本発明のプログラム管理情報作
成方式の一実施例、第4図は本発明のMEMの内
部記憶状態をそれぞれ示す。 図において、1はソースプログラム、2はフア
イル名、3はプログラムステツプ、4は読取制御
部、5はフアイル名読取部、6は1カラム目読取
手段、7はステツプ数カウンタ、8はコンパレー
タ、9はコメント数カウンタ、10は言語読取手
段、11は共通バス、12はCPU、13は
MEM、14は印字装置をそれぞれ示す。
FIG. 1 is an embodiment of a source file according to the present invention, FIG. 2 is an embodiment of a source program according to the present invention, FIG. 3 is an embodiment of the program management information creation method of the present invention, and FIG. 4 is an embodiment of the source file according to the present invention. respectively indicate the internal storage states of the MEM of the present invention. In the figure, 1 is a source program, 2 is a file name, 3 is a program step, 4 is a reading control section, 5 is a file name reading section, 6 is a first column reading means, 7 is a step number counter, 8 is a comparator, 9 is a comment number counter, 10 is a language reading means, 11 is a common bus, 12 is a CPU, 13 is a
MEM and 14 each indicate a printing device.

Claims (1)

【特許請求の範囲】[Claims] 1 コメント情報の付加されたソースプログラム
が記憶されたソースフアイルより少なくともプロ
グラムステツプ数を含むプログラム管理情報を作
成するプログラム管理情報作成方式において、該
ソースフアイルより、該プログラムのステツプ数
をカウントする第1のカウント手段、該プログラ
ムの各ステツプの内コメントステツプにのみ付さ
れたフラグを検出する手段、該フラグ検出信号に
基ずいて該プログラムコメント数をカウントする
第2のカウント手段を設け、該カウントされたプ
ログラムステツプ数、プログラムコメント数を一
担記憶した後編集出力する事を特徴とするプログ
ラム管理情報作成方式。
1. In a program management information creation method that creates program management information that includes at least the number of program steps from a source file in which a source program to which comment information is added is stored, a first step that counts the number of steps of the program from the source file. A second counting means is provided for counting the number of program comments based on the flag detection signal, a second counting means for counting the number of program comments based on the flag detection signal, and a second counting means for counting the number of program comments based on the flag detection signal. This method of creating program management information is characterized in that the number of program steps and the number of program comments are memorized and then edited and output.
JP55160397A 1980-11-14 1980-11-14 Program control information generating system Granted JPS5785144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55160397A JPS5785144A (en) 1980-11-14 1980-11-14 Program control information generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55160397A JPS5785144A (en) 1980-11-14 1980-11-14 Program control information generating system

Publications (2)

Publication Number Publication Date
JPS5785144A JPS5785144A (en) 1982-05-27
JPS6126691B2 true JPS6126691B2 (en) 1986-06-21

Family

ID=15714059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55160397A Granted JPS5785144A (en) 1980-11-14 1980-11-14 Program control information generating system

Country Status (1)

Country Link
JP (1) JPS5785144A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH083789B2 (en) * 1988-05-27 1996-01-17 日本電気株式会社 Automatic program generation rate data automatic measurement method

Also Published As

Publication number Publication date
JPS5785144A (en) 1982-05-27

Similar Documents

Publication Publication Date Title
KR100995234B1 (en) Method and system for showing unannotated text nodes in a data formatted document
JPS6126691B2 (en)
EP0448050A3 (en) Electronic cash register
JPS61211738A (en) Source program comment managing system
Berriman et al. Cheshire County Library acquisitions and cataloguing system
JP2502089B2 (en) Equipment monitoring message output device
JP3862159B2 (en) Computer-readable recording medium and program recording configuration management information creation system and program
JP3003805U (en) Entrance check device and card used for this
Knox Computer operations and the structure of information.
JPH0335693B2 (en)
JPS63257867A (en) Researching system for number of generated payment bills requiring medical expense
JP3358194B2 (en) Data processing device
JPS609893Y2 (en) Automatic ticket vending device
JPS6170288U (en)
Bradford University Computer Center Newsletter (July 1968)
Vora et al. A Simple PC Based Assembler for Microprocessors
JPH09218898A (en) Method for managing quality record
JPS58101259U (en) Electronic equipment with schedule notification function
JPS60189090A (en) Electronic type time recorder
JPH0516032B2 (en)
JPS5810262A (en) Receipt forming device
JPS5866164A (en) Catalog registering system for file
JPS6142657U (en) Equipment management device
JP2004021551A (en) System, method, program, and recording medium for file conversion
JPH03248228A (en) Error detection for software design information