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 join logical file?
How many Printer Files can Declare in a CL Program?
maximum number of subfiles that can defined in a rpg program for one display file is?
How do I release jobs in queue and change a job destination to a different printer. I know wrkjobq but I have not worked with As/400 for a while,so_can someone help me?
How to see active jobs of the system.
Define the purpose of Factor 1 the Operation Code and *IN15 in following code HI LO EQ C *YMD Test(D) yymmddDate 15
what do we can do with the embedded sql statements?
What is the purpose of the following? I 'CLOSED' C STAT01 I 'OPEN' C STAT02
when is a tag statement used in rpg?
What is the function of DSPATR (display attributes) keyword?
What is the necessary keyword used in a physical file to refer field definitions from the field reference file?
what is primarykey?what is difference between primary key and forign key?