Home > Ask the AS/400 Experts > iSeries Backup and Recovery Questions & Answers > Revisiting automating email for a backup joblog on AS/400
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Revisiting automating email for a backup joblog on AS/400

Ken Graap EXPERT RESPONSE FROM: Ken Graap

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


iSeries news and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 12 August 2008
I saw this thread Automatic email for backup job log on AS/400. But, the question was "to email me the job log". I think your answer does not e-mail a job log. Also, do I just add the email command to the exit program of the backup?

>
You are right! You asked me how to e-mail a job log and I told you how to e-mail a message… Sorry about that.

Mailing a spool file isn't as easy as just sending a message. There are several steps that have to be done.

To e-mail a job log you could do this:

CRTPF FILE(EMAILDATA) 

RCDLEN(132)
MBR(*NONE)
CPYSPLF FILE(QPJOBLOG) 

TOFILE(EMAILDATA)
JOB(Job_Number/Username/JobName)
MBROPT(*ADD)
CPYTOPCD FROMFILE(EMAILDATA)

TOFLR(EMAIL)
TODOC(Joblog.txt)
REPLACE(*YES)
DLTF FILE(EMAILDATA)
SNDDST TYPE(*DOC)

TOINTNET((Name@address))
DSTD('Some subject text')
MSG('Some important message text')
DOC(Joblog.txt)
FLR(EMAIL)

There are also plenty of very reasonably priced packages available that can easily be integrated into any of your processes requiring the e-mailing of spool files. If you are going to be e-mailing a lot of spool files, this would be the way to go. A simple Google search like - email spool files iSeries – will show you many product options.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
iSeries Backup and Recovery
Parallel backups using save option 21
How to migrate old *ALLUSR data using BRMS to V6R1
How to save HMC critical data through the console
Authority restrictions on the AUTL on backup/test systems and AUTL on live system
Perform a full system backup without user profile QSECOFR
Faster backup method for System i
Solve problems concerning the ALLOW OBJECT DIFFERENCES parameter when restoring a library
System i backup not advised using network NETBACKUP
How to clear expired BRMS created *SAVF files from System i
Restore a full system backup from the production partition to the test partition

Remote Journaling
Parallel backups using save option 21
How to: Reduce the percentage of ASP used on the AS/400
Benefits of Remote Journaling for iSeries High Availability
OS/400 remote journaling: Complementary to MIMIX

Data backup, storage and retrieval on iSeries
How to migrate old *ALLUSR data using BRMS to V6R1
Authority restrictions on the AUTL on backup/test systems and AUTL on live system
Perform a full system backup without user profile QSECOFR
Faster backup method for System i
Solve problems concerning the ALLOW OBJECT DIFFERENCES parameter when restoring a library
System i backup not advised using network NETBACKUP
How to clear expired BRMS created *SAVF files from System i
Restore a full system backup from the production partition to the test partition
Tivoli Service Manager 6 released with DB2 integration and dedupe
Remove a media with a *PERM expiration date from the inventory
Data backup, storage and retrieval on iSeries Research

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts