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 detect and handle a record lock situation?
what is the purpose of ovrdta (override data) keyword?
If login Screen has been modified by adding current date to be displayed. What Step to be followed to Keep that date as Current date Note: If no steps taken then it will display only the compilation date
What is the purpose of the following? I 'CLOSED' C STAT01 I 'OPEN' C STAT02
using dfu, user will be able to ___________ from physical file?
STRTCPFTP command is used to start FTP in CL Language (ILECL)....can u plz tell me which command is used to start SFTP in CL language(ILECL)?
What is the difference between /copy and /include in RPGLE?
not all command typed on command line are cl command? true r false
what is scan and xlate?
is there any way to dynamically merge other html scripts into a given html?
how many files, printer files you can describe in a rpg?
how can you check for a records existence without causing and i/o (chain/read)?