infinite looping

Nash John emailtonash at gmail.com
Wed May 6 18:33:22 EDT 2009


here is an example infinite loop.

data flag(1).

do.
if flag = 'X'.
exit.
endif.
enddo.




On Wed, May 6, 2009 at 3:56 AM, priyank dev <priyank.dev at gmail.com> wrote:

> hi,
>    Thank you..but how come it goes infinite looping if we set the priority
> = 8..could you please elaborate on this..
>
> On Tue, May 5, 2009 at 11:56 PM, Rick Bakker <rbakker at gmail.com> wrote:
>
>> Hello,
>>
>> To do an infinite loop (eg so you can attach to a background job to do
>> debugging)
>> you can set any variable to a constant value and then loop while it
>> has that constant value. Once you enter in debugging mode you change
>> the value and it comes out of the loop. Of course, be very very
>> careful with infinite loops!
>>
>> The variable does not have to be WF_PRIORITY and the constant does not
>> have to be 8.
>>
>> regards
>> Rick Bakker
>> Hanbi Technology
>>
>> On 5/4/09, priyank dev <priyank.dev at gmail.com> wrote:
>> > hi experts,
>> >                 I had been told that for infinite looping, we need to
>> put a
>> > condition &_WF_PRIORITY& = 8( as a constant value).so how does it
>> work.how
>> > it goes to infinite loop based on this condition.
>> >
>> >
>> > _______________________________________________
>> > SAP-WUG mailing list
>> > SAP-WUG at mit.edu
>> > http://mailman.mit.edu/mailman/listinfo/sap-wug
>> >
>> >
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>
>
>
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20090506/d0e95481/attachment.htm


More information about the SAP-WUG mailing list