Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cics PUT CONTAINER improvements #2598

Open
wants to merge 21 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
6a4d423
Initial grammar
mm-broadcom Nov 20, 2024
9cb264e
Add checks for grammar
mm-broadcom Nov 20, 2024
90622d0
Add tests for grammar
mm-broadcom Nov 20, 2024
deb820f
Fixed checkstyle error
mm-broadcom Nov 20, 2024
80a5998
Add PREPEND to lexer, keywords and the regex
mm-broadcom Nov 21, 2024
8d7e82c
Added note about PREPEND's availability.
mm-broadcom Nov 21, 2024
86935e7
Fixed keyword count test
mm-broadcom Nov 21, 2024
5438a92
Fixed tests
mm-broadcom Nov 21, 2024
d76c284
Add PUT64 keyword support
mm-broadcom Nov 25, 2024
b5a685c
Update server/engine/src/test/java/org/eclipse/lsp/cobol/usecases/Tes…
mm-broadcom Dec 2, 2024
27eea7a
Update server/engine/src/test/java/org/eclipse/lsp/cobol/usecases/Tes…
mm-broadcom Dec 2, 2024
f6c67b2
Update server/engine/src/test/java/org/eclipse/lsp/cobol/usecases/Tes…
mm-broadcom Dec 2, 2024
078c28a
Update server/engine/src/test/java/org/eclipse/lsp/cobol/usecases/Tes…
mm-broadcom Dec 2, 2024
9e71158
Add FROM check, test, fix imports
mm-broadcom Dec 2, 2024
b0fdcab
Merge branch 'development' into CICS-PUT-CONTAINER-Improvements
mm-broadcom Dec 2, 2024
8d792a2
Merge branch 'development' into CICS-PUT-CONTAINER-Improvements
mm-broadcom Dec 16, 2024
ed6503f
Merge branch 'development' into CICS-PUT-CONTAINER-Improvements
mm-broadcom Dec 18, 2024
038e048
Add terms to cicsLexerDefinedVariableUsage rule
mm-broadcom Dec 18, 2024
ba5cd5f
Added check for APPEND or PREPEND
mm-broadcom Dec 20, 2024
67b7c30
Merge branch 'development' into CICS-PUT-CONTAINER-Improvements
mm-broadcom Dec 20, 2024
6e2e030
Add PUT64, remove duplicate optionsMap entry
mm-broadcom Dec 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
]
},
"cics-keywords": {
"match": "(?<![\\-\\w])(?i:ABCODE|ABDUMP|ABEND|ABORT|ABPROGRAM|ABSTIME|ACCUM|ACEE|ACQACTIVITY|ACQPROCESS|ACQUACTIVITY|ACQUIRE|ACTION|ACTIVITY|ACTIVITYID|ACTPARTN|ADD|ADDRESS|AFTER|AID|ALARM|ALL|ALLOCATE|ALTER|ALTERNATE|ALTSCRNHT|ALTSCRNWD|ANALYZERSTAT|AND|ANYKEY|APLKYBD|APLTEXT|APPLID|APPEND|APPLICATION|APPLID|APPLMAJORVER|APPLMICROVER|APPLMINORVER|AS|ASA|ASIS|ASKTIME|ASRAINTRPT|ASRAKEY|ASRAPSW|ASRAREGS|ASRASPC|ASRASTG|ASSIGN|ASYNCHRONOUS|AT|ATOMSERVICE|ATTACH|ATTACHID|ATTRIBUTES|AUTHENTICATE|AUTOPAGE|AUXILIARY|AVAILSTATUS|BASE64|BASICAUTH|BELOW|BIF|BINARY|BIT|BODYCHARSET|BOOKMARK|BRDATA|BRDATALENGTH|BREXIT|BRIDGE|BROWSETOKEN|BTRANS|BUFFER|BUILD|BURGEABILITY|BYTEOFFSET|CADDRLENGTH|CANCEL|CARD|CBUFF|CCSID|CERTIFICATE|CHANGE|CHANGEAGENT|CHANGEAGREL|CHANGETIME|CHANGEUSRID|CHANNEL|CHAR|CHARACTERSET|CHECK|CHUNKEND|CHUNKING|CHUNKNO|CHUNKYES|CICSDATAKEY|CIPHERS|CLASS|CLEAR|CLICONVERT|CLIENT|CLIENTADDR|CLIENTADDRNU|CLIENTCONV|CLIENTNAME|CLNTADDR6NU|CLNTIPFAMILY|CLOSE|CLOSESTATUS|CLRPARTN|CMDSEC|CNAMELENGTH|CNOTCOMPL|CODEPAGE|COLOR|COMMAREA|COMMONNAME|COMMONNAMLEN|COMPAREMAX|COMPAREMIN|COMPLETE|COMPOSITE|COMPSTATUS|CONDITION|CONFIRM|CONFIRMATION|CONNECT|CONSISTENT|CONSNAME|CONSOLE|CONTAINER|CONTAINERCNT|CONTEXTTYPE|CONTROL|CONVDATA|CONVERSE|CONVERTER|CONVERTST|CONVERTTIME|CONVID|COPY|COUNTER|COUNTRY|COUNTRYLEN|CREATE|CRITICAL|CTLCHAR|CURRENT|CURSOR|CWA|CWALENG|DATA|DATA1|DATA2|DATALENGTH|DATALENTH|DATAONLY|DATAPOINTER|DATASET|DATASTR|DATATOXML|DATATYPE|DATCONTAINER|DATE|DATEFORM|DATESEP|DATESTRING|DAYCOUNT|DAYOFMONTH|DAYOFWEEK|DAYOFYEAR|DAYS|DAYSLEFT|DCOUNTER|DDMMYY|DDMMYYYY|DEBKEY|DEBREC|DEEDIT|DEFAULT|DEFINE|DEFINESOURCE|DEFINETIME|DEFRESP|DEFSCRNHT|DEFSCRNWD|DELAY|DELETE|DELETEQ|DELIMITER|DEQ|DESTCOUNT|DESTID|DESTIDLENG|DETAIL|DETAILLENGTH|DFHRESP|DFHVALUE|DIGEST|DIGESTTYPE|DISCONNECT|DOCDELETE|DOCSIZE|DOCSTATUS|DOCTOKEN|DOCUMENT|DS3270|DSSCS|DUMP|DUMPCODE|DUMPID|DUPREC|ECADDR|ECBLIST|EIB|ELEMNAME|ELEMNAMELEN|ELEMNS|ELEMNSLEN|ENABLESTATUS|END|ENDACTIVITY|ENDBR|ENDBROWSE|ENDFILE|ENDOUTPUT|ENQ|ENTER|ENTRY|ENTRYNAME|EOC|EODS|EPRFIELD|EPRFROM|EPRINTO|EPRLENGTH|EPRSET|EPRTYPE|EQUAL|ERASE|ERASEAUP|ERROR|ERRTERM|ESMREASON|ESMRESP|EVENT|EVENTTYPE|EVENTUAL|EWASUPP|EXCEPTION|EXPECT|EXPIRYTIME|EXTDS|EXTERNAL|EXTRACT|FACILITY|FACILITYTOKN|FALSE|FAULTACTLEN|FAULTACTOR|FAULTCODE|FAULTCODELEN|FAULTCODESTR|FAULTSTRING|FAULTSTRLEN|FCI|FCT|FIELD|FILE|FIRESTATUS|FLENGTH|FMH|FMHPARM|FOR|FORCE|FORMATTIME|FORMFEED|FORMFIELD|FREE|FREEKB|FREEMAIN|FROM|FROMACTIVITY|FROMCCSID|FROMCHANNEL|FROMCODEPAGE|FROMDOC|FROMFLENGTH|FROMLENGTH|FROMPROCESS|FRSET|FULLDATE|FUNCTION|GCHARS|GCODES|GDS|GENERIC|GET|GETMAIN|GETNEXT|GMMI|GROUPID|GTEC|GTEQ|HANDLE|HEAD|HEADER|HEX|HFSFILE|HIGH-VALUE|HIGH-VALUES|HILIGHT|HOLD|HONEOM|HOST|HOSTCODEPAGE|HOSTLENGTH|HOSTTYPE|HOURS|HTTPHEADER|HTTPMETHOD|HTTPRNUM|HTTPVERSION|HTTPVNUM|IGNORE|IMMEDIATE|IN|INCREMENT|INITIMG|INITPARM|INITPARMLEN|INPARTN|INPUT|INPUTEVENT|INPUTMSG|INPUTMSGLEN|INQUIRE|INSERT|INSTALLAGENT|INSTALLTIME|INSTALLUSRID|INTEGER|INTERVAL|INTO|INTOCCSID|INTOCODEPAGE|INVALIDCOUNT|INVITE|INVMPSZ|INVOKE|INVOKINGPROG|INVPARTN|INVREQ|IPFAMILY|IPRESOLVED|ISSUE|ISSUER|ITEM|IUTYPE|JOURNALNAME|JTYPEID|JUSFIRST|JUSLAST|JUSTIFY|KATAKANA|KEEP|KEYLENGTH|KEYNUMBER|L40|L64|L80|LABEL|LANGINUSE|LANGUAGECODE|LAST|LASTUSETIME|LDC|LDCMNEM|LDCNUM|LEAVEKB|LENGTH|LENGTHLIST|LEVEL|LIGHTPEN|LINAGE-COUNTER|LINE|LINEADDR|LINK|LINKAGE|LINKLEVEL|LIST|LISTLENGTH|LLID|LOAD|LOCALCCSID|LOCALITY|LOCALITYLEN|LOCATION|LOGMESSAGE|LOGMODE|LOGONLOGMODE|LOGONMSG|LOW-VALUE|LOW-VALUES|LUNAME|MAIN|MAJORVERSION|MAP|MAPCOLUMN|MAPFAIL|MAPHEIGHT|MAPLINE|MAPONLY|MAPPED|MAPPINGDEV|MAPSET|MAPWIDTH|MASSINSERT|MAXDATALEN|MAXFLENGTH|MAXIMUM|MAXLENGTH|MAXLIFETIME|MAXPROCLEN|MCC|MEDIATYPE|MESSAGE|MESSAGEID|METADATA|METADATALEN|METHOD|METHODLENGTH|MILLISECONDS|MILLISECS|MINIMUM|MINUTES|MMDDYY|MMDDYYYY|MODE|MODENAME|MONITOR|MONTH|MONTHOFYEAR|MOVE|MSR|MSRCONTROL|NAME|NAMELENGTH|NATLANG|NATLANGINUSE|NETNAME|NEWPASSWORD|NEWPHRASE|NEWPHRASELEN|NEXT|NEXTTRANSID|NLEOM|NOAUTOPAGE|NOCC|NOCHECK|NOCLICONVERT|NOCLOSE|NODATA|NODE|NODOCDELETE|NODUMP|NOEDIT|NOFLUSH|NOHANDLE|NOINCONVERT|NONE|NOOUTCONVERT|NOQUEUE|NOQUIESCE|NOSRVCONVERT|NOSUSPEND|NOTE|NOTPURGEABLE|NOTRUNCATE|NOWAIT|NSCONTAINER|NULL|NULLS|NUMCIPHERS|NUMEVENTS|NUMITEMS|NUMREC|NUMROUTES|NUMSEGMENTS|NUMTAB|OF|OIDCARD|ON|OPCLASS|OPEN|OPERATION|OPERATOR|OPERID|OPERKEYS|OPERPURGE|OPID|OPSECURITY|OPTIONS|OR|ORGABCODE|ORGANIZATION|ORGANIZATLEN|ORGUNIT|ORGUNITLEN|OUTDESCR|OUTLINE|OUTPARTN|OUTPUT|OWNER|PA1|PA2|PA3|PAGE|PAGE-COUNTER|PAGENUM|PAGING|PARSE|PARTN|PARTNER|PARTNFAIL|PARTNPAGE|PARTNS|PARTNSET|PASS|PASSBK|PASSWORD|PASSWORDLEN|PATCH|PATH|PATHLENGTH|PCT|PF1|PF10|PF11|PF12|PF13|PF14|PF15|PF16|PF17|PF18|PF19|PF2|PF20|PF21|PF22|PF23|PF24|PF3|PF4|PF5|PF6|PF7|PF8|PF9|PFXLENG|PHRASE|PHRASELEN|PIPELINE|PIPLENGTH|PIPLIST|PLATFORM|POINT|POOL|POP|PORT|PORTNUMBER|PORTNUMNU|POST|PPT|PREDICATE|PREFIX|PREPARE|PRINCONVID|PRINSYSID|PRINT|PRIORITY|PRIVACY|PROCESS|PROCESSTYPE|PROCLENGTH|PROCNAME|PROFILE|PROGRAM|PROTECT|PS|PUNCH|PURGE|PURGEABILITY|PURGEABLE|PUSH|PUT|QNAME|QUERY|QUERYPARM|QUERYSTRING|QUERYSTRLEN|QUEUE|QUOTE|QUOTES|RANDOM|RBA|RBN|RDATT|READ|READNEXT|READPREV|READQ|REALM|REALMLEN|REATTACH|RECEIVE|RECEIVER|RECFM|RECORD|RECORDLEN|RECORDLENGTH|REDIRECTTYPE|REDUCE|REFPARMS|REFPARMSLEN|RELATESINDEX|RELATESTYPE|RELATESURI|RELEASE|REMOVE|REPEATABLE|REPETABLE|REPLACE|REPLY|REPLYLENGTH|REQID|REQUESTTYPE|RESCLASS|RESET|RESETBR|RESID|RESIDLENGTH|RESOURCE|RESP|RESP2|RESSEC|RESTART|RESTYPE|RESULT|RESUME|RETAIN|RETCODE|RETCORD|RETRIECE|RETRIEVE|RETURN|RETURNPROG|REWIND|REWRITE|RIDFLD|ROLE|ROLELENGTH|ROLLBACK|ROUTE|ROUTECODES|RPROCESS|RRESOURCE|RRN|RTERMID|RTRANSID|RUN|SADDRLENGTH|SCHEME|SCHEMENAME|SCOPE|SCOPELEN|SCRNHT|SCRNWD|SECONDS|SECURITY|SEGMENTLIST|SEND|SENDER|SERIALNUM|SERIALNUMLEN|SERVER|SERVERADDR|SERVERADDRNU|SERVERCONV|SERVERNAME|SERVICE|SESSION|SESSTOKEN|SET|SHARED|SIGDATA|SIGNAL|SIGNOFF|SIGNON|SIT|SNAMELENGTH|SOAPFAULT|SOCKETCLOSE|SOCKPOOLSIZE|SOSI|SPACE|SPACES|SPOOLCLOSE|SPOOLOPEN|SPOOLREAD|SPOOLWRITE|SRVCONVERT|SRVRADDR6NU|SRVRIPFAMILY|SSLTYPE|START|STARTBR|STARTBROWSE|STARTCODE|STATE|STATELEN|STATIONID|STATUS|STATUSCODE|STATUSLEN|STATUSTEXT|STORAGE|STRFIELD|STRINGFORMAT|SUBADDR|SUBCODELEN|SUBCODESTR|SUBEVENT|SUBEVENT1|SUBEVENT2|SUBEVENT3|SUBEVENT4|SUBEVENT5|SUBEVENT6|SUBEVENT7|SUBEVENT8|SUM|SUSPEND|SUSPSTATUS|SYMBOL|SYMBOLLIST|SYNCHRONOUS|SYNCLEVEL|SYNCONRETURN|SYNCPOINT|SYSID|TABLES|TASK|TASKPRIORITY|TCPIP|TCPIPSERVICE|TCT|TCTUA|TCTUALENG|TD|TELLERID|TEMPLATE|TEMPLATENAME|TERMCODE|TERMID|TERMINAL|TERMPRIORITY|TEST|TEXT|TEXTKYBD|TEXTLENGTH|TEXTPRINT|TIME|TIMEOUT|TIMER|TIMESEP|TITLE|TO|TOACTIVITY|TOCHANNEL|TOCONTAINER|TOFLENGTH|TOKEN|TOLENGTH|TOPROCESS|TRACE|TRACENUM|TRAILER|TRANPRIORITY|TRANSACTION|TRANSFORM|TRANSID|TRIGGER|TRT|TRUE|TS|TWA|TWALENG|TYPE|TYPENAME|TYPENAMELEN|TYPENS|TYPENSLEN|UNATTEND|UNCOMMITTED|UNESCAPED|UNEXPIN|UNLOCK|UNTIL|UOW|UPDATE|URI|URIMAP|URL|URLLENGTH|USAGE|USERDATAKEY|USERID|USERNAME|USERNAMELEN|USERPRIORITY|USING|VALIDATION|VALUE|VALUELENGTH|VERIFY|VERSIONLEN|VOLUME|VOLUMELENG|WAIT|WAITCICS|WEB|WEBSERVICE|WHEN-COMPILED|WPMEDIA1|WPMEDIA2|WPMEDIA3|WPMEDIA4|WRAP|WRITE|WRITEQ|WSACONTEXT|WSAEPR|XCTL|XMLCONTAINER|XMLTODATA|XMLTRANSFORM|XRBA|YEAR|YYDDD|YYDDMM|YYMMDD|YYYYDDD|YYYYDDMM|YYYYMMDD|ZERO|ZEROES|ZEROS)(?![\\-\\w])",
"match": "(?<![\\-\\w])(?i:ABCODE|ABDUMP|ABEND|ABORT|ABPROGRAM|ABSTIME|ACCUM|ACEE|ACQACTIVITY|ACQPROCESS|ACQUACTIVITY|ACQUIRE|ACTION|ACTIVITY|ACTIVITYID|ACTPARTN|ADD|ADDRESS|AFTER|AID|ALARM|ALL|ALLOCATE|ALTER|ALTERNATE|ALTSCRNHT|ALTSCRNWD|ANALYZERSTAT|AND|ANYKEY|APLKYBD|APLTEXT|APPLID|APPEND|APPLICATION|APPLID|APPLMAJORVER|APPLMICROVER|APPLMINORVER|AS|ASA|ASIS|ASKTIME|ASRAINTRPT|ASRAKEY|ASRAPSW|ASRAREGS|ASRASPC|ASRASTG|ASSIGN|ASYNCHRONOUS|AT|ATOMSERVICE|ATTACH|ATTACHID|ATTRIBUTES|AUTHENTICATE|AUTOPAGE|AUXILIARY|AVAILSTATUS|BASE64|BASICAUTH|BELOW|BIF|BINARY|BIT|BODYCHARSET|BOOKMARK|BRDATA|BRDATALENGTH|BREXIT|BRIDGE|BROWSETOKEN|BTRANS|BUFFER|BUILD|BURGEABILITY|BYTEOFFSET|CADDRLENGTH|CANCEL|CARD|CBUFF|CCSID|CERTIFICATE|CHANGE|CHANGEAGENT|CHANGEAGREL|CHANGETIME|CHANGEUSRID|CHANNEL|CHAR|CHARACTERSET|CHECK|CHUNKEND|CHUNKING|CHUNKNO|CHUNKYES|CICSDATAKEY|CIPHERS|CLASS|CLEAR|CLICONVERT|CLIENT|CLIENTADDR|CLIENTADDRNU|CLIENTCONV|CLIENTNAME|CLNTADDR6NU|CLNTIPFAMILY|CLOSE|CLOSESTATUS|CLRPARTN|CMDSEC|CNAMELENGTH|CNOTCOMPL|CODEPAGE|COLOR|COMMAREA|COMMONNAME|COMMONNAMLEN|COMPAREMAX|COMPAREMIN|COMPLETE|COMPOSITE|COMPSTATUS|CONDITION|CONFIRM|CONFIRMATION|CONNECT|CONSISTENT|CONSNAME|CONSOLE|CONTAINER|CONTAINERCNT|CONTEXTTYPE|CONTROL|CONVDATA|CONVERSE|CONVERTER|CONVERTST|CONVERTTIME|CONVID|COPY|COUNTER|COUNTRY|COUNTRYLEN|CREATE|CRITICAL|CTLCHAR|CURRENT|CURSOR|CWA|CWALENG|DATA|DATA1|DATA2|DATALENGTH|DATALENTH|DATAONLY|DATAPOINTER|DATASET|DATASTR|DATATOXML|DATATYPE|DATCONTAINER|DATE|DATEFORM|DATESEP|DATESTRING|DAYCOUNT|DAYOFMONTH|DAYOFWEEK|DAYOFYEAR|DAYS|DAYSLEFT|DCOUNTER|DDMMYY|DDMMYYYY|DEBKEY|DEBREC|DEEDIT|DEFAULT|DEFINE|DEFINESOURCE|DEFINETIME|DEFRESP|DEFSCRNHT|DEFSCRNWD|DELAY|DELETE|DELETEQ|DELIMITER|DEQ|DESTCOUNT|DESTID|DESTIDLENG|DETAIL|DETAILLENGTH|DFHRESP|DFHVALUE|DIGEST|DIGESTTYPE|DISCONNECT|DOCDELETE|DOCSIZE|DOCSTATUS|DOCTOKEN|DOCUMENT|DS3270|DSSCS|DUMP|DUMPCODE|DUMPID|DUPREC|ECADDR|ECBLIST|EIB|ELEMNAME|ELEMNAMELEN|ELEMNS|ELEMNSLEN|ENABLESTATUS|END|ENDACTIVITY|ENDBR|ENDBROWSE|ENDFILE|ENDOUTPUT|ENQ|ENTER|ENTRY|ENTRYNAME|EOC|EODS|EPRFIELD|EPRFROM|EPRINTO|EPRLENGTH|EPRSET|EPRTYPE|EQUAL|ERASE|ERASEAUP|ERROR|ERRTERM|ESMREASON|ESMRESP|EVENT|EVENTTYPE|EVENTUAL|EWASUPP|EXCEPTION|EXPECT|EXPIRYTIME|EXTDS|EXTERNAL|EXTRACT|FACILITY|FACILITYTOKN|FALSE|FAULTACTLEN|FAULTACTOR|FAULTCODE|FAULTCODELEN|FAULTCODESTR|FAULTSTRING|FAULTSTRLEN|FCI|FCT|FIELD|FILE|FIRESTATUS|FLENGTH|FMH|FMHPARM|FOR|FORCE|FORMATTIME|FORMFEED|FORMFIELD|FREE|FREEKB|FREEMAIN|FROM|FROMACTIVITY|FROMCCSID|FROMCHANNEL|FROMCODEPAGE|FROMDOC|FROMFLENGTH|FROMLENGTH|FROMPROCESS|FRSET|FULLDATE|FUNCTION|GCHARS|GCODES|GDS|GENERIC|GET|GETMAIN|GETNEXT|GMMI|GROUPID|GTEC|GTEQ|HANDLE|HEAD|HEADER|HEX|HFSFILE|HIGH-VALUE|HIGH-VALUES|HILIGHT|HOLD|HONEOM|HOST|HOSTCODEPAGE|HOSTLENGTH|HOSTTYPE|HOURS|HTTPHEADER|HTTPMETHOD|HTTPRNUM|HTTPVERSION|HTTPVNUM|IGNORE|IMMEDIATE|IN|INCREMENT|INITIMG|INITPARM|INITPARMLEN|INPARTN|INPUT|INPUTEVENT|INPUTMSG|INPUTMSGLEN|INQUIRE|INSERT|INSTALLAGENT|INSTALLTIME|INSTALLUSRID|INTEGER|INTERVAL|INTO|INTOCCSID|INTOCODEPAGE|INVALIDCOUNT|INVITE|INVMPSZ|INVOKE|INVOKINGPROG|INVPARTN|INVREQ|IPFAMILY|IPRESOLVED|ISSUE|ISSUER|ITEM|IUTYPE|JOURNALNAME|JTYPEID|JUSFIRST|JUSLAST|JUSTIFY|KATAKANA|KEEP|KEYLENGTH|KEYNUMBER|L40|L64|L80|LABEL|LANGINUSE|LANGUAGECODE|LAST|LASTUSETIME|LDC|LDCMNEM|LDCNUM|LEAVEKB|LENGTH|LENGTHLIST|LEVEL|LIGHTPEN|LINAGE-COUNTER|LINE|LINEADDR|LINK|LINKAGE|LINKLEVEL|LIST|LISTLENGTH|LLID|LOAD|LOCALCCSID|LOCALITY|LOCALITYLEN|LOCATION|LOGMESSAGE|LOGMODE|LOGONLOGMODE|LOGONMSG|LOW-VALUE|LOW-VALUES|LUNAME|MAIN|MAJORVERSION|MAP|MAPCOLUMN|MAPFAIL|MAPHEIGHT|MAPLINE|MAPONLY|MAPPED|MAPPINGDEV|MAPSET|MAPWIDTH|MASSINSERT|MAXDATALEN|MAXFLENGTH|MAXIMUM|MAXLENGTH|MAXLIFETIME|MAXPROCLEN|MCC|MEDIATYPE|MESSAGE|MESSAGEID|METADATA|METADATALEN|METHOD|METHODLENGTH|MILLISECONDS|MILLISECS|MINIMUM|MINUTES|MMDDYY|MMDDYYYY|MODE|MODENAME|MONITOR|MONTH|MONTHOFYEAR|MOVE|MSR|MSRCONTROL|NAME|NAMELENGTH|NATLANG|NATLANGINUSE|NETNAME|NEWPASSWORD|NEWPHRASE|NEWPHRASELEN|NEXT|NEXTTRANSID|NLEOM|NOAUTOPAGE|NOCC|NOCHECK|NOCLICONVERT|NOCLOSE|NODATA|NODE|NODOCDELETE|NODUMP|NOEDIT|NOFLUSH|NOHANDLE|NOINCONVERT|NONE|NOOUTCONVERT|NOQUEUE|NOQUIESCE|NOSRVCONVERT|NOSUSPEND|NOTE|NOTPURGEABLE|NOTRUNCATE|NOWAIT|NSCONTAINER|NULL|NULLS|NUMCIPHERS|NUMEVENTS|NUMITEMS|NUMREC|NUMROUTES|NUMSEGMENTS|NUMTAB|OF|OIDCARD|ON|OPCLASS|OPEN|OPERATION|OPERATOR|OPERID|OPERKEYS|OPERPURGE|OPID|OPSECURITY|OPTIONS|OR|ORGABCODE|ORGANIZATION|ORGANIZATLEN|ORGUNIT|ORGUNITLEN|OUTDESCR|OUTLINE|OUTPARTN|OUTPUT|OWNER|PA1|PA2|PA3|PAGE|PAGE-COUNTER|PAGENUM|PAGING|PARSE|PARTN|PARTNER|PARTNFAIL|PARTNPAGE|PARTNS|PARTNSET|PASS|PASSBK|PASSWORD|PASSWORDLEN|PATCH|PATH|PATHLENGTH|PCT|PF1|PF10|PF11|PF12|PF13|PF14|PF15|PF16|PF17|PF18|PF19|PF2|PF20|PF21|PF22|PF23|PF24|PF3|PF4|PF5|PF6|PF7|PF8|PF9|PFXLENG|PHRASE|PHRASELEN|PIPELINE|PIPLENGTH|PIPLIST|PLATFORM|POINT|POOL|POP|PORT|PORTNUMBER|PORTNUMNU|POST|PPT|PREDICATE|PREFIX|PREPARE|PREPEND|PRINCONVID|PRINSYSID|PRINT|PRIORITY|PRIVACY|PROCESS|PROCESSTYPE|PROCLENGTH|PROCNAME|PROFILE|PROGRAM|PROTECT|PS|PUNCH|PURGE|PURGEABILITY|PURGEABLE|PUSH|PUT|PUT64|QNAME|QUERY|QUERYPARM|QUERYSTRING|QUERYSTRLEN|QUEUE|QUOTE|QUOTES|RANDOM|RBA|RBN|RDATT|READ|READNEXT|READPREV|READQ|REALM|REALMLEN|REATTACH|RECEIVE|RECEIVER|RECFM|RECORD|RECORDLEN|RECORDLENGTH|REDIRECTTYPE|REDUCE|REFPARMS|REFPARMSLEN|RELATESINDEX|RELATESTYPE|RELATESURI|RELEASE|REMOVE|REPEATABLE|REPETABLE|REPLACE|REPLY|REPLYLENGTH|REQID|REQUESTTYPE|RESCLASS|RESET|RESETBR|RESID|RESIDLENGTH|RESOURCE|RESP|RESP2|RESSEC|RESTART|RESTYPE|RESULT|RESUME|RETAIN|RETCODE|RETCORD|RETRIECE|RETRIEVE|RETURN|RETURNPROG|REWIND|REWRITE|RIDFLD|ROLE|ROLELENGTH|ROLLBACK|ROUTE|ROUTECODES|RPROCESS|RRESOURCE|RRN|RTERMID|RTRANSID|RUN|SADDRLENGTH|SCHEME|SCHEMENAME|SCOPE|SCOPELEN|SCRNHT|SCRNWD|SECONDS|SECURITY|SEGMENTLIST|SEND|SENDER|SERIALNUM|SERIALNUMLEN|SERVER|SERVERADDR|SERVERADDRNU|SERVERCONV|SERVERNAME|SERVICE|SESSION|SESSTOKEN|SET|SHARED|SIGDATA|SIGNAL|SIGNOFF|SIGNON|SIT|SNAMELENGTH|SOAPFAULT|SOCKETCLOSE|SOCKPOOLSIZE|SOSI|SPACE|SPACES|SPOOLCLOSE|SPOOLOPEN|SPOOLREAD|SPOOLWRITE|SRVCONVERT|SRVRADDR6NU|SRVRIPFAMILY|SSLTYPE|START|STARTBR|STARTBROWSE|STARTCODE|STATE|STATELEN|STATIONID|STATUS|STATUSCODE|STATUSLEN|STATUSTEXT|STORAGE|STRFIELD|STRINGFORMAT|SUBADDR|SUBCODELEN|SUBCODESTR|SUBEVENT|SUBEVENT1|SUBEVENT2|SUBEVENT3|SUBEVENT4|SUBEVENT5|SUBEVENT6|SUBEVENT7|SUBEVENT8|SUM|SUSPEND|SUSPSTATUS|SYMBOL|SYMBOLLIST|SYNCHRONOUS|SYNCLEVEL|SYNCONRETURN|SYNCPOINT|SYSID|TABLES|TASK|TASKPRIORITY|TCPIP|TCPIPSERVICE|TCT|TCTUA|TCTUALENG|TD|TELLERID|TEMPLATE|TEMPLATENAME|TERMCODE|TERMID|TERMINAL|TERMPRIORITY|TEST|TEXT|TEXTKYBD|TEXTLENGTH|TEXTPRINT|TIME|TIMEOUT|TIMER|TIMESEP|TITLE|TO|TOACTIVITY|TOCHANNEL|TOCONTAINER|TOFLENGTH|TOKEN|TOLENGTH|TOPROCESS|TRACE|TRACENUM|TRAILER|TRANPRIORITY|TRANSACTION|TRANSFORM|TRANSID|TRIGGER|TRT|TRUE|TS|TWA|TWALENG|TYPE|TYPENAME|TYPENAMELEN|TYPENS|TYPENSLEN|UNATTEND|UNCOMMITTED|UNESCAPED|UNEXPIN|UNLOCK|UNTIL|UOW|UPDATE|URI|URIMAP|URL|URLLENGTH|USAGE|USERDATAKEY|USERID|USERNAME|USERNAMELEN|USERPRIORITY|USING|VALIDATION|VALUE|VALUELENGTH|VERIFY|VERSIONLEN|VOLUME|VOLUMELENG|WAIT|WAITCICS|WEB|WEBSERVICE|WHEN-COMPILED|WPMEDIA1|WPMEDIA2|WPMEDIA3|WPMEDIA4|WRAP|WRITE|WRITEQ|WSACONTEXT|WSAEPR|XCTL|XMLCONTAINER|XMLTODATA|XMLTRANSFORM|XRBA|YEAR|YYDDD|YYDDMM|YYMMDD|YYYYDDD|YYYYDDMM|YYYYMMDD|ZERO|ZEROES|ZEROS)(?![\\-\\w])",
"name": "keyword.verb.cics"
},
"number-constant": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ PLATFORM: P L A T F O R M;
PREDICATE : P R E D I C A T E;
PREFIX : P R E F I X;
PREPARE : P R E P A R E;
PREPEND : P R E P E N D;
PRINCONVID : P R I N C O N V I D;
PRINSYSID : P R I N S Y S I D;
PRINT : P R I N T;
Expand All @@ -655,6 +656,7 @@ PURGEABILITY : P U R G E A B I L I T Y;
PURGEABLE : P U R G E A B L E;
PUSH : P U S H;
PUT : P U T;
PUT64: P U T '6' '4';
mm-broadcom marked this conversation as resolved.
Show resolved Hide resolved
QNAME : Q N A M E;
QUERY : Q U E R Y;
QUERYPARM : Q U E R Y P A R M;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ allCicsRule: cics_send | cics_receive | cics_add | cics_address | cics_allocate
cics_endbrowse | cics_enq | cics_enter | cics_extract | cics_force | cics_formattime | cics_free |
cics_freemain | cics_get | cics_getmain | cics_getnext | cics_handle | cics_ignore | cics_inquire |
cics_invoke | cics_issue | cics_link | cics_load | cics_monitor | cics_move | cics_point | cics_pop |
cics_post | cics_purge | cics_push | cics_put | cics_query | cics_read | cics_readnext_readprev |
cics_post | cics_purge | cics_push | cics_put_container | cics_query | cics_read | cics_readnext_readprev |
cics_readq | cics_release | cics_remove | cics_reset | cics_resetbr | cics_resume | cics_retrieve |
cics_return | cics_rewind | cics_rewrite | cics_route | cics_run | cics_signal | cics_signoff | cics_signon |
cics_soapfault | cics_spoolclose | cics_spoolopen | cics_spoolread | cics_spoolwrite | cics_start |
Expand Down Expand Up @@ -578,10 +578,11 @@ cics_purge: PURGE cics_handle_response? MESSAGE cics_handle_response?;
cics_push: PUSH cics_handle_response? HANDLE cics_handle_response?;

