Skip to main content

I just installed RM/COBOL v 12 on Windows 7 and am trying to compile a project.
Unfortunately, I am receiving a compile error concerning InstantSQL (it compiles without error using v10):
  2550          [0]           COPY LISQLALL.CPY.
  2551          1 000100*===============================================================* LISQLALL
  2552          1 000200* LISQLALL.CPY: Copy all of InstantSQL definitions.             * LISQLALL
  2553          1 000300* InstantSQL (TM) Version 12.02.                                * LISQLALL
  2554          1 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLALL
  2555          1 000500*     reserved.                                                 * LISQLALL
  2556          1 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLALL
  2557          1 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLALL
  2558          1 000800*===============================================================* LISQLALL
  2559          1 000900* REPLACE                                                         LISQLALL
  2561          [1]001000     COPY "lisqlrpl.cpy".
  2562          2 000100*===============================================================* LISQLRPL
  2563          2 000200* LISQLRPL.CPY:  Replacement keys and text.                     * LISQLRPL
  2564          2 000300* InstantSQL (TM) Version 12.02.                                * LISQLRPL
  2565          2 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLRPL
  2566          2 000500*     reserved.                                                 * LISQLRPL
  2567          2 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLRPL
  2568          2 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLRPL
  2569          2 000800*===============================================================* LISQLRPL
  2570          2 000900     REPLACE                                                      LISQLRPL
  >>>   1) 0073: W Pseudo-text operand expected for REPLACE statement.
  2571          2 001000     ==usage ISqlHandle==             BY                          LISQLRPL
                              $
>>>>>   1) 0801: E BY phrase expected here; preceding REPLACE statement might be missing proper termination. (scan suppressed).
  2572          2 001100                               ==PIC S9(8) LEADING VALUE 0.       LISQLRPL
                                                                    $
>>>>>   1) 0138: E Data Division has wrong format. (scan suppressed).
  2573          2 001200                                    88 NOT-OPEN VALUE 0==         LISQLRPL
  2574          2 001300                                                                  LISQLRPL

  Anyone have any ideas?

I just installed RM/COBOL v 12 on Windows 7 and am trying to compile a project.
Unfortunately, I am receiving a compile error concerning InstantSQL (it compiles without error using v10):
  2550          [0]           COPY LISQLALL.CPY.
  2551          1 000100*===============================================================* LISQLALL
  2552          1 000200* LISQLALL.CPY: Copy all of InstantSQL definitions.             * LISQLALL
  2553          1 000300* InstantSQL (TM) Version 12.02.                                * LISQLALL
  2554          1 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLALL
  2555          1 000500*     reserved.                                                 * LISQLALL
  2556          1 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLALL
  2557          1 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLALL
  2558          1 000800*===============================================================* LISQLALL
  2559          1 000900* REPLACE                                                         LISQLALL
  2561          [1]001000     COPY "lisqlrpl.cpy".
  2562          2 000100*===============================================================* LISQLRPL
  2563          2 000200* LISQLRPL.CPY:  Replacement keys and text.                     * LISQLRPL
  2564          2 000300* InstantSQL (TM) Version 12.02.                                * LISQLRPL
  2565          2 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLRPL
  2566          2 000500*     reserved.                                                 * LISQLRPL
  2567          2 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLRPL
  2568          2 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLRPL
  2569          2 000800*===============================================================* LISQLRPL
  2570          2 000900     REPLACE                                                      LISQLRPL
  >>>   1) 0073: W Pseudo-text operand expected for REPLACE statement.
  2571          2 001000     ==usage ISqlHandle==             BY                          LISQLRPL
                              $
>>>>>   1) 0801: E BY phrase expected here; preceding REPLACE statement might be missing proper termination. (scan suppressed).
  2572          2 001100                               ==PIC S9(8) LEADING VALUE 0.       LISQLRPL
                                                                    $
>>>>>   1) 0138: E Data Division has wrong format. (scan suppressed).
  2573          2 001200                                    88 NOT-OPEN VALUE 0==         LISQLRPL
  2574          2 001300                                                                  LISQLRPL

  Anyone have any ideas?

