Este Copy-book puede ser utilizado por muchos otros programas, y encontrarse en un otro módulo.
The Copy-books can be used by many other programs, and located in another module.
También nos hace falta un fichero por componente, es decir para cada programa y cada Copy-book.
We also need a file by component, that is to say, for every program and Copy-book.
Si este Copy-book no pertenece al módulo analizado, no tienes que esperar una nueva entrega.
Otra cosa: el nombre del archivo debe ser igual al nombre del programa o Copy-book.
Similarly, the filename must be equal to the name of the program or Copy-book.
Por lo tanto, sería conveniente centralizar la gestión de estos datos en un Copy-Book.
So it would be desirable to define these data in a Copy-Book.
De este modo, cada programa que está haciendo un tratamiento con la tabla (re)utiliza el Copy-Book.
In this way, each program working with the table (re-)use the Copy-book.
Por ejemplo, el siguiente programa llama en la línea 65 al Copy-Book 'MYCOPY'
For example, the following program calls the Copy-book 'MYCOPY' at line 65
Copy-Book: un archivo de instrucciones Cobol, que se utiliza como un 'Include'.
Copy-book: a file of Cobol instructions, used as an Include.
Cuando se compila el programa (en este caso, cuando lo analizamos), podemos ver que el código del Copy-Book se insertó en el programa donde fue llamado
When this program is compiled, or analyzed, as in the following example, we can see that the code of the Copy-book has been inserted into the Cobol program, at the line it was called
He deliberadamente incluido un error para interrumpir el proceso de análisis con el fin de mostrar el código del Copy-Book 'expanded' en el programa Cobol.
I deliberately induced an error in order to stop the analysis and show the error log so that you can see that the code of the Copy-book is 'expanded' in the Cobol program.