Knowledge Base

Blog Faq400

Recursive calls in ILE RPG and SQL – part 1

blog
Last Updated on 13 June 2021 by Roberto De Pedrini Can you make a recursive call in RPG? No, impossible ! This is often the first answer you get to this question … That’s true, but only partially. Actually, in RPG it is not possible to recursively call a program. But an ILE program can have procedures, and here is another matter … In fact, thanks to their specificity and their isolation level, procedures can be called recursively: after all, a procedure is a function that receives parameters, and returns a return value (or none). This feature means that a call to a procedure can safely take place even within the procedure itself. …

Riservato agli iscritti

Per leggere l'articolo completo serve un account Faq400. È gratis, e con lo stesso account fai domande a Willi e leggi tutto l'archivio.

Prova a chiederlo a Willi

Willi risponde usando questo articolo e gli altri contenuti di Faq400, e ti dice da dove prende ogni frase. Serve un account: è gratis.

Chi legge questo, legge anche