05-08-2013
I have one xml file and in that we have different event source defined and for
each event source we have different file mask . so , i have to read those file
mask and according to that pattern i have to pick files from other folder.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I have shell script running on AIX 5.3 box. It has 7 to 8 "sed" commands piped(|) together. It has a an Xml file as its input which has many records internally. There are certain record which which have more than hundered tags.The script is taking a huge amount of time more than 1.5 hrs... (10 Replies)
Discussion started by: aixjadoo
10 Replies
2. Shell Programming and Scripting
I have an xml file:
<AutoData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Table1>
<Data1 10 </Data1>
<Data2 20 </Data2>
<Data3 40 </Data3>
<Table1>
</AutoData>
and I have to remove the portion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" only.
I tried using sed... (10 Replies)
Discussion started by: Gary1978
10 Replies
3. Shell Programming and Scripting
Hi Experts,
I need a unix shell script which can copy the xml file from the below pasted website and paste in in my unix directory.
http://www.westpac.co.nz/olcontent/olcontent.nsf/fx.xml
Thanks in Advance... (8 Replies)
Discussion started by: phani333
8 Replies
4. Shell Programming and Scripting
Dear All,
I have one log file and it contains lot of XML as below.
... (1 Reply)
Discussion started by: murtujak
1 Replies
5. UNIX for Advanced & Expert Users
Hi unix Gurus,
I am really new to Unix Scripting. Please help me to create a shell script which reads the xml file and from that i need to fetch a particular information.
For example
<SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (2 Replies)
Discussion started by: SmilePlease
2 Replies
6. Shell Programming and Scripting
Hi unix Gurus,
I am really new to Unix Scripting. Please help me to create a shell script which reads the xml file and from that i need to fetch a particular information.
For example
<SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (5 Replies)
Discussion started by: SmilePlease
5 Replies
7. Shell Programming and Scripting
Hi All,
I have one query, I managed to run script with user inputs through command line or with 1 file.
But I need to read a txt file/xml file in which user can mention multiple sets of answers and script should run for each set till it reach the EOF.
Thanks in advance
for example, the file... (3 Replies)
Discussion started by: rv_champ
3 Replies
8. Shell Programming and Scripting
<Start>
<Header>
This is header section
</Header>
<Body>
<Body_start>
This is body section
<a>
<b>
<c>
<st>111</st>
</c>
<d>
<st>blank</st>
</d>
</b>
</a>
</Body_start>
<Body_section>
This is body section (3 Replies)
Discussion started by: RJG
3 Replies
9. UNIX for Beginners Questions & Answers
Hello All,
I am new to unix scripting. I need to read FROMINSTANCE, FROMFIELD from below XML code and need to write a script for
insert into SQ_EPIC values( "DID", "PROJECT_NAME")
Select DID, PROJECT_NAME from EPIC<CONNECTOR TOINSTANCETYPE="Source Qualifier" TOINSTANCE="SQ_EPIC" TOFIELD="DID"... (7 Replies)
Discussion started by: sekhar.lsb
7 Replies
10. Shell Programming and Scripting
hi all, here is the sample log file and these errors are repeated in log file..
i need all the repeated time stamp ,severity and message tags needs to print in output file.. through shell script
<log-message>
<timestamp>2019-03-13T04:52:49.648-05:00</timestamp>
<severity>ERROR</severity>... (17 Replies)
Discussion started by: ravi
17 Replies
LEARN ABOUT HPUX
xtappprocessevent
XtAppProcessEvent() XtAppProcessEvent()
Name
XtAppProcessEvent - get and process one input event of a specified type.
Synopsis
void XtAppProcessEvent(app_context, mask)
XtAppContext app_context;
XtInputMask mask;
Inputs
app_context
Specifies the application context for which to process events.
mask Specifies what types of events to process.
Description
XtAppProcessEvent() processes one X event, alternate input source event or timer event in app_context. The mask argument specifies which
types of events are to be processed; it is the bitwise inclusive OR ( ) of any of the values XtIMXEvent, XtIMTimer, or XtIMAlternateInput,
or the value XtIMAll which specifies all three event types.
If there is no event or input of the appropriate type to process, if there is a background work procedure registered (see XtAppAd-
dWorkProc()) XtAppProcessEvent() calls that procedure and checks again for input from all specified sources. If there are no pending
events and no work procedures registered, XtAppProcessEvent() blocks until an event of one of the specified types occurs.
If X events are specified in mask, and no events are immediately available, XtAppProcessEvent() flushes the output buffer of each of the
Displays in app_context. If there is more than one of the requested types of input available, it is undefined which will be processed.
XtAppProcessEvent() handles timer and alternate input events by calling the callback procedures registered for those events (see XtAppAd-
dTimeOut() and XtAppAddInput()). It handles X events by passing them to XtDispatchEvent(). XtDispatchEvent() handles an event by passing
it to the appropriate event handlers (see XtAddEventHandler()) or to the Translation Manager (which is itself an event handler).
Usage
Programs rarely need this much control over the event dispatching mechanism. Most programs use XtAppMainLoop().
Structures
The XtInputMask type and its possible values are defined as follows:
typedef unsigned long XtInputMask;
#define XtIMXEvent 1
#define XtIMTimer 2
#define XtIMAlternateInput 4
#define XtIMAll (XtIMXEvent XtIMTimer XtIMAlternateInput)
See Also
XtAppAddInput(1), XtAppAddTimeOut(1), XtAppAddWorkProc(1), XtAppMainLoop(1), XtAppNextEvent(1), XtAppPeekEvent(1), XtAppPending(1), XtDis-
patchEvent(1).
Xt - Event Handling XtAppProcessEvent()