============================================================= 
SEARCH400 | Administrator Tip
July 24, 2002 

============================================================ 
FROM OUR SPONSORS:

Take the guesswork out of iSeries DASD control with disk/HUNTER
http://search400.com/r/0,,4638,00.htm?centerfieldtech

Workflow goes full-cycle with inFORMS's iDocs Suite of products
http://search400.com/r/0,,4646,00.htm?inFORM

============================================================= 
Essential explanations, tools, and code for the iSeries
administrator. 
 More tips: 
http://search400.techtarget.com/tipsIndex/0,289482,sid3_tax2f8,00.html

============================================================= 
In today's technical advice roundup you'll find tips, expert 
answers and input from your peers on the following iSeries 
administrator questions and concerns: 

Today's Featured Administrator Tip:    
 -- Issue interactive status messages in a CL program
 
Answers to Other Technical Questions 
  1. Reorganize physical files automatically
  2. Execute a CL program
  3. Run priority of a CL program
  4. Restarting TCP/IP within a CL
 
Important Announcements and Links 
  - Tips Contest: Win a Samsung DVD-S221 DVD/MP3 player
  - Advice: Managing the iSeries Discussion Forum  
  - Featured Book: Disaster Recovery Planning
  - Monthly Newsletter: Top Expert Advice
_______________________________________________________________
*********** SPONSORED BY Centerfield Technology ***************

"We used to spend hours tracking down DASD spikes. Now, 
disk/HUNTER not only tells us where they originate, but 
automatically tells us when DASD spikes reach our 
thresholds."...Kirk Chalk, Senior Staff Systems Analyst, Shell 
Canada iSeries shops that have lots of activity and that need to 
be proactive about disk management are recommending disk/HUNTER 
from Centerfield Technology. Click here to find out why.
http://search400.com/r/0,,4638,00.htm?centerfieldtech
 
=============================================================== 
Today's Featured Tip 
=============================================================== 

Issue interactive status messages in a CL program

Although the Send Program Message (SNDPGMMSG) command serves many 
useful purposes, one of Joe Hertvik's favorites is to use 
SNDPGMMSG to send a status message for update purposes from an 
interactive CL program to the bottom (line 24) of an interactive 
green-screen display.  According to Joe, this technique is 
particularly valuable when you're calling a long-running job -- 
such as a customized CL backup program -- that must be run 
interactively from the system console. 

>> Click here to review the full tip...
http://search400.techtarget.com/tip/1,289483,sid3_gci840576,00.html

=============================================================== 
Answers to Other Administrator Questions 
=============================================================== 

1. Reorganize physical files automatically
This tip consists of two CL programs and one RPG program. The 
first CL program creates a work file of the files in a given 
library. The RPG program reads the work file and calculates a 
percent of deleted records to control the file reorganization 
process. The second CL program reorganizes the file meeting the 
percentage that is coded in the RPG program. Search400 member 
Kellie O'Shea runs this code over several libraries on a long 
weekend.
http://search400.techtarget.com/tip/1,289483,sid3_gci780296,00.html

2. Execute a CL program
One user writes, "I am attempting to execute a CL program on 
system b from a CL program that resides on system a. The CL on 
system b has parameters that are variables. The procedure will 
work with SBMRMTCMD, but when I attempt to execute it with AREXEC 
or RUNRMTCMD, the error message that I receive states that 
variables are invalid. If I substitute a literal for the variable, 
there is not a problem. Do the later two commands actually not 
accept variables? I found this hard to believe and am hoping that 
it is user error." Search400 application development expert John 
Brandt offers some advice.
http://search400.techtarget.com/ateQuestionNResponse/0,289625,sid3_cid457910_tax285217,00.html

3. Run priority of a CL program
One member writes, "I understand how to manually change the run 
priority of a CL program after it has been called. What can I put 
in the CL to change the run priority of the CL when it is called?" 
One suggestion was made. Do you have any others?
http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected]/1131

4. Restarting TCP/IP within a CL
A user, who has more than 70 remote sites to maintain, created 
password-protected utilities for end users to follow with his 
instruction. He's trying to create a utility that lets users end 
and restart TCP, but he can't figure out a good way to have the 
program check to see if TCP has completed shutting down. Read what 
other users suggested.
http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]^[email protected]/261

