[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | VAX/DEC COBOL |
Notice: | Kit,doc,performance talk info-->DIR/KEY=KIT or DOC or PERF_TALK |
Moderator: | PACKED::BRAFFITT |
|
Created: | Mon Feb 03 1986 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3250 |
Total number of notes: | 13077 |
3248.0. "Cobol ccomplie error" by HGOSPS::MASCOTTANG () Wed Jun 04 1997 23:05
My customer is running DEC cobol V2.2 complier. He writes a cobol programs
and and then to compile this program, it displays the following error.
---------------------------------------------------------------------------------
Data Division.
%COBOL-F-MISSREQD, Missing required word
at line number 63 in file htc2_0_dev:[tmp.build]gn_s_finv_calc_free_airtime.cob
@CPBOL-F-ENDNOJOB, HTC2_0_DEV:{TMP.BUILD}gn_s_finv_calc_free_airtime.cob
compile with 1 diagnostic object deleted
%MMS-F-ABORT, for target
CELLGN_LIB:COMMON.OLB
(GN_S_FINV_CALC_FREE_AIRTIME=CELLGN_SRC:GN_S_FINV_CALC_FREE_AIRTIME.SCB),
CLI returned abort status %x10B2184.
%MMS_F_ABORT, for target COMMON. CLI returned abort status; %X10EE8034
%MMS_F_ABORT, for target CABS2000. CLI returned abort status; %X10EE8034
HTC_DBA_SH0, job terminated at 30-MAY-1997 18:54:27.03.
--------------------------------------------------------------------------------
The source of cobol programming is lised as follows:
IDENTIFICATION DIVISION.
PROGRAM-ID. CM_S_PRORATE_BALANCE.
AUTHOR. R.D. TAYLOR.
DATE-WRITTEN. 18TH MARCH,1997.
*********************************************************
ENVIRONMENT DIVISION.
CONFIGURATION section.
COPY "CELLGN_CPY:SPNAMES.CPY".
INPUT-OUTPUT SECTION.
DATA DIVISON.
WORKING-STORAGE SECTION.
.
.
.
According to customer said that when he comment out the INPUT-OUTPUT
section. There is no error occurenace. Would anyone has experience on it ?
Any advice should be appreciated.
T.R | Title | User | Personal Name | Date | Lines |
---|
3248.1 | Possibly 2 different source problems to correct here | PACKED::BRAFFITT | | Thu Jun 05 1997 07:13 | 23 |
| >COPY "CELLGN_CPY:SPNAMES.CPY".
>INPUT-OUTPUT SECTION.
>DATA DIVISON.
>WORKING-STORAGE SECTION.
>DATA DIVISON.
>.....^
>%COBOL-F-MISSING, "DIVISION" required at this point
>at line number 10 in file COB$USER2:[BRAFFITT.WORK]C3248.COB;6
Change the spelling of "DIVISON" to "DIVISION" in your program.
>Data Division.
>%COBOL-F-MISSREQD, Missing required word
>at line number 63 in file htc2_0_dev:[tmp.build]gn_s_finv_calc_free_airtime.cob
This line 63 from htc2_0_dev:[tmp.build]gn_s_finv_calc_free_airtime.cob
does not match the source fragment posted in .0 since "Division" is
spelled correctly here.
If you still have problems compiling gn_s_finv_calc_free_airtime.cob,
post the entire source file along with any COPY files such as
CELLGN_CPY:SPNAMES.CPY.
|