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 |
how can you execute a command from within an rpg program without calling a clp program?
What are the different types of specification available in RPG/400 ?
can you display a empty subfile?
What is library list ?
What is a library list ?
What is difference between fully procedural file and primary file?
what is the command to know key fields of file?
what is term cua , saa?
What does the keyword UNIQUE mean ?
how to pick up the changed records every time in a subfile after the first change made ?
Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?
what does the ovrdbf command do?