IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Error: IGYPS2015-I - Section did not contain any statements


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
coria

New User


Joined: 09 Oct 2006
Posts: 36

PostPosted: Thu Oct 19, 2006 8:19 pm
Reply with quote

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
View user's profile Send private message
coria

New User


Joined: 09 Oct 2006
Posts: 36

PostPosted: Thu Oct 19, 2006 8:22 pm
Reply with quote

in addition, it is a CICS&DB2&COBOL program

thank you!
Back to top
View user's profile Send private message
MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Thu Oct 19, 2006 8:45 pm
Reply with quote

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
View user's profile Send private message
coria

New User


Joined: 09 Oct 2006
Posts: 36

PostPosted: Thu Oct 19, 2006 8:50 pm
Reply with quote

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
View user's profile Send private message
MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Thu Oct 19, 2006 9:16 pm
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Thu Oct 19, 2006 9:23 pm
Reply with quote

Hi there,


Plz paste ur code
Please mention EZEMAIN-PROCESS .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top