TSQL Search and Extract Different Activity Sequences in a given set of data
Hello,
I have the following tables
1) EVENT_NAMES (EVENT_NAME_ID, EVENT_NAME)
1 PM
2 PM WASH
3 Backlog
2) EVENT_NAME_SEQUENCE(SeqParentKey, Event_Name_ID,Seqorder)
Data looks like below
1 2 1
1 1 2
1 3 3
2 1 1
2 3 2
Event_NAME_Sequence contains the Sequence which I need to find in the RAW data table. Currently there are 2 sequence which I need to find (identified by SeqParentKey). I need to find Seq(PM WASH, PM and BACKLOG) and Seq(PM,Backlog) in RAW DATA TABLE for
a particular Equipment
RAW DATA TABLE looks like below
3) EVENT_NAMECHANGE( EQMT, EVENT_NAME, STARTTIME, ENDTIME)
Sample data is as shown below
MACH_101 PM WASH 2014-01-01 10:00:00.000 2014-01-01 11:00:00.000
MACH_101 PM 2014-01-01 11:00:00.000 2014-01-01 15:00:00.000
MACH_101 Backlog 2014-01-01 15:00:00.000 2014-01-01 16:00:00.000
MACH_103 PM WASH 2014-01-01 10:00:00.000 2014-01-01 11:00:00.000
MACH_103 PM 2014-01-01 11:00:00.000 2014-01-01 15:00:00.000
MACH_106 PM 2014-01-01 15:00:00.000 2014-01-01 16:00:00.000
MACH_106 Backlog 2014-01-01 16:00:00.000 2014-01-01 18:00:00.000
MACH_101 PM 2014-01-02 15:00:00.000 2014-01-02 16:00:00.000
MACH_101 Backlog 2014-01-02 16:00:00.000 2014-01-02 18:00:00.000
MACH_900 PM 2014-01-02 15:00:00.000 2014-01-02 16:00:00.000
MACH_900 REPAIR 2014-01-02 16:00:00.000 2014-01-02 18:00:00.000
The records in BOLD is the output I would need
Below are the scripts for table and data
CREATE TABLE EVENT_NAMES
EVENT_NAME_ID int,
EVENT_NAME varchar(100)
INSERT INTO EVENT_NAMES values(1,'PM')
INSERT INTO EVENT_NAMES values(2,'PM WASH')
INSERT INTO EVENT_NAMES values(3,'Backlog')
CREATE TABLE EVENT_NAME_SEQUENCE
SeqParentKey int,
EVENT_NAME_ID int,
SeqOrder int
INSERT INTO EVENT_NAME_SEQUENCE values(1,2,1)
INSERT INTO EVENT_NAME_SEQUENCE values(1,1,2)
INSERT INTO EVENT_NAME_SEQUENCE values(1,3,3)
INSERT INTO EVENT_NAME_SEQUENCE values(2,1,1)
INSERT INTO EVENT_NAME_SEQUENCE values(2,3,2)
CREATE TABLE EVENT_NAMECHANGE
EQMT varchar(100),
EVENT_NAME varchar(100),
STARTTIME DATETIME,
ENDTIME DATETIME
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_101','PM WASH','2014-01-01 10:00:00.000','2014-01-01 11:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_101','PM','2014-01-01 11:00:00.000','2014-01-01 15:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_101','Backlog','2014-01-01 15:00:00.000','2014-01-01 16:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_103','PM WASH','2014-01-01 10:00:00.000','2014-01-01 11:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_103','PM','2014-01-01 11:00:00.000','2014-01-01 15:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_106','PM','2014-01-01 15:00:00.000','2014-01-01 16:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_106','Backlog','2014-01-01 16:00:00.000','2014-01-01 18:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_101','PM','2014-01-02 15:00:00.000','2014-01-02 16:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_101','Backlog','2014-01-02 16:00:00.000','2014-01-02 18:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_900','PM','2014-01-02 15:00:00.000','2014-01-02 16:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_900','Repair','2014-01-02 16:00:00.000','2014-01-02 18:00:00.000')
Any help on creating a Generic logic would help as in future there would be Event sequences added to EVENT_NAME_SEQUENCE table
So that was an interesting problem!
I decided to go for a solution where build concatenated lists to compare these. As started to play with it, I realised that there is risk for a scaling problem, so I introduced some optimisations. And it seems that they helped me to find the final solution.
There are two CTEs. The first CTE builds a fixed-width list of the event-name ids for each sequence. I also extract the length and the first value of each sequence.
In the next CTE I find the start of all sequences in the EVENT_NAMECHANGE table. For each row where the the event is the first of a sequence I read as many rows as there are in the sequence and form a fixed-width list of event-name ids. If this list matches
the sequence list, this row is returned from the CTE, together with the count of the sequence.
In the final query, I repeat the CROSS APPLY in the second CTE, but this time without FOR XML to get the actual rows. I need DISTINCT here, since one sequence may include another.
It is of course impossible to test performance without knowledge of the actual table. But is my assumption that EVENT_NAMES and EVENT_NAME_SEQUENCE are fairly small table, whereas EVENT_NAMECHANGE is big, maybe 100 millions of rows. Obviously the table has
to be scanned once, but I think performance should be proportional to the number of rows in the table times the length of the longest sequence.
Here is my complete test script.
CREATE TABLE EVENT_NAMES
EVENT_NAME_ID int NOT NULL P,
EVENT_NAME varchar(100)
INSERT INTO EVENT_NAMES values(1,'PM')
INSERT INTO EVENT_NAMES values(2,'PM WASH')
INSERT INTO EVENT_NAMES values(3,'Backlog')
CREATE TABLE EVENT_NAME_SEQUENCE
SeqParentKey int,
EVENT_NAME_ID int,
SeqOrder int
INSERT INTO EVENT_NAME_SEQUENCE values(1,2,1)
INSERT INTO EVENT_NAME_SEQUENCE values(1,1,2)
INSERT INTO EVENT_NAME_SEQUENCE values(1,3,3)
INSERT INTO EVENT_NAME_SEQUENCE values(2,1,1)
INSERT INTO EVENT_NAME_SEQUENCE values(2,3,2)
CREATE TABLE EVENT_NAMECHANGE
EQMT varchar(100),
EVENT_NAME varchar(100),
STARTTIME DATETIME,
ENDTIME DATETIME
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_101','PM WASH','2014-01-01 10:00:00.000','2014-01-01 11:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_101','PM','2014-01-01 11:00:00.000','2014-01-01 15:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_101','Backlog','2014-01-01 15:00:00.000','2014-01-01 16:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_103','PM WASH','2014-01-01 10:00:00.000','2014-01-01 11:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_103','PM','2014-01-01 11:00:00.000','2014-01-01 15:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_106','PM','2014-01-01 15:00:00.000','2014-01-01 16:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_106','Backlog','2014-01-01 16:00:00.000','2014-01-01 18:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_101','PM','2014-01-02 15:00:00.000','2014-01-02 16:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_101','Backlog','2014-01-02 16:00:00.000','2014-01-02 18:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_900','PM','2014-01-02 15:00:00.000','2014-01-02 16:00:00.000')
INSERT INTO EVENT_NAMECHANGE VALUES('MACH_900','Repair','2014-01-02 16:00:00.000','2014-01-02 18:00:00.000')
go
WITH matchlists AS (
SELECT seq.SeqParentKey, seq.cnt, seq.first, xml.matchlist
FROM (SELECT SeqParentKey, COUNT(*) AS cnt,
MIN(CASE SeqOrder WHEN 1 THEN EVENT_NAME_ID END) AS first
FROM EVENT_NAME_SEQUENCE
GROUP BY SeqParentKey) AS seq
CROSS APPLY (SELECT str(ens.EVENT_NAME_ID) AS [text()]
FROM EVENT_NAME_SEQUENCE ens
WHERE ens.SeqParentKey = seq.SeqParentKey
ORDER BY ens.SeqOrder
FOR XML PATH('')) AS xml(matchlist)
), matchstarts AS (
SELECT start.*, ml.cnt
FROM EVENT_NAMECHANGE AS start
JOIN EVENT_NAMES en1 ON start.EVENT_NAME = en1.EVENT_NAME
JOIN matchlists ml ON en1.EVENT_NAME_ID = ml.first
CROSS APPLY (SELECT TOP (ml.cnt) str(en.EVENT_NAME_ID) AS [text()]
FROM EVENT_NAMECHANGE next
JOIN EVENT_NAMES en ON next.EVENT_NAME = en.EVENT_NAME
WHERE next.EQMT = start.EQMT
AND next.STARTTIME >= start.STARTTIME
ORDER BY next.STARTTIME
FOR XML PATH('')) AS xml(eventlist)
WHERE charindex(ml.matchlist, xml.eventlist) = 1
SELECT DISTINCT next.*
FROM matchstarts ms
CROSS APPLY (SELECT TOP (ms.cnt) next.*
FROM EVENT_NAMECHANGE next
WHERE ms.EQMT = next.EQMT
AND next.STARTTIME >= ms.STARTTIME
ORDER BY next.STARTTIME) AS next
ORDER BY next.EQMT, next.STARTTIME
go
DROP TABLE EVENT_NAMECHANGE, EVENT_NAME_SEQUENCE, EVENT_NAMES
Erland Sommarskog, SQL Server MVP, [email protected]
Similar Messages
-
I do not know what the problem is, but after the latest update it is really hard to send text messages. It is taking alot of time to send the messages, it is not the problem with the carrier because sending text messages with the same number in the same area is really easy on my normal nokia 1100. Please suggest me what I should check. Second problem I am facing is the carrier signal drops to nothing when I turn on the cellular data. It has to then search for the network and connect again the same happens when I turn the data off again. Please tell a solution. I do not think it is the problem with the hardware because the phone is hardly 2weeks old and everything was working properly with ios 6. It initaly had problem with the battery on updating to ios7 but that was rectified with the new update but again these are the new issues am facing.
This may sound stupid, but I'm gonna throw it out there anyway. Is it possible, that if I have enough junk on my desktop it might disrupt the signal? It seems odd, but it kind of looks like my signal is strong and relatively steady now that I've cleaned my desktop. I do tend to get very cluttered. I use a lot of reference images and save text clippings to use later... it just piles up very quickly.
So, I wonder if all that extra effort my system has to do keeping up with the junk might have something to do with the drop outs? -
Hotspot appear always to search and never stop
internet is not working without internet APN data
Tethering APN never save the data
Vodafone carrier checked and mentioned that the no problem with the SIM
Tradeline checked and the IOS was latest 6.1, but asked to reinstall from scratch
Please adviceI have this _same_ issue, exactly. Initial backup goes just fine, but incremental backups fail. And like you, I replaced the internal drive.
The failures didn't start occuring long after the original drive was replaced--which was about 1 year ago. The new drive was non-Apple and worked fine--and tests fine now as well when outside the TC. But suddenly incremental backups started failing when the TC firmware and utility app were updated about 2-3 months ago. I even swapped the internal non-Apple drive for another known-working non-Apple drive, and same results.
I strongly suspect Apple added something to the firmware to check if it's an Apple or non-Apple drive in the TC and, if the latter, maybe causes incremental backups to fail. This is only speculation and, obviously, the initial backup still works, so any checksum like this would have to be only during the incremental backup process.
I'll be checking into this thred to see if others have the same issue, or if a solution is found. Hopefully my hypothesis is just para-apple-noia and it's some small, easy-to-fix issue.
-Gizm0d0 -
How to browse a file and extract its contents
i want to browse a file and extract its contents.My code is given below but its not working .Can anybody help me please
JFileChooser fc = new JFileChooser();
int returnVal = fc.showOpenDialog(jfrm);
if (returnVal == JFileChooser.APPROVE_OPTION)
File file = fc.getSelectedFile();
//This is where a real application would open the file.
fileName=file.getName();
//This is a file function to extract data from a file.
//It reads data from a file that can be viewed on cmd
jlab3.setText(fileName);
try
// Open the file that is the first
// command line parameter
FileInputStream fstream = new FileInputStream(fileName);
// Convert our input stream to a
// DataInputStream
DataInputStream in =new DataInputStream(fstream);
// Continue to read lines while
// there are still some left to read
// while (in.available() !=0)
// Print file line to screen
fileName1=in.readLine();
jlab3.setText(fileName1);
in.close();
catch (Exception e)
System.err.println("File input error");
}JFileChooser fc = new JFileChooser();
int returnVal = fc.showOpenDialog(jfrm);
if (returnVal == JFileChooser.APPROVE_OPTION)
File file = fc.getSelectedFile();
//This is where a real application would open the file.
fileName=file.getName();
//This is a file function to extract data from a file.
//It reads data from a file that can be viewed on cmd
jlab3.setText(fileName);
try
// Open the file that is the first
// command line parameter
FileInputStream fstream = new FileInputStream(fileName);
// Convert our input stream to a
// DataInputStream
DataInputStream in =new DataInputStream(fstream);
// Continue to read lines while
// there are still some left to read
// while (in.available() !=0)
// Print file line to screenHere you are reading the first line of the file
fileName1=in.readLine();
//}and here you are displaying the line in a (I suppose) JLabel. A JLabel is not very suitable for displaying a file content, except is the file contain few characters !!!
jlab3.setText(fileName1);
in.close();
catch (Exception e)
System.err.println("File input error");
}If you want to read the complete file content you must uncomment lines inside while instruction, like this
while (in.available() > 0) { // I prefer to test in.available like this, instead of !=
// append text to a StringBuffer (variable named sb here) or directly in a textarea.
sb.append(in.readLine());
... -
Different sequence of search results in different environments with same set of documents
I am using Sharepoint 2013 Foundation version.
I have set up 2 environments (say environment A and environment B) with the same Window baseline and Sharepoint server farm setup. The similar set of documents have been uploaded to both environments. With input of exactly the same search string at the search
field and enter button pressed, the sequences of entries shown on search result page are different in these 2 environments.
In particular, there is a document 'Monthly Newsletter.pdf' uploaded in both environments. When I type 'Monthly Newsletter' in search field and press enter, this document appears as the first entry in the search result in environment A, but this same document
appears as the 8th entry in the search result in environment B.
May I know the reason? Thanks a lot for advice!There are a lot of factors that go into computing the "relevance" of any one document. One factor is "closeness". So one question would be how identical are the two environments? Same number of site collections? Are the
documents at the same depth? (sites -> subsites -> libraries -> folders) Are the libraries of the same type, using the same content types and the same metadata> In both cases are you searching from
the same site and are the documents at the same depth?
Ranking is also impacted by past searches. The more people who have clicked through to the document, the higher it will be ranked in the future.
If the two environments are identical, and are only being used for testing, Reset the Indexes and do a new Full Crawl and then test.
Mike Smith TechTrainingNotes.blogspot.com
Books:
SharePoint 2007 2010 Customization for the Site Owner,
SharePoint 2010 Security for the Site Owner -
Position Activity Sequence Resulting in data extracting error
hi gurus
can any body tell me what is this position activity sequence error resulting in data extracting error, plz help. this is very high priority for me.
regards
devI rebuild the report using a tabular form and populated the primary key with a PL/SQL expression and now it appears to be working. P1_ISSUE_NO is the primary key on the issue table and I could not figure how to get it in the issue_no field of the tabular report when a new line was entered I ended up putting the following code in for the default for
issue_no on the report:
Begin
return :P1_ISSUE_NO;
end
It works great. -
The user and the mailbox are in different Active Directory Sites
Hi All,
I have 2 site, each site have an Exchange Server 2010 SP1, let say Site HQ and Site DRC I monitored it with SCOM 2007 R2, site HQ successfully monitored, then I continue try to monitor DRC site. I executed new-TestCasConnectivityUser.ps1 at MBX DRC Site
to create extest user.
Then I try to execute command to test-connectivity, but it failed.
Test-OwaConnectivity -TestType:Internal -MonitoringContext:$true -TrustAnySSLCertificate:$true -LightMode:$true | fl
RunspaceId : 6b709fa5-0719-4be5-ae62-ec4b3617a6e0
AuthenticationMethod :
MailboxServer : CONMBX02.contoso.com
LocalSite : CONMBX02.contoso.com
SecureAccess : False
VirtualDirectoryName :
Url :
UrlType : Unknown
Port : 0
ConnectionType : Plaintext
ClientAccessServerShortName : DRCCAS01
LocalSiteShortName : CONMBX02
ClientAccessServer : DRCCAS01.contoso.com
Scenario : Reset Credentials
ScenarioDescription : Reset automated credentials for the Client Access Probing Task user on Mailbox server CON
MBX02.contoso.com.
PerformanceCounterName :
Result : Failure
Error : [Microsoft.Exchange.Monitoring.CasHealthStorageErrorException]: An error occurred while t
rying to access mailbox CONMBX02.contoso.com, on behalf of user contoso.com\extes
t_xxxxxxxx
Additional information:
[Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in
different Active Directory sites..
UserName : extest_xxxxxxxx
StartTime : 04/01/2012 20:46:19
LaCONcy : 00:00:00.0156460
EventType : Error
LaCONcyInMillisecondsString :
Identity :
IsValid : True
WARNING: No Client Access servers were tested.
RunspaceId : 6b709fa5-0719-4be5-ae62-ec4b3617a6e0
Events : {Source: MSExchange Monitoring OWAConnectivity Internal
Id: 1005
Type: Error
Message: Couldn't access one or more test mailboxes.
The service that is being tested will not run against these mailboxes.
Detailed information:
Local Site:DRCProduction
[Microsoft.Exchange.Monitoring.CasHealthStorageErrorException]: An error occurred while trying to
access mailbox CONMBX02.contoso.com, on behalf of user contoso.com\extest_xxxxxxxx
Additional information:
[Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in differen
t Active Directory sites..
PerformanceCounters : {Object: MSExchange Monitoring OWAConnectivity Internal
Counter: Logon LaCONcy
Instance: DRCCAS01.contoso.com|DRCProduction
Value: -1000}
any help appreciate it.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Krisna Ismayanto | My blogs:
Krisna Ismayanto | Twitter: @ikrisnaHi
Removed existing test account on two site.
Then created test account on DGC through new-TestCasConnectivityUser.ps1.
Flushed Health Service on RMS.
Terence Yu
TechNet Community Support
Hi
What do you mean on DGC ? you mean I have remove both test account or just at DRC site only ?
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Krisna Ismayanto | My blogs:
Krisna Ismayanto | Twitter: @ikrisna -
I have a two site DAG, and the command is running from the alternate site where the databases are not currently being hosted. The following command...
Test-OutlookConnectivity -Protocol:TCP -TrustAnySSLCert:$true -MonitoringContext:$true
...errors with the following output:
An error occurred while trying to access mailbox CurrentlyHostingMBServerName.InternalDomainName, on behalf of user InternalDomainName\extest_bb13200232474
Additional information:
[Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in different Active Directory sit
es..
+ CategoryInfo : OperationStopped: (Microsoft.Excha...onnectivityTask:TestOutlookConnectivityTask) [Test-
OutlookConnectivity], CasHealthStorageErrorException
+ FullyQualifiedErrorId : F2F8AC0D,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
I thought this command would work based on the 'AllowCrossSiteRpcClientAccess: True' option on the DAG. The command works well if run a CAS server in the active DB site.Hi,
Exchange 2013 users use Outlook Anywhere to connect to CAS server. You may run the RCA to test the connectivity:
https://www.testexchangeconnectivity.com/
Thanks,
Simon Wu
TechNet Community Support -
Failover, SO activation sequence and Log
Hi
Wud u please clarify my following doubts :-
1. Failover
If a partition carries 3 failover service objects-. A, B & C - and if service object A fails, I
believe that the whole partition in replicated and reinstantiated. If so what happens to the
non-failed objects in old partition and the newly created clones of those objects in new partition?
Which one wud be used while referenced ?
My unerstanding is that it manages failover by partition than by objects so that failed partiton is
activated on some other assigned nodes.
2. Service object activation sequence
How the activation sequence of service objects are determined ? I have a strange problem. One of my
service object (in its init method) try invoking a method on another service object; but gives
"Attempt to invoke a method on a NIL object" exception. I inserted a loop above this line as
DO WHILE thisSO = NIL THEN
END DO;
flag = thisSO.GetStatus();
Still the exception occurs. The called service object reads from a flat file to populate its data
members. Can I change the activation sequence of service objects ? Both the service objects, talked
about here, belongs to same partition and are of USER visibility type.
3. Partition Log
The partition log generated overwrites the existing file if I specify a file name name using -fl
flag at command line. Is there anyway that I can make it to append to existing log ?
ThanX.. @nthoz
Anil Thomas Samuel(Team Leader)|Voice:(91 - 80)3322139,3324313,3322337
IBC Solutions India Pvt. Ltd. |Ext:40
#2201, 11th Main, A Block |Fax:(91 - 80) 3321369
2nd Stage, Rajajinagar |Web Pager:[email protected]
Bangalore, India - 560 010. |Visit us @ http://www.ibcweb.com
URL:http://members.tripod.com/~anthos/index.htm
***************************** Day's Quote *****************************
Underneath the table Greebo dozed on his back with his legs in the air. Occasionally he twitched as
he fought wolves in his sleep. - >From Witches Abroad by Terry Pratchetteck-up: who am I, where am
I, who is he/she, good god, why am I cuddling a policeman's helmet, what happened last night?stle.
Besides, it'd be sunrise soon. It's red eyes glinted as it looked up at Magrat's window. It tensed-
- From Witches Abroad by Terry Pratchettwho knew neither victory nor defeat." - Theodore Roosevelt
***************************** Day's Quote *****************************
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>Hi
Wud u please clarify my following doubts :-
1. Failover
If a partition carries 3 failover service objects-. A, B & C - and if service object A fails, I
believe that the whole partition in replicated and reinstantiated. If so what happens to the
non-failed objects in old partition and the newly created clones of those objects in new partition?
Which one wud be used while referenced ?
My unerstanding is that it manages failover by partition than by objects so that failed partiton is
activated on some other assigned nodes.
2. Service object activation sequence
How the activation sequence of service objects are determined ? I have a strange problem. One of my
service object (in its init method) try invoking a method on another service object; but gives
"Attempt to invoke a method on a NIL object" exception. I inserted a loop above this line as
DO WHILE thisSO = NIL THEN
END DO;
flag = thisSO.GetStatus();
Still the exception occurs. The called service object reads from a flat file to populate its data
members. Can I change the activation sequence of service objects ? Both the service objects, talked
about here, belongs to same partition and are of USER visibility type.
3. Partition Log
The partition log generated overwrites the existing file if I specify a file name name using -fl
flag at command line. Is there anyway that I can make it to append to existing log ?
ThanX.. @nthoz
Anil Thomas Samuel(Team Leader)|Voice:(91 - 80)3322139,3324313,3322337
IBC Solutions India Pvt. Ltd. |Ext:40
#2201, 11th Main, A Block |Fax:(91 - 80) 3321369
2nd Stage, Rajajinagar |Web Pager:[email protected]
Bangalore, India - 560 010. |Visit us @ http://www.ibcweb.com
URL:http://members.tripod.com/~anthos/index.htm
***************************** Day's Quote *****************************
Underneath the table Greebo dozed on his back with his legs in the air. Occasionally he twitched as
he fought wolves in his sleep. - >From Witches Abroad by Terry Pratchetteck-up: who am I, where am
I, who is he/she, good god, why am I cuddling a policeman's helmet, what happened last night?stle.
Besides, it'd be sunrise soon. It's red eyes glinted as it looked up at Magrat's window. It tensed-
- From Witches Abroad by Terry Pratchettwho knew neither victory nor defeat." - Theodore Roosevelt
***************************** Day's Quote *****************************
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
I created in iMovie, and extracted audio from one of the clips to use in the title sequence. All is well, export to iDVD and it plays OK, but when I burn the DVD the audio for the titles does not play. Any suggestions?
I am on a MacBook Pro with OS 10.6.7 running iMovie '11 and iDVD 7.1.1. Thanks for any input.
-
Is it possible to use markers in a Premiere Pro sequence such as Chapter / Comment / Segmentation and export the XMP metadata for a database so that when the video is used as a Video On-Demand resource, a viewer can do a keyword search and jump to a related point in the video?
take have to take turns
and you have to disable one and enable the other manually -
When calling or receiving calls, after a minute or so, is the call, give notice "call failed, THEN RUNS OUT OF SERVICE, then activated" SEARCHING "and then restoring the coverage. THIS FOR THE 100% of calls
You may have a bad sim, contact your phone carrier and see if you can get a new one.
-
Search results are differed in Quick and candidate searches
Hi Everyone,
I am using ECC 6 EhP 5 system with Trex search 7.10.48.
We are having a scenario where search is behaving differently in different places.
We are able to find some Locked candidates in quick Search (ERC_C_QUICK_SEARCH_UI) as well as in Candidate Search.
But as per standard behaviour the Locked candidates should not be able to search in Candidate Search.
So how to restrict the Locked candidates to able to see in Candidate search.
I tried SNOTE 1301016, i confused how to use that one.
Please help if you have faced similar issues.
Kind regards
ChetanHi Nicole,
I am able to find one entry in IT5134, So exactly where we need to check for the attachment status.
Below are the table entries
MANDT:300 PLVAR :01 OTYPE:NA OBJID: 50027289 SUBTY:0001 ISTAT:1 BEGDA: 17.03.2011 ENDDA: 31.12.9999 INFTY:5134 OTJID: NA50027289 AEDTM: 17.03.2011 UNAME: AMXJUE ATT TYPE: 12 ATTACHMENT:1 LANGUAGE:EN ATT HEADER: Juechter 2011 REC GUID: ATT GUID:
Thanks for your help.
Kind regards
Chetan -
AD Search plus access to task sequence variables via powershell.
Hi,
I would like to an Active Directory search in a SCCM task sequence.
Now there are two ways I can do this run the powershell script
as a domain user - in the task sequence step.
Or do something fancy in the script itself so the task sequence step
runs as system then does a kind of connect as to do the AD search.
The reason I am asking this is I want to know if the task sequence
variables are available of I run the powershell script as user
account from the task sequence UI.
Or can I only get at them if I am running them as the system context.
Thanks,
WardFirst, answer to your question: if you run an action as a different user in a task sequence (which can only be done after you leave WinPE), you lose the ability to read the task sequence variables. You'll get empty strings for every variable you query.
Now there are several ways of getting this accomplished and it all depends on what stage of the task sequence you want to invoke something like this/what you want to do in AD.
If just want to query AD then, by default, you don't need any special rights as any domain user can do it.
If you want to modify something in AD then you need to be a bit more creative.
1. If you want to run this script after the computer has joined the domain, you don't need to mess around with permissions, as any network actions will be run using the computer object on the network. As far as AD is concerned it will use ComputerName$
account. Though obviously you'll only have read rights.
2. Use the network access account credentials, the username/password for the account are saved onto task sequence variables so you can easily read it. The script itself would still run under the system context, but when you establish a connection
to AD you pass the username/password of the user to connect as. Again, you'd only have read rights.
3. If you want to modify something in AD and the task sequence has already left WinPE, then you can use the 'run as a different user' option in the 'run command' action in the SCCM task sequence. This will force the whole script to run under the context
of the user you specified, which obviously gives you whatever rights you want, including ability to modify something in AD, but you completely lose access to task sequence variables. If you try to query any of them you just get an empty string. A way around
this is to make the variables you know you will need as part of your script in parameters. So for example you call your script as: MyScript.ps1 -MP %_SMSTSMP% to pass the variable _SMSTSMP to your script as a parameter. You can only specify 'run as a different
user' if the task sequence is not in WinPE though.
4. You could use a slight variation of option 2 if you need to modify AD. Instead of using the NAA account use the username/password of an account you specify. The action still runs under system context, but the connection to AD runs with the account
you specify. As a result, this also works in WinPE, and you have no problems accessing task sequence variables. The only problem with this one though... is how to safely pass the credentials over, and that's a big tricky problem.
As you can see, there's several ways of getting things done, but they all have caveats :)
Hope this helps. -
How to get the list of employees whose Sal on hold and who are active
HI Experts,
We are trying to extract a report,where the list of employees whose salary was hold and who are active in a particular month.
Please advice.
Regards,
V Sai.Hi,
I can think of two different solutions. You can choose the one as per the requirement.
1. Creating a report of locked employees as on date.
Active employee that are locked in Infotype 3.
As infotype 3 doesnt have different Begin data and end dates, we cannot have historic data/report.
2. Creating a report for payroll not run.
Getting a list of active employees
Check the RT of the employees for previous payroll runs.
You can use the selection criterila for dates/months.
Hope this helps.
Param
Maybe you are looking for
-
How to get Depreciation key independant from Depreciation area
Hello, We are using two depreciation areas 01 book depreciation and 15 Tax, in our asset class we have put for both the same depreciation key (GD50) but with a different uselife for every depreciation area Now when we create a new asset (AS01) inti
-
I currently have Adobe CS4 now. The problem I am having is with the form emailing to the person I specified in the Email Submit button. Instead, it wants to email to me. I never had this problem with the previous version. I create a form, I a
-
Creating a Hollow Square using on variables
I have worked up the following code to create a hollow box with asterisks. In it's present form, it is static, not dynamic. Dynamic in the sense that an input box will pop up in which the user will determine the number of sides the hollow box will co
-
Hi I am a novice in java world. I am very excited to learn tsr programming in java. I do not know wether it is possible or not in java. If it is possible please any one can help me.
-
Anyone else having trouble deleting artists from Music in iOS6?
The 'slide to delete' function is seemingly buggy in the updated Music app from iOS6, some artists with longer names are harder to delete, others randomly don't respond. Anyone else?