DELAY
COBOL
Java
EXEC CICS DELAY
ibmCics.delay
Syntax
ibmCics . delay ( < delayMs > );
or
ibmCics . delay ( < hours >, < minutes >, < seconds >, < millisecond >, < until >);
Parameters
<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).
info The until option isn't supported at this moment.
Examples
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 );