IBM / zopeneditor-about

IBM Z Open Editor: File issues here!
https://ibm.github.io/zopeneditor-about
Apache License 2.0
47 stars 25 forks source link

pli parsing errors on DFHBMSCA #323

Closed nk2164 closed 1 year ago

nk2164 commented 1 year ago

We have an include for standard supplied DFHBMSCA copybook that has some map related constants. The parser seems to be failing on that copybooks . I have pasted the copybook variables on which it has failed.

Because of this , none of the other functionality like peek definitions etc. works.

,DFHBMPSO CHAR (1) INIT ('.')  /* SHIFT OUT       */  

Gives -> Unexpected character "" ignored

,DFHBMPSI CHAR (1) INIT ('.')  /* SHIFT IN        */  

Gives -> Unexpected character "" ignored

 /*  CODE FOR ERROR CODE                                    */ 
,DFHERROR CHAR (1) INIT ('.')  /* ERROR CODE-X'3F'*/ 

Gives ->Unexpected character "" ignored

,DFH3270  CHAR (1) INIT ('{')  /* 3270     (X'C0')*/

Gives ->Unexpected character "{" ignored

   ) STATIC INTERNAL;  

Gives ->")" expected after this token

walexand4z commented 1 year ago

You must be using an old and unsupported version of CICS TS because if I look at the PL/I version of DFHBMSCA that was provided with CICS TS 4.2 it contained an enhancement to remove all embedded control characters and replace them with their hex notation. This CICS TS enhancement was implemented to allow include files such as that one to be processed by modern tools. Support for CICS TS 4.2 ended on 2018-09-30, so you must still be trying to use CICS TS 4.1 or CICS TS 3.x, all of which have been out of support for several years. Moving up to a supported version of CICS TS such as 5.5, 5.6 or 6.1 would prevent this issue regarding DFHBMSCA.

phaumer commented 1 year ago

@nk2164 I moved you issue into this repository.

nk2164 commented 1 year ago

@walexand4z . Thanks a lot. I checked we are on 5.6 , but looks like our copybook libs need to be updated. Appreciate your response. @phaumer , sure. Thanks.