|
----- Original Message ----- From: "MARYLOU ATWELL" <MATWELL@interborosd.org> To: <midrange-l@midrange.com> Sent: Tuesday, April 02, 2002 7:58 AM Subject: Backup program problems. Note in the code that the end subsystem commands are followed by MONMSG CPF0000. This is a directed "ignore any error" statement. (Statement monitoring vs. global monitoring of messages.) Without the joblog, I would guess that the endtcp or the endhostsvr commands are issuing some message and there is no monitor after those commands. Since you indicated that the backup is not being performed, again, I would assume that the problem lies in the *BEFORE code, but the same issue follows in the *AFTER code. Is there a way to test the ending of subsystems without taking the subsystems down? No. 0011.00 0012.00 IF COND(&flag *EQ '*BEFORE ') THEN(DO) 0013.00 /*-------------------------------------------------------------------*/ 0014.00 INZTAP: CALL PGM(INZTAP) 0015.00 MONMSG MSGID(CPF0000) 0016.00 DLYJOB DLY(120) 0017.00 QSNADS: ENDSBS SBS(QSNADS) OPTION(*IMMED) 0018.00 MESSAGES: MONMSG MSGID(CPF0000) 0019.00 DLYJOB DLY(120) 0020.00 QSERVER: ENDSBS SBS(QSERVER) OPTION(*IMMED) 0021.00 MONMSG MSGID(CPF0000) 0022.00 QINTER: ENDSBS SBS(QINTER) OPTION(*IMMED) 0023.00 MONMSG MSGID(CPF0000) 0024.00 ENDSBS SBS(QINTER2) OPTION(*IMMED) 0025.00 MONMSG MSGID(CPF0000) 0026.00 ENDTCP monmsg cpf0000 0027.00 ENDHOSTSVR SERVER(*ALL) monmsg cpf0000 /* Checks previous statement only. */ 0028.00 DLYJOB DLY(60) 0029.00 JWALK: SEAJWK/ENDJWKSVR 0030.00 JWALKLIC: SEALMS/ENDLMSTCP 0031.00 DLYJOB DLY(200) 0032.00 COMPLEO: ENDSBS SBS(ICASRV) DELAY(120) 0033.00 MONMSG MSGID(CPF0000) 0034.00 ENDDO =========================================================== R. Bruce Hoffman, Jr. -- IBM Certified Specialist - iSeries Administrator -- IBM Certified Specialist - RPG IV Developer "Suppose you were an idiot... And suppose you were a member of Congress... But I repeat myself." - Mark Twain
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.