Hi Bo!
I doubt if that will be possible at all. Both the message as the part you would 
like to get rid of (SESSION: 113123) have a variable length. If CHARINDEX was 
supported you could have used LEFT(message, CHARINDEX('(SESSION' )) to return 
everything left of (SESSION, but unfortunately it isn't...
Kind regards,
Eric van Loon
Air France/KLM Storage Engineering

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Bo 
Nielsen
Sent: vrijdag 7 oktober 2016 11:40
To: ADSM-L@VM.MARIST.EDU
Subject: Help to Operational Report.

I try to create a select in Operational Report, but I need some help.
I want to display Missed file details for a couple of nodes, as in the standard 
Report.
I can't figure out the last of the the message.
My select:
    select nodename, substr(char(date_time), 1, 20) as TME, 
substr(char(message), 16, 88) as MSG from actlog where (msgno=4005 or 
msgno=4007 or msgno=4018 or msgno=4037 or msgno=4987) and 
date_time>(current_timestamp-24 hours) and domainname='LINUX_DOMAIN_SQKO'
My output:
       '/var/log/secure' changed during processing. Object skipped. (SESSION: 
113123) I don't want . (SESSION: 113123)

Regards

Bo Nielsen


IT Service



Technical University of Denmark

IT Service

Frederiksborgvej 399

Building 109

DK - 4000 Roskilde

Denmark

Mobil +45 2337 0271

boa...@dtu.dk<mailto:boa...@dtu.dk>
********************************************************
For information, services and offers, please visit our web site: 
http://www.klm.com. This e-mail and any attachment may contain confidential and 
privileged material intended for the addressee only. If you are not the 
addressee, you are notified that no part of the e-mail or any attachment may be 
disclosed, copied or distributed, and that any other action related to this 
e-mail or attachment is strictly prohibited, and may be unlawful. If you have 
received this e-mail by error, please notify the sender immediately by return 
e-mail, and delete this message. 

Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its 
employees shall not be liable for the incorrect or incomplete transmission of 
this e-mail or any attachments, nor responsible for any delay in receipt. 
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch 
Airlines) is registered in Amstelveen, The Netherlands, with registered number 
33014286
********************************************************
                        
  • Help to O... Bo Nielsen
    • Re: ... Loon, Eric van (ITOPT3) - KLM
    • Re: ... David Ehresman
    • Re: ... Schofield, Neil (Storage & Middleware, Backup & Restore)
      • ... Bo Nielsen

Reply via email to