Your InstantSQL copy books do not match those in my version 12.12 installation.  In my copybooks, the REPLACE statement verb (i.e. the reserved word REPLACE) is not commented out of LISQLALL.   I don't have 12.02 to go back to.  The replacements in LISQLRPL do not have the REPLACE verb or the terminating period in version 12.12.  This is so that, should there be a need for other replacements (for example, XML Extensions) in the same program, the replacements may be more easily combined.  (COBOL rules allow only one REPLACE statement to be active at a time.)  For example:

            REPLACE
            COPY LISQLRPL.CPY.
            COPY LIXMLRPL.CPY.
            .

Notice the odd punctuation.  The final full stop terminates the REPLACE, while the COPY statements are terminated by their own full stops. 


I just installed RM/COBOL v 12 on Windows 7 and am trying to compile a project.
Unfortunately, I am receiving a compile error concerning InstantSQL (it compiles without error using v10):
  2550          [0]           COPY LISQLALL.CPY.
  2551          1 000100*===============================================================* LISQLALL
  2552          1 000200* LISQLALL.CPY: Copy all of InstantSQL definitions.             * LISQLALL
  2553          1 000300* InstantSQL (TM) Version 12.02.                                * LISQLALL
  2554          1 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLALL
  2555          1 000500*     reserved.                                                 * LISQLALL
  2556          1 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLALL
  2557          1 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLALL
  2558          1 000800*===============================================================* LISQLALL
  2559          1 000900* REPLACE                                                         LISQLALL
  2561          [1]001000     COPY "lisqlrpl.cpy".
  2562          2 000100*===============================================================* LISQLRPL
  2563          2 000200* LISQLRPL.CPY:  Replacement keys and text.                     * LISQLRPL
  2564          2 000300* InstantSQL (TM) Version 12.02.                                * LISQLRPL
  2565          2 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLRPL
  2566          2 000500*     reserved.                                                 * LISQLRPL
  2567          2 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLRPL
  2568          2 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLRPL
  2569          2 000800*===============================================================* LISQLRPL
  2570          2 000900     REPLACE                                                      LISQLRPL
  >>>   1) 0073: W Pseudo-text operand expected for REPLACE statement.
  2571          2 001000     ==usage ISqlHandle==             BY                          LISQLRPL
                              $
>>>>>   1) 0801: E BY phrase expected here; preceding REPLACE statement might be missing proper termination. (scan suppressed).
  2572          2 001100                               ==PIC S9(8) LEADING VALUE 0.       LISQLRPL
                                                                    $
>>>>>   1) 0138: E Data Division has wrong format. (scan suppressed).
  2573          2 001200                                    88 NOT-OPEN VALUE 0==         LISQLRPL
  2574          2 001300                                                                  LISQLRPL

  Anyone have any ideas?

I commented out the REPLACE in LISQLALL while trying to fix the problem. I've changed it back and the result is the same:
2550 [0] COPY LISQLALL.CPY.
2551 1 000100*===============================================================* LISQLALL
2552 1 000200* LISQLALL.CPY: Copy all of InstantSQL definitions. * LISQLALL
2553 1 000300* InstantSQL (TM) Version 12.02. * LISQLALL
2554 1 000400* Copyright (c) 2008 by Liant Software Corporation. All rights * LISQLALL
2555 1 000500* reserved. * LISQLALL
2556 1 000600* InstantSQL is a trademark of Liant Software Corporation. * LISQLALL
2557 1 000700* $Revision:: 6427 $ $Date:: 2008-02-28 15:20:52 #$ * LISQLALL
2558 1 000800*===============================================================* LISQLALL
2559 1 000900 REPLACE LISQLALL
$
>>>>> 1) 0073: W Pseudo-text operand expected for REPLACE statement.
2561 [1]001000 COPY lisqlrpl.cpy.
2562 2 000100*===============================================================* LISQLRPL
2563 2 000200* LISQLRPL.CPY: Replacement keys and text. * LISQLRPL
2564 2 000300* InstantSQL (TM) Version 12.02. * LISQLRPL
2565 2 000400* Copyright (c) 2008 by Liant Software Corporation. All rights * LISQLRPL
2566 2 000500* reserved. * LISQLRPL
2567 2 000600* InstantSQL is a trademark of Liant Software Corporation. * LISQLRPL
2568 2 000700* $Revision:: 6427 $ $Date:: 2008-02-28 15:20:52 #$ * LISQLRPL
2569 2 000800*===============================================================* LISQLRPL
2570 2 000900 LISQLRPL
$
>>>>> 1) 0801: E BY phrase expected here; preceding REPLACE statement might be missing proper termination. (scan suppressed).
>>>>> Previous diagnostic message occurred at line 2559.
2571 2 001000 ==usage ISqlHandle== BY LISQLRPL
2572 2 001100 ==PIC S9(8) LEADING VALUE 0. LISQLRPL
$
>>>>> 1) 0005: I Scan resumed.
>>>>> 1) 0138: E Data Division has wrong format. (scan suppressed).
>>>>> Previous diagnostic message occurred at line 2570.

