Mots réservés

Un mot réservé est une chaîne de caractères avec une signification prédéfinie dans un programme COBOL. Chacun de ces mots réservés ont donc un rôle à jouer dans un code.

Le tableau suivant identifie les mots réservés en COBOL et les mots à éviter car ils pourraient être réservés dans une future version COBOL.

S’ils sont utilisés comme noms définis par l’utilisateur, ces mots sont marqués d’un message de niveau S (erreur).

ACCEPTDESCENDINGLENGTHRF
ACCESSDESTINATIONLESSRH
ACTIVE-CLASSDETAILLIMITRIGHT
ADDDISABLELIMITSROUNDED
ADDRESSDISPLAYLINAGERUN
ADVANCINGDISPLAY-1LINAGE-COUNTERSAME
AFTERDIVIDELINESCREEN
ALIGNEDDIVISIONLINE-COUNTERSD
ALLDOWNLINESSEARCH
ALLOCATEDUPLICATESLINKAGESECTION
ALPHABETDYNAMICLOCAL-STORAGESECURITY
ALPHABETICECLOCALESEGMENT
ALPHABETIC-LOWEREGCSLOCKSEGMENT-LIMIT
ALPHABETIC-UPPEREGILOW-VALUESELECT
ALPHANUMERICEJECTLOW-VALUESSELF
ALPHANUMERIC-EDITEDELSEMEMORYSEND
ALSOEMIMERGESENTENCE
ALTERENABLEMESSAGESEPARATE
ALTERNATEENDMETHODSEQUENCE
ANDEND-ACCEPTMETHOD-IDSEQUENTIAL
ANYEND-ADDMINUSSERVICE
ANYCASEEND-CALLMODESET
APPLYEND-COMPUTEMODULESSHARING
AREEND-DELETEMORE-LABELSSHIFT-IN
AREAEND-DISPLAYMOVESHIFT-OUT
AREASEND-DIVIDEMULTIPLESIGN
ASCENDINGEND-EVALUATEMULTIPLYSIZE
ASSIGNEND-EXECNATIONALSKIP1
ATEND-IFNATIONAL-EDITEDSKIP2
AUTHOREND-INVOKENATIVESKIP3
B-ANDEND-MULTIPLYNEGATIVESORT
B-NOTEND-OF-PAGENESTEDSORT-CONTROL
B-OREND-PERFORMNEXTSORT-CORE-SIZE
B-XOREND-READNOSORT-FILE-SIZE
BASEDEND-RECEIVENOTSORT-MERGE
BASISEND-RETURNNULLSORT-MESSAGE
BEFOREEND-REWRITENULLSSORT-MODE-SIZE
BEGINNINGEND-SEARCHNUMBERSORT-RETURN
BINARYEND-STARTNUMERICSOURCE
BINARY-CHAREND-STRINGNUMERIC-EDITEDSOURCE-COMPUTER
BINARY-DOUBLEEND-SUBTRACTOBJECTSOURCES
BINARY-LONGEND-UNSTRINGOBJECT-COMPUTERSPACE
BINARY-SHORTEND-WRITEOBJECT-REFERENCESPACES
BITEND-XMLOCCURSSPECIAL-NAMES
BLANKENDINGOFSQL
BLOCKENTEROFFSQLIMS
BOOLEANENTRYOMITTEDSTANDARD
BOTTOMENVIRONMENTONSTANDARD-1
BYEOOPENSTANDARD-2
CALLEOPOPTIONALSTART
CANCELEQUALOPTIONSSTATUS
CBLERRORORSTOP
CDESIORDERSTRING
CFEVALUATEORGANIZATIONSUB-QUEUE-1
CHEVERYOTHERSUB-QUEUE-2
CHARACTEREXCEPTIONOUTPUTSUB-QUEUE-3
CHARACTERSEXCEPTION-OBJECTOVERFLOWSUBTRACT
CLASSEXECOVERRIDESUM
CLASS-IDEXECUTEPACKED-DECIMALSUPER
CLOCK-UNITSEXITPADDINGSUPPRESS
CLOSEEXTENDPAGESYMBOLIC
COBOLEXTERNALPAGE-COUNTERSYNC
CODEFACTORYPASSWORDSYNCHRONIZED
CODE-SETFALSEPERFORMSYSTEM-DEFAULT
COLFDPFTABLE
COLLATINGFILEPHTALLY
COLSFILE-CONTROLPICTALLYING
COLUMNFILLERPICTURETAPE
COLUMNSFINALPLUSTERMINAL
COM-REGFIRSTPOINTERTERMINATE
COMMAFLOAT-EXTENDEDPOSITIONTEST
COMMONFLOAT-LONGPOSITIVETEXT
COMMUNICATIONFLOAT-SHORTPRESENTTHAN
COMPFOOTINGPRINTINGTHEN
COMP-1FORPROCEDURETHROUGH
COMP-2FORMATPROCEDURE-POINTERTHRU
COMP-3FREEPROCEDURESTIME
COMP-4FROMPROCEEDTIMES
COMP-5FUNCTIONPROCESSINGTITLE
COMPUTATIONALFUNCTION-IDPROGRAMTO
COMPUTATIONAL-1FUNCTION-POINTERPROGRAM-IDTOP
COMPUTATIONAL-2GENERATEPROGRAM-POINTERTRACE
COMPUTATIONAL-3GETPROPERTYTRAILING
COMPUTATIONAL-4GIVINGPROTOTYPETRUE
COMPUTATIONAL-5GLOBALPURGETYPE
COMPUTEGOQUEUETYPEDEF
CONDITIONGOBACKQUOTEUNIT
CONFIGURATIONGREATERQUOTESUNIVERSAL
CONSTANTGROUPRAISEUNLOCK
CONTAINSGROUP-USAGERAISINGUNSTRING
CONTENTHEADINGRANDOMUNTIL
CONTINUEHIGH-VALUERDUP
CONTROLHIGH-VALUESREADUPON
CONTROLSI-OREADYUSAGE
CONVERTINGI-O-CONTROLRECEIVEUSE
COPYIDRECORDUSER-DEFAULT
CORRIDENTIFICATIONRECORDINGUSING
CORRESPONDINGIFRECORDSVAL-STATUS
COUNTINRECURSIVEVALID
CRTINDEXREDEFINESVALIDATE
CURRENCYINDEXEDREELVALIDATE-STATUS
CURSORINDICATEREFERENCEVALUE
DATAINHERITSREFERENCESVALUES
DATA-POINTERINITIALRELATIVEVARYING
DATEINITIALIZERELEASEWHEN
DATE-COMPILEDINITIATERELOADWHEN-COMPILED
DATE-WRITTENINPUTREMAINDERWITH
DAYINPUT-OUTPUTREMOVALWORDS
DAY-OF-WEEKINSERTRENAMESWORKING-STORAGE
DBCSINSPECTREPLACEWRITE
DEINSTALLATIONREPLACINGWRITE-ONLY
DEBUG-CONTENTSINTERFACEREPORTXML
DEBUG-ITEMINTERFACE-IDREPORTINGXML-CODE
DEBUG-LINEINTOREPORTSXML-EVENT
DEBUG-NAMEINVALIDREPOSITORYXML-INFORMATION
DEBUG-SUB-1INVOKERERUNXML-NAMESPACE
DEBUG-SUB-2ISRESERVEXML-NAMESPACE-PREFIX
DEBUG-SUB-3JNIENVPTRRESETXML-NNAMESPACE
DEBUGGINGJUSTRESUMEXML-NNAMESPACE-PREFIX
DECIMAL-POINTJUSTIFIEDRETRYXML-NTEXT
DECLARATIVESKANJIRETURNXML-SCHEMA
DEFAULTKEYRETURN-CODEXML-TEXT
DELETELABELRETURNINGZERO
DELIMITEDLASTREVERSEDZEROES
DELIMITERLEADINGREWINDZEROS
DEPENDINGLEFTREWRITE