I don't do a lot of COBOL anymore (it is still used in our company), but I don't see how column 4 and 65 indicate COBOL areas. If the line was at 7 where the asterisk goes, or 8 where the code starts it would make more sense then 4. And the code can go out to 72 columns (I think) so the line at column 65 cuts right through the code.

Oh well, I spent enough time looking for a way to move those lines so folks that want to use VSCode for COBOL will just have to live with them. (Or maybe one of them will be smarter than me.)

Dave Begley




-----Original Message-----
From: Kelly Cookson <KCookson@xxxxxxxxxxxx>
Sent: Wednesday, August 10, 2022 4:44 PM
To: COBOL Programming on the IBM i (AS/400 and iSeries) <cobol400-l@xxxxxxxxxxxxxxxxxx>
Cc: Dave Begley <Dave.Begley@xxxxxxxxxxxxxxx>
Subject: RE: [COBOL400-L] [EXTERNAL] Re: (Kein Betreff)

[You don't often get email from kcookson@xxxxxxxxxxxx. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

NOTICE: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Those line show different "areas" in COBOL code. There are more than 3 areas, but these three are good to know:
Indicator Area
Area A
Area B

Basically, those vertical lines tell you which column some things need to start. For example, an asterisk in the Indicator Area makes the line comment, and a dash in the Indicator Area continues a long line of code. Section names begin in Area A. The code within a section begins in Area B. You probably wouldn't want to "turn off" these lines for COBOL development.

Thanks,

Kelly Cookson
Senior Software Engineer II
Dot Foods, Inc.
1-217-773-4486 ext. 12676
https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dotfoods.com%2F&amp;data=05%7C01%7CDave.Begley%40healthsmart.com%7C195da88c8e0740444cb808da7b1101ee%7C2ce547c5e80a40628a56f25adceefb52%7C0%7C0%7C637957610225437647%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=JhOvfo6e1LL%2FDK%2FA%2BxrDfo2ROfqMCjz5%2BvV2qir0%2FJ0%3D&amp;reserved=0


Disclaimer: This communication and any files transmitted with it may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is strictly prohibited. If you received this communication in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.