2573 2 001200 88 NOT-OPEN VALUE 0== LISQLRPL
2574 2 001300 LISQLRPL

I just installed RM/COBOL v 12 on Windows 7 and am trying to compile a project.
Unfortunately, I am receiving a compile error concerning InstantSQL (it compiles without error using v10):
  2550          [0]           COPY LISQLALL.CPY.
  2551          1 000100*===============================================================* LISQLALL
  2552          1 000200* LISQLALL.CPY: Copy all of InstantSQL definitions.             * LISQLALL
  2553          1 000300* InstantSQL (TM) Version 12.02.                                * LISQLALL
  2554          1 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLALL
  2555          1 000500*     reserved.                                                 * LISQLALL
  2556          1 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLALL
  2557          1 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLALL
  2558          1 000800*===============================================================* LISQLALL
  2559          1 000900* REPLACE                                                         LISQLALL
  2561          [1]001000     COPY "lisqlrpl.cpy".
  2562          2 000100*===============================================================* LISQLRPL
  2563          2 000200* LISQLRPL.CPY:  Replacement keys and text.                     * LISQLRPL
  2564          2 000300* InstantSQL (TM) Version 12.02.                                * LISQLRPL
  2565          2 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLRPL
  2566          2 000500*     reserved.                                                 * LISQLRPL
  2567          2 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLRPL
  2568          2 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLRPL
  2569          2 000800*===============================================================* LISQLRPL
  2570          2 000900     REPLACE                                                      LISQLRPL
  >>>   1) 0073: W Pseudo-text operand expected for REPLACE statement.
  2571          2 001000     ==usage ISqlHandle==             BY                          LISQLRPL
                              $
>>>>>   1) 0801: E BY phrase expected here; preceding REPLACE statement might be missing proper termination. (scan suppressed).
  2572          2 001100                               ==PIC S9(8) LEADING VALUE 0.       LISQLRPL
                                                                    $
>>>>>   1) 0138: E Data Division has wrong format. (scan suppressed).
  2573          2 001200                                    88 NOT-OPEN VALUE 0==         LISQLRPL
  2574          2 001300                                                                  LISQLRPL

  Anyone have any ideas?

Are you, by any chance, using the >>IMP directive to allow an unlimited right margin?

I just installed RM/COBOL v 12 on Windows 7 and am trying to compile a project.
Unfortunately, I am receiving a compile error concerning InstantSQL (it compiles without error using v10):
  2550          [0]           COPY LISQLALL.CPY.
  2551          1 000100*===============================================================* LISQLALL
  2552          1 000200* LISQLALL.CPY: Copy all of InstantSQL definitions.             * LISQLALL
  2553          1 000300* InstantSQL (TM) Version 12.02.                                * LISQLALL
  2554          1 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLALL
  2555          1 000500*     reserved.                                                 * LISQLALL
  2556          1 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLALL
  2557          1 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLALL
  2558          1 000800*===============================================================* LISQLALL
  2559          1 000900* REPLACE                                                         LISQLALL
  2561          [1]001000     COPY "lisqlrpl.cpy".
  2562          2 000100*===============================================================* LISQLRPL
  2563          2 000200* LISQLRPL.CPY:  Replacement keys and text.                     * LISQLRPL
  2564          2 000300* InstantSQL (TM) Version 12.02.                                * LISQLRPL
  2565          2 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLRPL
  2566          2 000500*     reserved.                                                 * LISQLRPL
  2567          2 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLRPL
  2568          2 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLRPL
  2569          2 000800*===============================================================* LISQLRPL
  2570          2 000900     REPLACE                                                      LISQLRPL
  >>>   1) 0073: W Pseudo-text operand expected for REPLACE statement.
  2571          2 001000     ==usage ISqlHandle==             BY                          LISQLRPL
                              $
