|
create some cl to do the various saves endsbs etc using input parameteres and make the job wait on a MSGQ You then run this job on your Console (running in your controling subsystem) then have another job can be set up in WRKJOBSCDE to send parameters to the message queue. Your job running on the console then processes those params and runs the relevant bit of code such as ENDSBS SAVSYS etc. It then looks as if you are submitting the commands at the console. make sure the first thing you don inthe Console Cl is to clear the message queue just in case you have old params sitting there. If you need more details e-mail me. Gareth "Dave Snyder" <dsnyder@blcnet.com> on 18-04-2001 10:17:22 pm Please respond to MIDRANGE-L@midrange.com To: midrange-l@midrange.com cc: (bcc: Gareth Lewis/GRP_MIS/HDAL) Subject: ENDSBS I am trying to create a batch job that performs a SAVSYS, and prior to the SAVSYS command I am issuing an ENDSBS *ALL command. I am having difficulty getting either command to work. Messages I receive: ENDSBS *ALL not allowed in current environment. Command SAVSYS not allowed in this setting. I realize both messages are because I am trying to run them in batch because if I run them interactively, they work. How do others perform unattended system backups? Dave Snyder Systems Analyst Sterling Financial Phone: 717-735-5876 dsnyder@sterlingfi.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.