I have 6 programs that I include in one by using % include statement and source code.Only the first % include statements works and it dosen't give any error or warning in log. It just dosen't execute the other statements.
Can any one please help me as to why is it happening and how do I avoid it?
There are any number of ways this can happen, from orphan quotes to the RSUBMIT problem Scott told you about in May to PDS problems in z/OS to some subtle differences in interactive vs batch processing.
If you manually paste all the programs into one file, does it work? (Use ctrl-A in each file to select EVERYTHING.) If so, that would point to problems in the %INCLUDE syntax itself.
Without more information, the forum is sort of handicapped to help. Tech Support may be your best bet to a quick solution.