GOTO

<< Click to Display Table of Contents >>

Navigation:  Scripts (Batch Interface) > Syntax > Statements >

GOTO

Previous pageReturn to chapter overviewNext page

This statement jumps to the specified label and continues executing the script from there as a procedure. Once the code finishes (exit or end of the script is reached) then the execution continues with the next statement  after GOTO. The label can be any text followed by a colon:

 

. . .

START:

scan=''

   if Obj-Type = 'JOBP'

       . . .

       goto=START

   end-if

end-scan