Title: Administrator Tip
|
|
![]()
|
![]()
| FEATURED TIP |
| Understanding the ins-and-outs of activation groups -- Part I |
![]() |
by Ron Turull
Activation groups are an iSeries programmer's dream come true. They provide tremendous application design flexibility, and as designed, an ILE program could not run without activation groups.
But they can also be an administrator's worst nightmare. An improperly designed application can spawn dozens of activation groups, end normally and leave all those activation groups open, locking up precious resources. Multiply that scenario by hundreds of users, and you have the makings of an administrator's headache.
|
| >>View Complete Tip |
|
SPONSORED BY: AS/400 Personnel
![]()
News Flash: AS/400 Personnel rescues IT manager from drowning. ...
"I thought that it would be easy to find the right IT professional in the 'Sea of resumes'. I got in way over my head and had given up hope," says one IT manager, "and then I called AS/400 Personnel. They saved me from certain doom!" A spokesman from AS/400 Personnel told this reporter that they save IT managers on a daily basis. "We have the resources and technical skills necessary to swim through the 'Sea of resumes' and find just the right professional for the job. This is what we do for a living," said the spokesman. "It's a treacherous sea, and IT managers shouldn't go it alone." "I am glad I called them," declared the IT manager, looking very relieved. "You will be too!" Call them for permanent professionals or contract consultants, or visit their Web site.
![]()
Learn more here
|
|
|
|
Technical Questions Answered |
|
![]()
How do you use activation groups?
One Search400.com member said activation groups seem like a nice feature, but that they require more effort than they're worth. He wondered how they could be used. A few other users described what they use them for and pointed out their benefits.
The trouble with Reclaim Resources
It isn't uncommon for an application to execute the Reclaim Resources command (RCLRSC) periodically as a "garbage-collecting" device to improve performance. And programs sometimes rely on the command to free static memory, close open files and free other resources. But watch out if you need to have the program start fresh and execute a RCLRSC in the calling program before calling the RPG program. The RCLRSC command will not work if you convert the whole thing to ILE and tell it to run in an activation group other the default.
Ten important things to remember about heaps
Memory for dynamic variables is allocated off an internal structure called the "heap." The heap is simply a chunk of memory that the system allocates for an activation group when the activation group is created. The Alloc, Dealloc, and Realloc op-codes are pretty straight-forward once you understand a few things about heaps.
![]()
FREE BOOK EXCERPT
Download the chapter
JDBC -- Database Programming with J2EE
Log on and download for free Chapter 1 of JDBC: Database Programming with J2EE written by Art Taylor and published by Prentice Hall PTR. This chapter focuses on JDBC design, how Java works with relational databases, the JDBC API and more.
USER POLL
Vote now
Is your CIO pressuring you to implement on-demand computing technologies?
TIPS EXCHANGE
Submit your tip today
Don't miss out! Time is running out to submit a tip for a chance to win an awesome pair of 8x25 binoculars. Submit a winning tip and see what you've been missing all this time.
|
![]() |
![]() |
|
Update your subscriptions
|
![]() |
| Select newsletters you would like to receive from the list below. |
![]() |
|
Programmer Tips |
|
Top Expert Advice |
|
WebSphere Strategies |
|
![]() |
E-mail
|
|
|
| Not a member? We'll activate your membership with your subscription. |
![]() |
|
|
![]()
![]()
SITE EDITOR
Michelle Davidson
[EMAIL PROTECTED]
>> Send me your story ideas and best practices.
![]()
ASSISTANT EDITOR
Debra Tart
[EMAIL PROTECTED]
>> Send me your Best Web Links and glossary terms.
![]()
EXECUTIVE TECH EDITOR
David Gabel
[EMAIL PROTECTED]
>> Send me your technical tips and tip ideas.
![]()
SALES REPRESENTATIVE
Jillian Corby
[EMAIL PROTECTED]
>> Sponsor this or any other TechTarget newsletter.
|
|
|
|
|