>>>>>   1) 0801: E BY phrase expected here; preceding REPLACE statement might be missing proper termination. (scan suppressed).
  2572          2 001100                               ==PIC S9(8) LEADING VALUE 0.       LISQLRPL
                                                                    $
>>>>>   1) 0138: E Data Division has wrong format. (scan suppressed).
  2573          2 001200                                    88 NOT-OPEN VALUE 0==         LISQLRPL
  2574          2 001300                                                                  LISQLRPL

  Anyone have any ideas?

No idea. Where would I find it?

I just installed RM/COBOL v 12 on Windows 7 and am trying to compile a project.
Unfortunately, I am receiving a compile error concerning InstantSQL (it compiles without error using v10):
  2550          [0]           COPY LISQLALL.CPY.
  2551          1 000100*===============================================================* LISQLALL
  2552          1 000200* LISQLALL.CPY: Copy all of InstantSQL definitions.             * LISQLALL
  2553          1 000300* InstantSQL (TM) Version 12.02.                                * LISQLALL
  2554          1 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLALL
  2555          1 000500*     reserved.                                                 * LISQLALL
  2556          1 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLALL
  2557          1 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLALL
  2558          1 000800*===============================================================* LISQLALL
  2559          1 000900* REPLACE                                                         LISQLALL
  2561          [1]001000     COPY "lisqlrpl.cpy".
  2562          2 000100*===============================================================* LISQLRPL
  2563          2 000200* LISQLRPL.CPY:  Replacement keys and text.                     * LISQLRPL
  2564          2 000300* InstantSQL (TM) Version 12.02.                                * LISQLRPL
  2565          2 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLRPL
  2566          2 000500*     reserved.                                                 * LISQLRPL
  2567          2 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLRPL
  2568          2 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLRPL
  2569          2 000800*===============================================================* LISQLRPL
  2570          2 000900     REPLACE                                                      LISQLRPL
  >>>   1) 0073: W Pseudo-text operand expected for REPLACE statement.
  2571          2 001000     ==usage ISqlHandle==             BY                          LISQLRPL
                              $
>>>>>   1) 0801: E BY phrase expected here; preceding REPLACE statement might be missing proper termination. (scan suppressed).
  2572          2 001100                               ==PIC S9(8) LEADING VALUE 0.       LISQLRPL
                                                                    $
>>>>>   1) 0138: E Data Division has wrong format. (scan suppressed).
  2573          2 001200                                    88 NOT-OPEN VALUE 0==         LISQLRPL
  2574          2 001300                                                                  LISQLRPL

  Anyone have any ideas?

Possibly in your main program.  I noticed that my v12.12 copy book has IMP directoves to set the right margin at column 72 (the legacy right margin). Since you have been editing the copy books, perhaps it would help to compare to a recent release (I am pretty sure they haven't changed much).

Here is the v12.12 LISQLALL:

5657.lisqlall.txt

And here is LISQLRPL

5657.lisqlall.txt


I just installed RM/COBOL v 12 on Windows 7 and am trying to compile a project.
Unfortunately, I am receiving a compile error concerning InstantSQL (it compiles without error using v10):
  2550          [0]           COPY LISQLALL.CPY.
  2551          1 000100*===============================================================* LISQLALL
  2552          1 000200* LISQLALL.CPY: Copy all of InstantSQL definitions.             * LISQLALL
  2553          1 000300* InstantSQL (TM) Version 12.02.                                * LISQLALL
  2554          1 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLALL
  2555          1 000500*     reserved.                                                 * LISQLALL
  2556          1 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLALL
  2557          1 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLALL
  2558          1 000800*===============================================================* LISQLALL
  2559          1 000900* REPLACE                                                         LISQLALL
  2561          [1]001000     COPY "lisqlrpl.cpy".
  2562          2 000100*===============================================================* LISQLRPL
  2563          2 000200* LISQLRPL.CPY:  Replacement keys and text.                     * LISQLRPL
  2564          2 000300* InstantSQL (TM) Version 12.02.                                * LISQLRPL
  2565          2 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLRPL
  2566          2 000500*     reserved.                                                 * LISQLRPL
  2567          2 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLRPL
  2568          2 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLRPL
  2569          2 000800*===============================================================* LISQLRPL
  2570          2 000900     REPLACE                                                      LISQLRPL
  >>>   1) 0073: W Pseudo-text operand expected for REPLACE statement.
  2571          2 001000     ==usage ISqlHandle==             BY                          LISQLRPL
                              $
