I'm trying to use ISREDIT MACRO (As part of some REXX programs) to delete the first 10 lines of a subroutine (info lib section) and replacing the first 10 lines with some changes.
In the input program, the 4th line is as follows
000004 ******* LAYOUTVERS 001
But after calling this EDIT MACRO my output is as follows
000004 * LAYOUTVERS 001
The 6 '*' signs in columns 1 to 6 are not getting populated in the output program
Please provide more information:
- post the macro code
- "before" sample
- "after" sample
Until then, we don't know nothing:
which commands do you use to make the change ?
we see line 4 has changed, but that's just what you wanted, so where is the problem ?
what happened to the other lines ?
Before change
******* ############ START OF TEMPORARY SECTION OF INFOLIB
******* ############ START OF PERMANENT SECTION OF INFOLIB
******* LAYOUTVERS 001
******* ENTITYTYPE STATIC_SUBROUTINE
******* COMPILER COBOLII
******* COBOLDELIM QUOTE
******* NCAL YES
******* DLI NO
******* ############ END OF INFOLIB
IDENTIFICATION DIVISION.
After change
******* ############ START OF TEMPORARY SECTION OF INFOLIB
******* ############ START OF PERMANENT SECTION OF INFOLIB
******* LAYOUTVERS 001
******* ENTITYTYPE STATIC_SUBROUTINE
******* COMPILER ENTCOB
* COBOLDELIM QUOTE
* NCAL YES
* DLI NO
* ############ END OF INFOLIB
IDENTIFICATION DIVISION.
My requirement is like as follows
******* ############ START OF TEMPORARY SECTION OF INFOLIB
******* ############ START OF PERMANENT SECTION OF INFOLIB
******* LAYOUTVERS 001
******* ENTITYTYPE STATIC_SUBROUTINE
******* COMPILER ENTCOB
******* COBOLDELIM QUOTE
******* NCAL YES
******* DLI NO
******* ############ END OF INFOLIB
IDENTIFICATION DIVISION.