please need help friends.i am trying to execute cobol+db2 but i get MAXCC=4. BELOW IS THE ERROR.
First, the ONLY program that I know of that uses MAXCC is IDCAMS, and if you are compiling a COBOL program there is NO reason to use IDCAMS.
Second, if you are trying to say you got a condition code of 4 -- SAY THAT! And, please, tell us if you got the 4 in the precompile step, the compile step, the linkage editor / binder step, or where -- if we guess we may guess wrong.
Third, the message you show is a warning and will not prevent the compile and may not even prevent the program from executing.
Fourth, if you are trying to execute a program, WHY ARE YOU SHOWING US THE COMPILE? Show us the execution results, not the compile, if you are running the program!