SIZE |
Taille |
---|---|
Cobol |
Syntaxe
ADD identifier1 TO identifier2 [ROUNDED] [[ON] SIZE ERROR imperativestatement1] [NOT [ON] SIZE ERROR imperativestatement2] END-ADD |
ADD identifier1[,identifier2] TO identifier2 [ROUNDED] GIVING identifierm ROUNDED ON SIZE ERROR imperativestatement |
COMPUTE identifier1 [ROUNDED] = arithmeticexpression [; ON SIZE ERROR imperativestatement] |
DIVIDE identifier1 INTO identifier2 [ROUNDED] [; ON SIZE ERROR imperativestatement] |
DIVIDE identifier1 INTO identifier2 [ROUNDED] GIVING identifier3 [ROUNDED] [; ON SIZE ERROR imperativestatement] |
MULTIPLY identifier1 BY identifier2 [ROUNDED] [; ON SIZE ERROR imperativestatement] |
MULTIPLY identifier1 BY identifier2 [ROUNDED] GIVING identifier3 [ROUNDED] [; ON SIZE ERROR imperativestatement] |
STRING identifier1 DELIMITED [BY] SIZE INTO identifier3 [[WITH] POINTER identifier4] [[ON] OVERFLOW statementlist] [NOT [ON] OVERFLOW statementlist] [END-STRING] |
SUBTRACT identifier1 [,identifier2] ... FROM identifierm [ROUNDED] [;ON SIZE ERROR imperativestatement] |
SUBTRACT identifier1 [,identifier2] ... FROM identifierm GIVING identifiern ROUNDED [;ON SIZE ERROR imperativestatement] |
SUBTRACT (CORRESPONDING|CORR) identifier1 FROM identifierm [ROUNDED] [;ON SIZE ERROR imperativestatement] |
Description
Cette instruction permet de gérer les erreurs lors de débordements de valeurs.
Dernière mise à jour : Jeudi, le 28 juillet 2011