We submit never ending jobs all the time like this.
SBMJOB CMD(CALL PGM(DX375CL) PARM(&CTPRCD &CTACFL +
&CTHL7L)) JOB(&JOB_NAME) JOBQ(QINTER) +
USER(MEDTRON) LOG(0 99 *NOLIST) LOGCLPGM(*NO)
If there is an issue, I can change the job to 4 00 *seclvl and see everything that happened. Changing LOGCLPGM does not bring back old CL commands however. Just new ones going forward.
I have QJOBMSGQFL set to *PRTWRAP
Before:
Display Job Log
System: MDS
Job . . : @IP_ALM56 User . . : MEDTRON Number . . . : 151962
No job log information.
After:
Display All Messages
System: MDS
Job . . : @IP_ALM56 User . . : MEDTRON Number . . . : 151962
File ES* in library FMNX56 not found.
File A* in library FMNX56 not found.
File EA* in library FMNX56 not found.
File ED* in library FMNX56 not found.
File ES* in library FMNX56 not found.
File A* in library FMNX56 not found.
File EA* in library FMNX56 not found.
File ED* in library FMNX56 not found.
File ES* in library FMNX56 not found.
File A* in library FMNX56 not found.
File EA* in library FMNX56 not found.
File ED* in library FMNX56 not found.
File ES* in library FMNX56 not found.
Job 151962/MEDTRON/@IP_ALM56 changed by KEVIN.
________________________________
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> on behalf of Jim Oberholtzer <midrangel@xxxxxxxxxxxxxxxxx>
Sent: Thursday, October 18, 2018 11:29 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: JobLog Creation
This behavior completely depends on how the log levels were set and the start of the job.
If they were set to collect the data (say log level 4) and not create a joblog,(*NOLIST) then turning on the job logging function will provide the data since it was collected as the job runs.
Conversely if the logging level was set to zero at the start of the job or any time thereafter, then the logging is not there to retrieve.
So, in a sense all who have said yes, the data is there, and those that suggested it would not be are correct. "it depends......."
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxx> On Behalf Of Buck Calabro
Sent: Thursday, October 18, 2018 11:16 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: JobLog Creation
On 10/18/2018 8:59 AM, Joe Pluta wrote:
I once got the impression that while a job is running, it is always
capturing all the log information and that you could change the job's
logging and see that data. So, even though the job is currently at (0
00 *NOLIST), you could change it to (4 00 *SECLVL) and see all the old
data.
Subsequent testing has indicated that to not be the case. As far as I
can tell, if you turn off logging, that information is lost forever.
Does anybody remember it being any different in "the old days"? Or is
this just something I misremembered?
I remember this as S/38 behaviour. I believe that LOGLVL is not a filter for reading messages out of the job log; it is a filter for putting them into the job log.
--
--buck
http://wiki.midrange.com
Your updates make it better!
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
[
https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com
CONFIDENTIALITY NOTICE
This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.
As an Amazon Associate we earn from qualifying purchases.