gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] OC compiled for 64 bit?


From: Wim Niemans
Subject: Re: [open-cobol-list] OC compiled for 64 bit?
Date: Mon, 1 Jul 2013 15:44:58 +0200

Victor,

i'll reply not because I KNOW, but I do recognize the following:

On another note: Compiled some appl that write to the printer which is assigned as org line sequential and found it printing every other line, i.e., leaving a blank line after each line being printed and the solution was to remove the organisation sub-clause however this should NOT be required.

 

Anyone know why this is happening?

Line Sequential should be applied to disk/tape files only.
As far as I know a printer (if assigned so) does not need a organization clause, same as the input terminal (stdin).
Though one may add such clause to make the program compatible with piped workflow in *nix.

What happens is:

When you write to your printer, the syntax is WRITE LINE AFTER/BEFORE ADVANCING x LINES.
When AFTER/BEFORE is missing, some default applies to x: probably that is AFTER 1 LINE.
Now, LINE SEQUENTIAL adds a end-of-line to your record, which should be different for Mac, Windows, *nix.
So you end up with ADVANCING 1 LINE **and** some "printer control" that interprets the end-of-line.

Try to ADVANCE 0 (zero) LINES and see what happens.
Or treat your file just as you would have a disk file.

Wim






Op 1 jul. 2013, om 14:14 heeft Vincent Coen het volgende geschreven:

Hi;

 

Hoping someone can help me

 

I have compiled OC on my x64 Linux system but pretty sure it is not compiling as x64 nor the applications.

 

So I have a few questions I need solving:

 

1. How do you build OC for x64?
2. How do you build your apps for x64?
3. What issues will arise by doing 1 and 2, e.g.;
What data fields change in size causing file compatibility problems?
What other issues rear their ugly head?

 

On another note: Compiled some appl that write to the printer which is assigned as org line sequential and found it printing every other line, i.e., leaving a blank line after each line being printed and the solution was to remove the organisation sub-clause however this should NOT be required.

 

Anyone know why this is happening?

 

Vincent
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list


reply via email to

[Prev in Thread] Current Thread [Next in Thread]