Hi Frank,
On 28 Oct 96, 12:46, Frank Mallory wrote to All
FM> I am processing a lot of numeric data using COBOL and producing
FM> tables which I would like to import into WP5.1+ and print out. I
FM> would like to use different fonts and use other WP formatting
FM> features within the data.
FM> Right now, I am importing the tables as ASCII text into WP and
FM> inserting the various font and formatting codes by hand, which is
FM> a very tedious process.
FM> Is there any way I can generate WP formatting codes in a COBOL
FM> program and import them along with the text?
If COBOL is capable of handling binary files (as opposed to pure ascii files)
the answer is yes. I've done things like that in C but not COBOL.
If the original data are in a highly structured tabular format I'd write a
program to convert that into a merge data file. Then using that I'd merge the
data with a primary file containing the required layout of the table.
Optionally I might do then some post processing with a macro.
Without some reasonable info about the layout of the original file I can't
really say much more. And it would probably too much off topic. Unless that
layout is so simple that it might be done with a 'simple' macro ...
Greetings from
_____
/_|__| Auke Reitsma, Delft, The Netherlands.
/ | \ --------------------------------------
email: Auke.Reitsma@net.HCC.nl
--- GEcho 1.00
---------------
* Origin: Home by the C (2:281/400.20)
|