View previous topic :: View next topic
|
Author |
Message |
coria
New User
Joined: 09 Oct 2006 Posts: 36
|
|
|
|
LineID Message code Message text
1385 IGYPS2015-I The paragraph or section prior to paragraph or section "A0000-MAIN-PARA? did not contain any statements.
Messages Total Informational Warning Error Severe Terminating
Printed: 1 1
* Statistics for COBOL program PF222:
* Source records = 1762
* Data Division statements = 881
* Procedure Division statements = 151
End of compilation 1, program PF222, highest severity 0.
Return code 0
my code fragment:
...........
LINKAGE SECTION.
01 DFHCOMMAREA PIC X(001).
PROCEDURE DIVISION.
******************************************************************
* A0000-MAIN-PARA :TO CONTROL THE LOGIC FLOW OF THE MODULE *
******************************************************************
A0000-MAIN-PARA.
EXEC CICS HANDLE CONDITION
LENGERR(E0000-LENG-ERR-PARA)
ERROR(E9999-GENERAL-ERR-PARA)
END-EXEC
..........
i can not find anything wrong here... |
|
Back to top |
|
|
coria
New User
Joined: 09 Oct 2006 Posts: 36
|
|
|
|
in addition, it is a CICS&DB2&COBOL program
thank you! |
|
Back to top |
|
|
MFRASHEED
Active User
Joined: 14 Jun 2005 Posts: 186 Location: USA
|
|
|
|
EXEC ... END-EXEC are not cobol specific statements and if you don't have any other cobol statement you would get that error. These statements get processed in pre-compiler and gets commented during cobol compile. To get around it just code after END-EXEC:
CONTINUE. |
|
Back to top |
|
|
coria
New User
Joined: 09 Oct 2006 Posts: 36
|
|
|
|
to MFRASHEED,
there are some more COBOL statements in "A0000-MAIN-PARA." after that EXEC ... END-EXEC statements,
is there any more possibility for this information? |
|
Back to top |
|
|
MFRASHEED
Active User
Joined: 14 Jun 2005 Posts: 186 Location: USA
|
|
|
|
Here is what i could find description of message and this is Informational message, note the 'User Response':
Code: |
IGYPS2015I The paragraph or section prior to paragraph or section
EZEMAIN-PROCESS did not contain any statements.
IGYPS2023I Paragraphs prior to section EZEMAIN-PROCESS were not contained
in a section
Explanation: These two messages occur if your application has been
processed by the DB2 precompiler.
User Response: They are normal messages that you can ignore.
|
|
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi there,
Plz paste ur code
Please mention EZEMAIN-PROCESS . |
|
Back to top |
|
|
|