|
Tim, Since the SBMJOB will create a new job, the override will not be carried from your interactive session to the new one, and you will have to specify it again. A way to do this without a CL would be to call the QCMDEXC API with the override command, then open the file in question. Declare the file with the USROPN keyword. I guess I would have to ask why you are specifying OVRSCOPE(*JOB) in the first place. If it is a way of trying to get around activation groups, it will work as a quick fix, but I wouldn't reccomend it for the long term. I would set up the system to work with the defined activation groups. I have only had to use the OVRSCOPE(*JOB) keyword in rare instances where I am calling an OPM program and the CLLE program that runs in a named AG that performs and OPNQRYF calls this OPM program. Very soon I will simply change the OPM to an RPGLE object and compile the programs to run in the *CALLER AG. I may even change the command default to specify *CALLER, and if I need to specify a named or *NEW AG then I will simply prompt on the command. Bradley V. Stone Taylor Corporation - OASIS Programmer/Analyst bvstone@taylorcorp.com Phone: 1-507-625-6464 x3147 Fax: 1-507-625-8937 > -----Original Message----- > From: Tim Truax [SMTP:ttruax@shiprps.com] > Sent: Wednesday, October 21, 1998 10:17 AM > To: midrange-L@midrange.com > Subject: OvErRiDeS -- question > > Hi All, > If I put a file override in place at my interactive session and > specify for > the (OVRSCOPE) override scope -- *JOB, why can't I SBMJOB the specific > program and it will refer to that override? -- Better yet -- is there > a > way to do this without coding a CL ? > Thanks in advance. > Tim Truax > +--- > | 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.