Cobol Preceding Item At This Level Has Zero Length

View All Questions

Ask a New Question

  Posted by Guest - Cobol Preceding Item At This Level Has Zero Length :
Compiler compiling error  "Preceding item at this level has zero length".  What is causing the following error message to display?

Joe Says:
This often happens when you put a copybook into working storage, but have an 01 level with the copybook underneath.  If the copybook begins with an 01 level, that means you have 2 01 levels on top of each other with a zero length, giving you the "Preceding item at this level has zero length" error.

Guest Says:
Thanks thats exactly what the error was. I changed the copybook to have an 01 level in it, and previously working storage needed the 01 level first, I was wondering why my cobol program suddenly wouldnt compile because I felt like I didnt change anything in the cobol code.

Guest Says:
Same error that I had and this fixed it. It had the extra 01 cobol copybook level.


Add your reply below ...



This site allows you to ask questions and get answers from various posters. You may also answer any posts if you feel like you have input to give. Feel free to ask for help with any new question you wish, but most of the questions here are tech related. You will find many questions and answers related to your Ipod or Ipod Nano, Itunes, audio and video converting, spyware or adware cleanup, pc or other computer questions, and even mainframe questions. Although these are the tech questions most often asked, you will find help on almost any computer or software related subject. Feel free to go to the main menu and review the posts already present, or feel free to ask your own question. (Some questions will be closed once the moderator feels they are sufficiently answered and that no other input is needed).

See All Tips        Iphone Apps


Your Name:

Your Reply:

Type in verification code:


Forum - Front Page

Spyware/Task Database

Computer Tips (Main Page)