Not coding 'Record contains...' in the COBOL program.

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Post Reply
Raghubeer Singh
New Member
Posts: 2
Joined: Sat Aug 02, 2014 9:41 pm

Not coding 'Record contains...' in the COBOL program.

Post by Raghubeer Singh »

Hi,

I have noticed one thing that when I do not code the 'Records contains" clause in my program the LRECL is defaulted LRECL to 80. Is it a known behavior, I wonder. Please guide me in this regard.
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Not coding 'Record contains...' in the COBOL program.

Post by nicc »

For your guide on this please refer to the COBOL reference manual.
Regards
Nic
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Not coding 'Record contains...' in the COBOL program.

Post by Robert Sample »

Yes, it is a known behavior that is explained in the Language Reference manual. The record size of 80, however, depends upon your program.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”