Cobol Foro

Cobol Foro (https://www.cobolforo.es/index.php)
-   Fujitsu COBOL (https://www.cobolforo.es/forumdisplay.php?f=77)
-   -   [Sintaxis] JMN3450I-W The result of the MOVE is undefined (https://www.cobolforo.es/showthread.php?t=1022)

Roger 4 de julio de 2019 16:51

JMN3450I-W The result of the MOVE is undefined
 
Al compilar un programa en un bucle
Código COBOL:
  1.  01 campo pic x(150).
  2.  PROCEDURE       DIVISION.
  3.        move pow-text of cmtext2 to campo.
  4.        Perform until campo (1:1) > spaces
  5.        move campo (2: ) to campo
  6.        end-perform.
  7.        MOVE campo TO  pow-text of cmtext2.

me envia error "The result of the MOVE is undefined because the area of sending item 'CAMPO' and the area of receiving item 'CAMPO' overlap."


pero al ejecutar funciona perfecto a que se debe donde esta el error.

este bucle lo uso para eliminar espacios en blanco a la izquierda.

Kuk 4 de julio de 2019 19:12

Roger, es un warning, míralo aquí: 2.2.4 JMN3000 - JMN3999


La franja horaria es GMT +2. Ahora son las 02:41.

Powered by: vBulletin, Versión 3.8.7
Derechos de Autor ©2000 - 2026, Jelsoft Enterprises Ltd.