Closed m-tyler closed 1 year ago
using this code you get linter warnings...
/Copy Qcpysrc,Hspecle // Prototypes /Copy Qcpysrc,Copybook1 /Copy Qcpysrc,Copybook2 /Copy Qcpysrc,Copybook3 /Copy Qcpysrc,Copybook4 /Copy Qcpysrc,Copybook5 Dcl-S MyParm1 Char(1) Const; Dcl-S MyParm2 Char(1) Const; exec sql select 1 from MyTable Where MyField1 =:MyParm1 and MyField2 = :MyParm2 ; MyProc1(); If MyVar <> ThatValue //<<-- move semi colon here and the warning go away. There are no warnings for this code in v0.19.0 ; DoThisCode(); Else; CoThatCOde(); Endif; *INLR = *ON; Return; dcl-proc MyProc1; dcl-pi *n ; pMyParm1 Char(1) Const; pMyParm2 Char(1) Const; end-pi; exec sql select 1 from MyTable Where MyField1 =:pMyParm1 and MyField2 = :pMyParm2 ; end-proc;
If you add a semi colon or a blank line after each /COPY line then the warning go away.
0.20.2 is being deployed, which will fix this issue
Yeah!! That is working!
Thanks for the super fast turn around.
using this code you get linter warnings...
If you add a semi colon or a blank line after each /COPY line then the warning go away.