Skip to Content
0
Former Member
Jul 08, 2008 at 10:36 AM

PERFORM statment in INCLUDE program

842 Views

Dear Friends

I have main program and I'm using include program,

In the include program, i want to use PERFORM statement and place subroutine program in the same include program, is it possible?

i was tried so many times,

but syntax error coming as follows,

Incorrect nesting: Before the statment "FORM" , the structure introduced by "IF" must be concluded with "ENDIF".

when I placed subroutine in the main program it's working properly

please suggest me what can i do or any helpful words.

Thanks in Advance.