I need help here in finding out the compilation error.
I have added procedure name in the linkage secion like below
PROCESS NOMONOPRC.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SPECIAL-NAMES.
LINKAGE TYPE IS PROCEDURE FOR "SgnMax".
DATA DIVISION.
WORKING-STORAGE SECTION.
01 Numeric-Value-1 PIC S9(9).
01 Numeric-Value-2 PIC S9(9).
01 Answer PIC S9(9).
PROCEDURE DIVISION.
MAIN-LINE.
CALL "SgnMax" USING BY CONTENT Numeric-Value-1,
BY CONTENT Numeric-Value-2,
GIVING Answer.
The problem is compilation log does not give any 10+ level errors but in the end it gives error -
LNC9001 40 Compile failed. PGMABC not created.
. Can someone please advise on potential issues with this?
I have added procedure name in the linkage secion like below
PROCESS NOMONOPRC.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SPECIAL-NAMES.
LINKAGE TYPE IS PROCEDURE FOR "SgnMax".
DATA DIVISION.
WORKING-STORAGE SECTION.
01 Numeric-Value-1 PIC S9(9).
01 Numeric-Value-2 PIC S9(9).
01 Answer PIC S9(9).
PROCEDURE DIVISION.
MAIN-LINE.
CALL "SgnMax" USING BY CONTENT Numeric-Value-1,
BY CONTENT Numeric-Value-2,
GIVING Answer.
The problem is compilation log does not give any 10+ level errors but in the end it gives error -
LNC9001 40 Compile failed. PGMABC not created.
. Can someone please advise on potential issues with this?
Comment