Re: Micro Focus COBCPY Question



"Chris" <ctaliercio@xxxxxxxxx> wrote in news:1114695336.804939.101970
@f14g2000cwb.googlegroups.com:

> Jimmy,
>
> Thanks for spending so much time looking at this for me. Any and all
> help is appreciated.
>
> Again, since I am on UNIX, the Windows IDE options are not available
> for me. Even with the wonderfully powerful "cross-platform" development
> options, the securit czars here will not let that happen. One of my
> hideous restrictions is that all development and "build" activity must
> occur on the UNIX server.
>
> Another restriction (due to the fact that I "inherited" this
> application) is that all COPY statements are inferred. The copy member
> can not be qualified in any way. On top of that - there is a
> pre-compile process that runs and internally explodes the COPY and COPY
> ... REPLACING statements, so monkeying around with that could be
> catastrophic.

You never said how many of those files are source (eg .CBL "main"
programs) and how many are copy files (eg .cpy). If you do indeed have a
precompiler that creates a single monolithic file for the compiler, than
the precompiler is all that you need to fool with. COBCPY would not be
needed if there are no copys when the compiler sees the source. Just
diddle with the precompiler.


>
> I guess, really what I was looking for was a way to "simplify" the way
> the source is organized. Again, if I could get all of the sources into
> a single directory without suffering performance degradation, I would
> most certainly do it.
>
> In considering the task overnight, I'm thinking that maybe for
> simplicity sake I can hard code 5 or 6 directories for source, allowing
> about 2500 files (max) in each directory. Then maybe use some sort of
> "balancing" mechanism when creating new source files.
>
> Unfortunately, breaking up into "modular" chunks is not possible, as
> all of the source code belongs to a single application.
>
> Thanks again,
> Chris
>

.



Relevant Pages

  • Re: Microfocus Netexpress question : COBSQL vs openESQL
    ... Your comments indicate standalone. ... >> precompiler directives to the precompiler and compiler directives to ... >> Don't trust COBSQL to do anything right. ...
    (comp.lang.cobol)
  • Re: Conditional Assembly (Pre-Compilers)
    ... I'm not sure how the MASM precompiler works, ... resource compiler could come in and compile a resource file ... the macro processor and the assembler work together, ...
    (alt.lang.asm)
  • Re: In answer to RW - again (was: Sorts (revised)
    ... The point is that the compiler has NO knowledge of the EXEC SQL statements ... >>the statement to the database engine" - this is really a relatively NEW ... > precompiler is a technical detail. ... They both run at compile time. ...
    (comp.lang.cobol)
  • Re: COBOL/Oracle 7.3 -> 9.2 migration problems
    ... Do you still have the "old system" (compiler and precompiler) available? ... Then compare what directives are being used in the two ... > not in the same sequence as the old program...one is in ASCII sequence, ...
    (comp.lang.cobol)