‎2006 Oct 04 3:10 PM
Hi all,
i am writting a subroutine inside an include.include itself is present inside a subroutine.
form x.
include xyz.
endform.
inside this include, structure of program is like below.
include xyx.
perform y.
perform z.
form y.
endform.
form z.
endform.
so i am geting error like before statement form structure introduced by form must be ended with endform.
can i use perform & form statement inside include?
if not then how is it possible to put perform statements inside that include. this include is nothing but an exit
of program--MV50AFZ1.plz suggest me .it is very urgent.
any suggestion will be highly appreaciated.
Regards
pabitra
‎2006 Oct 04 3:12 PM
‎2006 Oct 04 3:12 PM
‎2006 Oct 04 3:15 PM
For example, if you have a bunch of FORM defintions in your INCLUDE program and you want to be able to call these in the MV50AFZ1 program, simply put the INCLUDE statement at the very top of this program, NOT inside of an existing FORM defition of that program, then you can call the FORMS in your INCLUDE from inside the FORMS of the MV50AFZ1 program.
Regards,
Rich Heilman
‎2006 Oct 04 3:18 PM
<b>inside this include, structure of program is like below.</b>
include xyx.
perform y.
perform z.
form y.
endform.
form z.
endform.
-
Maintain separate Include to keep the FORMS when u ae defining PERFORMS in Include program. Then it will allow u to activate