| 
 | 
| You 
can use a job stream to do the RCVNETF & RSTOBJ on the remote 
system. Right 
after you do the SNDNETF,  do a SBMNETJOB to send a job stream to the 
remote system. A Job 
Stream is a source member with a type of CL. Example: //BCHJOB JOB(RSTOBJ) JOBD(xxx) JOBQ(*LIBL/QPGMR) 
MSGQ(*USRPRF)  CHGOBJOWN OBJ(library/PgmName) OBJTYPE(*PGM) NEWOWN(QPGMR) SNDNETMSG  MSG('Owner Changed!!!!') 
TOUSRID((Userid SystemName))   You 
can run any OS/400 command in a job stream, but you cannot use MONMSG, but to 
get by that you can just 
call a CL program to do what you want to do. And as 
the last statement you can send a message to yourself or a distribution list, 
but this is a simple example. I use them all the time and find them 
very useful. Hope this helps!! p.s. You can also to a SBMDBJOB on 
the local system to test your Job Stream CL. 
 | 
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.