0 Replies Latest reply: Jan 16, 2012 10:35 AM by priya sekar RSS

what is use of "leave program" when i execute the program in background

priya sekar
Currently Being Moderated

HI,

      I want to know the usage of "leave program".Actually i m running a program in background when it is runs since there is "no data found" the job goes to "cancelled" status.But if there is no data found the job should run and display there is no data found and it should go to to "Complete" status.But it is not happening so..I guess because of "leave program"

 

Sample code:

MESSAGE I455(SE).

      LEAVE PROGRAM.

    ENDIF.

 

Kindly please suggest how can i solve this problem..