|
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:
|
[Prev in Thread] | Current Thread | [Next in Thread] |