AMT Help Files

GO TO

 This page is under construction.
COBOL JAVA
GO TO Java continue

Example(s)

COBOL Java
GO TO 0000-MAIN-EXIT.
                
jumpToLabel = lab_0000_Main_Exit;
                

GO TO Conditional

COBOL JAVA
GO TO ... DEPENDING ON Java switch & continue

Example(s)

COBOL Java
GO TO 01-EXIT 02-EXIT 03-EXIT 04-EXIT
    DEPENDING ON INT-I.
                
switch (locDef.int_I.toInt()) {
    case 1:
        jumpToLabel = Label_01_Exit;
        continue mainLoop;
    case 2:
        jumpToLabel = Label_02_Exit;
        continue mainLoop;
    case 3:
        jumpToLabel = Label_03_Exit;
        continue mainLoop;
    case 4:
        jumpToLabel = Label_04_Exit;
        continue mainLoop;
}
performExternalSection(cobolPerform, jumpToLabel);