/** PUT CONTAINER (both of them): */
cics_put: PUT CONTAINER cics_data_value (cics_put_bts | cics_put_channel);
cics_put_bts: (ACTIVITY cics_data_value | ACQACTIVITY | PROCESS | ACQPROCESS | FROM cics_data_area | FLENGTH cics_data_value | cics_handle_response)+;
cics_put_channel: (CHANNEL cics_data_value | FROM cics_data_area | FLENGTH cics_data_value | BIT | DATATYPE cics_cvda |
CHAR | FROMCCSID cics_data_value | FROMCODEPAGE cics_data_value | cics_handle_response)+;
cics_put_container: ((PUT CONTAINER cics_data_value cics_put_container_bts) | (PUT|PUT64) CONTAINER cics_data_value cics_put_container_channel);
cics_put_container_bts: ((ACQACTIVITY | PROCESS | ACQPROCESS) | (ACTIVITY | FLENGTH) cics_data_value | (FROM) cics_data_area | cics_handle_response)+;
cics_put_container_channel: ((BIT | CHAR | APPEND | PREPEND) | (CHANNEL | FLENGTH | FROMCCSID | FROMCODEPAGE) cics_data_value | FROM cics_data_area | DATATYPE cics_cvda | cics_handle_response)+;



/** QUERY COUNTER / DCOUNTER / SECURITY */
cics_query: QUERY (cics_query_counter | cics_query_security);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ public CICSOptionsCheckUtility(DialectProcessingContext context, List<SyntaxErro
optionsMap.put(
CICSReadNextReadPrevOptionsUtility.RULE_INDEX,
new CICSReadNextReadPrevOptionsUtility(context, errors));
optionsMap.put(
CICSPutContainerOptionsCheckUtility.RULE_INDEX,
new CICSPutContainerOptionsCheckUtility(context, errors));
optionsMap.put(
CICSAddressOptionsCheckUtility.RULE_INDEX,
new CICSAddressOptionsCheckUtility(context, errors));
Expand All @@ -124,8 +127,8 @@ public CICSOptionsCheckUtility(DialectProcessingContext context, List<SyntaxErro
CICSWriteOptionsCheckUtility.RULE_INDEX,
new CICSWriteOptionsCheckUtility(context, errors));
optionsMap.put(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks unrelated.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate.

CICSWSAEPRUtility.RULE_INDEX,
new CICSWSAEPRUtility(context, errors));
CICSWSAEPRUtility.RULE_INDEX,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CICSWriteOptionsCheckUtility was removed from the list in the last commit.

new CICSWSAEPRUtility(context, errors));
}

/**
Expand Down
Loading
Loading