________________________________________________________________
********************* SPONSORED BY inFORM **********************

Archive, search and automatically e-mail documents directly from 
your iSeries host, with the iView Archive and Retrieval system by 
inFORM Decisions. Workflow goes full-cycle with inFORMS's iDocs 
Suite of products. Give us a call to discuss your requirements 
today. (800)858-5544 Free software evaluation: 
http://search400.com/r/0,,4646,00.htm?inFORM
__________________________________________________________________ 
__________________________________________________________________ 
:::::::::: DON'T MISS THESE IMPORTANT MESSAGES AND LINKS ::::::::: 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
WIN A SAMSUNG DVD-S221 DVD/MP3 PLAYER | Submit your Tip to Win

This month we're giving away a Samsung DVD-S221 DVD/MP3 player. 
This DVD player features component video output, CD-R/RW playback 
capability, MP3 decoder, standard remote control, full-size audio 
chassis (430mm) and titanium finish. Send in your tip -- you could 
be our next winner.

>> SUBMIT a tip:
http://search400.techtarget.com/tipsSubmit/1,289485,sid3,00.html

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
MANAGING THE ISERIES DISCUSSION FORUM | Interact with your peers

Check out Search400's Managing the iSeries discussion forum. If 
you have a performance problem you just can't figure out, or you 
need help recovering data after a system crash, we recommend you 
check out this forum. Other system managers can help you with 
these and other management issues. 

>> CLICK HERE TO READ recent discussion threads...
http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]@.ee84637!viewtype=&skip=&expand=

>> CLICK HERE TO POST a new question into the forum:
http://search400.discussions.techtarget.com/WebX?[EMAIL PROTECTED]@.ee84637!viewtype=convdate

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
THIS WEEK'S FEATURED BOOK | search400's Bookstore

Title: Disaster Recovery Planning
Author: Jon William Toigo

This book has the most complete guide to data protection, 
disaster recovery avoidance, and disaster recovery tools, 
techniques and technologies.
http://www.digitalguru.com/DigitalGuru/product_detail.asp?catalog_name=Books&category_name=&product_id=013084506x&partner_id=55

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
MONTHLY NEWSLETTER | Top Expert Advice newsletter

The Top Expert Advice newsletter was designed to help iSeries 
professionals manage tasks they deal with regularly. Each month 
we will give you expert advice on such topics as security, backup 
and recovery, Web development and application development. 

To receive this newsletter, simply edit your member profile at 
http://search400.techtarget.com/editSummary/1,291026,sid3,00.html
and check Top Expert Advice newsletter under the Tips section.
_________________________________________________________________ 
:::::::::::::::::::::  SEARCH400 CONTACTS   ::::::::::::::::::::: 

 TIP MAILBOX, (mailto:[EMAIL PROTECTED]) 
   >> Send us feedback on tips and ideas for new tip content.
_________________________________________________________________
 
 MICHELLE DAVIDSON, site editor 
(mailto:[EMAIL PROTECTED]) 
   >> Send us your story ideas and best practices. 
________________________________________________________________ 

 DEBRA TART, assistant editor (mailto:[EMAIL PROTECTED]) 
   >> Send us your tips and Best Web Links. 
________________________________________________________________

 DAVID GABEL, executive tech editor 
(mailto:[EMAIL PROTECTED])
   >> Send me your technical tips and tip ideas.
________________________________________________________________

 GABRIELLE DERUSSY (mailto:[EMAIL PROTECTED]) 
   >> Sponsor this or any other TechTarget newsletter. 
________________________________________________________________
::::::::::::::::::::  ABOUT THIS NEWSLETTER  ::::::::::::::::::: 

Created by TechTarget (http://www.techtarget.com) 
 TechTarget - The Most Targeted IT Media 
 Copyright 2002, All Rights Reserved. 




































Unsubscribe from 'Administrator Tips'
 - Simply Reply to this Email with REMOVE within the Body or Subject
>  or
 - Go to: http://search400.techtarget.com/register
 - Log in to edit your profile.
 - Click on the link to Edit email subscriptions.
 - Uncheck the box next to the newsletter you wish 
   to unsubscribe from.
 - When finished, click "Save Changes to My Profile."


Reply via email to