Manage Learn to apply best practices and optimize your operations.

Send "job done" message to a phone

Even today, when most things are automated, there are still times when a series of long batch jobs must be run manually and sequentially. If there is a long job running, with manual steps between jobs, it's nice if the iSeries can "page" you when a batch job is done. It is possible.

Even today, when most things are automated, there are still times when a series of long batch jobs must be run manually and sequentially. If there is a long job running, with manual steps between jobs, it's nice if the iSeries can "page" you when a batch job is done. It is possible.
SBMJOB <your batch job to a single threaded job queue>

SBMJOB <Command to page you, to the same single threaded job queue>

Suggestion: Use the SNDDST command to "e-mail" a text message to your cell phone.

Example:

SNDDST TYPE(*LMSG) TOINTNET(('2165551212@vtext.com')) DSTD('AS/400 Message ') LONGMSG('The long batch job has finished. Ready for the next step.')

Many, if not most, digital cell phones support text messaging and, in fact, have an e-mail address to receive messages up to 160 characters or more. In the above example, the "@vext.com" address is a Verizon cell phone e-mail address.

When the first job finishes, the next job is processed, which uses SNDDST to e-mail the short message to the cell phone alerting the human on duty that the iSeries is done and ready for the next step. I find this useful whether I'm working on site or remotely.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: Tips, tutorials and more.

Visit the ITKnowledge Exchange and get answers to your systems management questions fast.

Read this Search400.com Featured Topic: Take control of your iSeries.

Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.

Dig Deeper on Remote Access to iSeries

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close