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 field reference file?
what is primarykey?what is difference between primary key and forign key?
what is maximum number of arrays allowed in rpg?
Suppose we have field reference file we were any changes that corresponding Physical file then what will Happen in field reference file??
what are the various types of device files?
How we can delete all the Logical File of a Physical file in one instance ?
what is overlay?
how to read database records without locking them?
How many Printer Files can Declare in a CL Program?
what is the use of CPYFRMQRYF?
what is the syntax for plist?
What is an ICF file?