Problem:
We want to set tag lines from col1 to col7 in our S-Cobol, in order to keep them into the generated Cobol Sources. The problem is that when we add tag lines into our S-Cobol from col1 to col7, the generation of the Cobol Source gives an error.
Example:
TAG001 DISPLAY 'Tag line'
When this program is loaded in AMB, the generation job fails with the following message:
TAG001 DISPLAY 'Tag line' 00004800 ??? THE ABOVE LINE (48) CAUSED THE FOLLOWING MESSAGE: APS-EXP-5436-00-E THE ABOVE KEYWORD IS INVALID ??? PROGRAM NOT GENERATED; CHECK ERRORS
Solution:
Currently adding tag lines in columns 1 to 7 is not supported in AMB generation process. However it is possible to insert tags into columns 73 – 80 by using the syntax below:
DISPLAY 'TAG TEST' &TAGTEST
The result will be:
DISPLAY 'TAG TEST' TAGTESTPG
The ‘PG’ after ‘TAGTEST’ is automatically added by our program generator.
Incident: 2612829
Product: Mainframe Express 3.1 Application Master Builder 6.0
#APS-EXP-5436-00-EtagS-COBOL
#MFDS
#EnterpriseDeveloper