what is RCLRSC?
Answers were Sorted based on User's Feedback
Answer / vj
The Reclaim Resources (RCLRSC) command is intended for use by the controlling program in an application to free resources that were allocated by programs that have finished running and returned control to the controlling program.
The resources used by these programs can then be used by other programs running on the system.
Based on the reference level specified by the LVL parameter, this command reclaims resources that are scoped to the default activation group. This command does not reclaim resources that are scoped to the job or resources that are scoped to any activation group other than the default activation group.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sara
Be careful when converting applications to ILE, especially CL code. The Reclaim Resources command (RCLRSC) has no effect when run in an activation group other than the default activation group. If you convert an application and specify that it is to run in a *NEW or named activation group, it may not run properly if it relies on the RCLRSC command.
Most applications that execute the RCLRSC command do so periodically as a "garbage-collecting" device to improve performance. However, a small percentage of programs rely on the RCLRSC command to free static memory, close open files, and free certain other resources. For example, a frequently called RPG program may return without setting on LR. This keeps the program activated and saves time when the program is subsequently called.
Is This Answer Correct ? | 2 Yes | 0 No |
What is SFLSIZ ?
how do you read changed records backward in subfile?
how many files, printer files you can describe in a rpg?
How do you read a subfile record which is in output mode?
how can you execute a command from within an rpg program without calling a clp program?
what is the purpose of ovrdta (override data) keyword?
What is the draw back of Procedures? why we are going to Modules?
What is library is as400? What are the types of library?
what are all the contents of subfile?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
how do u compile rpgle program?
how to run other job when one job is active?