>>>>>   1) 0801: E BY phrase expected here; preceding REPLACE statement might be missing proper termination. (scan suppressed).
  2572          2 001100                               ==PIC S9(8) LEADING VALUE 0.       LISQLRPL
                                                                    $
>>>>>   1) 0138: E Data Division has wrong format. (scan suppressed).
  2573          2 001200                                    88 NOT-OPEN VALUE 0==         LISQLRPL
  2574          2 001300                                                                  LISQLRPL

  Anyone have any ideas?

The >>IMP MARGIN-R directive would be in your source files, but I don't think that's the issue. The 12.02 version of InstantSQL supplied copy files that set this directive as the first line just to prevent that being a problem with customer source files that included them. It looks to me that when you edited the copy books you made the mistake of moving part of the Identification area text into the source text (columns 8 - 72) of the program. This mistake is evidenced by the warning 0073 that comes first. The LISQLALL in lisqall.cpy and LISQLRPL in lisqlrpl.cpy must be in columns 73 - 80 or eliminated when you edit a line. It would be preferable that you did not edit the supplied copy books at all.

I just installed RM/COBOL v 12 on Windows 7 and am trying to compile a project.
Unfortunately, I am receiving a compile error concerning InstantSQL (it compiles without error using v10):
  2550          [0]           COPY LISQLALL.CPY.
  2551          1 000100*===============================================================* LISQLALL
  2552          1 000200* LISQLALL.CPY: Copy all of InstantSQL definitions.             * LISQLALL
  2553          1 000300* InstantSQL (TM) Version 12.02.                                * LISQLALL
  2554          1 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLALL
  2555          1 000500*     reserved.                                                 * LISQLALL
  2556          1 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLALL
  2557          1 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLALL
  2558          1 000800*===============================================================* LISQLALL
  2559          1 000900* REPLACE                                                         LISQLALL
  2561          [1]001000     COPY "lisqlrpl.cpy".
  2562          2 000100*===============================================================* LISQLRPL
  2563          2 000200* LISQLRPL.CPY:  Replacement keys and text.                     * LISQLRPL
  2564          2 000300* InstantSQL (TM) Version 12.02.                                * LISQLRPL
  2565          2 000400* Copyright (c) 2008 by Liant Software Corporation.  All rights * LISQLRPL
  2566          2 000500*     reserved.                                                 * LISQLRPL
  2567          2 000600* InstantSQL is a trademark of Liant Software Corporation.      * LISQLRPL
  2568          2 000700* $Revision:: 6427   $      $Date:: 2008-02-28 15:20:52 #$      * LISQLRPL
  2569          2 000800*===============================================================* LISQLRPL
  2570          2 000900     REPLACE                                                      LISQLRPL
  >>>   1) 0073: W Pseudo-text operand expected for REPLACE statement.
  2571          2 001000     ==usage ISqlHandle==             BY                          LISQLRPL
                              $
>>>>>   1) 0801: E BY phrase expected here; preceding REPLACE statement might be missing proper termination. (scan suppressed).
  2572          2 001100                               ==PIC S9(8) LEADING VALUE 0.       LISQLRPL
                                                                    $
>>>>>   1) 0138: E Data Division has wrong format. (scan suppressed).
  2573          2 001200                                    88 NOT-OPEN VALUE 0==         LISQLRPL
  2574          2 001300                                                                  LISQLRPL

  Anyone have any ideas?

Fantastic! I now have a clean compile.

Thank you very much