AMT Help Files
Home Development Command Translation CICS Commands DELAY

DELAY

COBOL Java
EXEC CICS DELAY ibmCics.delay

Syntax

ibmCics.delay ( <delayMs> );
or
ibmCics.delay ( <hours>, <minutes>, <seconds>, <millisecond>, <until>);

Parameter(s)

<delayMs>
Delay interval in milliseconds.

<hours>
Number of hours to be used in the delay.
<minutes>
Number of minutes to be used in the delay.
<seconds>
Number of seconds to be used in the delay.
<millisecond>
Number of milliseconds to be used in the delay.
<until>
Boolean which indicates if the delay should be for the duration of the time set (false) or until the set time is reached (true).
The until option is not supported at this moment.

Example(s)

COBOL Java
EXEC CICS
    DELAY
        INTERVAL(000500)
END-EXEC.
                
ibmCics.delay(500);
                
EXEC CICS
    DELAY
        FOR HOURS(1) MINUTES(45) SECONDS(30)
END-EXEC.
                
ibmCics.delay(1, 45, 30, 0, false);
                

Contents

 Go to top