CRITICAL
Rule Definition
During the upgrade of the different RPG versions (V2 / V3 / ILE V4) some statements are no longer supported. Where ever in the code these statements the artifact is reported as a violation.
Remediation
Try to replace these statements with some other non obsolete.
Violation Code Sample
Date operations like , ADDDUR , EXTRCT, SUBDUR and TIME should be avoided.
Fixed Code Sample
Please use the other date operations mentioned in the below link.
https://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c092508427.htm#HDRYYDATE
Related Technologies
Technical Criterion
Programming Practices - Structuredness
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.