Find IMS DL/I calls
ProprietaryLocate IMS database and message calls, written either as CALL 'CBLTDLI' and its siblings or as EXEC DLI. A DL/I call is an ordinary COBOL CALL, so recognising one means applying the convention that the first argument is the function code, the second names a PCB and the rest are segment search arguments. Function codes held in a data item are resolved through the literals moved into it, since programs rarely pass the literal directly.
io. moderne. mainframe. ims. FindImsDliCallsOptional
Only report calls issuing this DL/I function, such as ISRT. Reports every call when omitted.
mod run . --recipe= io. moderne. mainframe. ims. FindImsDliCallsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.