OpenCOBOL Forum Index OpenCOBOL
LINE ADVANCING clause for PRINTING | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| EdBorchert | Posted on: 2010/7/29 10:39 |
Just popping in ![]() ![]() Joined: 2010/7/28 From: Posts: 9 |
LINE ADVANCING clause for PRINTING I have implemented the LINE ADVANCING clause (MF) in the compiler and libcob. (Including trailing space trimming)
To whom can I send the code changes? Also a VERY big change to allow "VALUES" synonymous for "VALUE". :lol: Regards, Ed Borchert |
| Franklin | Posted on: 2010/7/29 12:00 |
Not too shy to talk ![]() ![]() Joined: 2006/6/22 From: Hamburg, Germany Posts: 21 |
Re: LINE ADVANCING clause for PRINTING Hi Ed,
just place the diff file right here between code tags. Here is how i did it for some of my changes: http://www.opencobol.org/modules/newbb/viewtopic.php?topic_id=1019&forum=1 Regards Franklin |
| Mado | Posted on: 2010/7/29 12:03 |
Just popping in ![]() ![]() Joined: 2010/5/25 From: Posts: 15 |
Re: LINE ADVANCING clause for PRINTING Hi,
the changes you can post with code tags here in the forum. Can you provide example programs to? Perhaps your changes already implemented in a new OpenCOBOL version. This works for example in OC 1.1.0 Packaged Jun 10 2010 06:45:57 UTC: But I am surprised that it works, because LINE ADVANCING and ORGANIZATION LINE SEQUENTIAL may not be specified together. Regards, Mado |
| EdBorchert | Posted on: 2010/7/29 13:40 |
Just popping in ![]() ![]() Joined: 2010/7/28 From: Posts: 9 |
Re: LINE ADVANCING clause for PRINTING I am using version 1.1.0 and is was not implemented there.
The syntax I use : select list-a assign to line advancing "list-a" organization is sequential file status is ph-status. |
| EdBorchert | Posted on: 2010/7/29 14:19 |
Just popping in ![]() ![]() Joined: 2010/7/28 From: Posts: 9 |
Re: LINE ADVANCING clause for PRINTING OK, here we go.
First of all .... all lines of code that area changed are recognizable by the string "/* EB */" ======================================================= ========================================================== =========================================================== ========================================================== =========================================================== |
| Mado | Posted on: 2010/7/30 7:23 |
Just popping in ![]() ![]() Joined: 2010/5/25 From: Posts: 15 |
Re: LINE ADVANCING clause for PRINTING Hi Ed,
not every version 1.1.0 is the same version. You have to look for the packaged date (cobc -V). In my version 1.1.0 with "Packaged Jun 10 2010 06:45:57 UTC" your example works fine (there is no compile warning/error). You should wait for the user human. He can probably give you the current version. |
| human | Posted on: 2010/7/30 9:15 |
Home away from home ![]() ![]() Joined: 2007/5/15 From: Posts: 958 |
Re: LINE ADVANCING clause for PRINTING The most current official pre-release can be found in the download area (and is from Feb 06 2009 10:30:55 CET). Other unofficial versions should not be shared.
I hope Roger find the time to release 2.0pre soon, but I guess it will need some weeks if not even months. @mado: Good that you've checked that on a newer version, so there is no patch to current OC source necessary. @Ed: Good that you've submitted a patch for the last official pre-release, we do not know how long we need to wait for first 2.0. PLEASE edit your post and use code tags for code snippets/diffs/... It's good to have another person looking at OC source. human |
| EdBorchert | Posted on: 2010/7/30 9:41 |
Just popping in ![]() ![]() Joined: 2010/7/28 From: Posts: 9 |
Re: LINE ADVANCING clause for PRINTING @human,
What do you mean by "use code tags"? I just used "diff -rc" (on a Linux box). Ed |
| Franklin | Posted on: 2010/7/30 10:18 |
Not too shy to talk ![]() ![]() Joined: 2006/6/22 From: Hamburg, Germany Posts: 21 |
Re: LINE ADVANCING clause for PRINTING Ed
what is meant is that you should mark your diff file with surrounding code tags. The beginning tag is "["code"]" and the end tag is "["/code"]", just leave the quotes away. Franklin |
| EdBorchert | Posted on: 2010/7/30 14:15 |
Just popping in ![]() ![]() Joined: 2010/7/28 From: Posts: 9 |
Re: LINE ADVANCING clause for PRINTING Thanks!
Done. And now I understand the meaning of the tags too |
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |








