IBM AS400 Question: How to retrieve RRN value in RPGLE program? IBM AS400 Interview QuestionAnswer: We can retrieve RRN value in RPGLE program by using INFDS Previous QuestionNext QuestionHOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS. I KNOW THE STEPS FOR BATCH EBUGGING, BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE. SO HERE ALSO DO SAME THING OR ANY OTHER WAY?What is difference between procedure and function?