07-26-2007
Parllel Processing
In simple words of the scenario.
I have some set of files that are to loaded into a table in parallel
Loading part would be taken care of the Abintio graph. I must develop a script which instructs this graph about how to process the files like wat files to process and how to process by passing on some parameters.
This is the task...
let me explain u much better with an example.
Let have that i have the following files EMP.dat, DEPT.dat, BONUS.dat
I have splited all these files into two. EMP001.dat, EMP002.dat, DEPT001.dat, DEPT002.dat, BONUS001.dat, BONUS002.dat
Now take TO Parameters $Load_batch and $set_time
IF $load_batch ='N' the script should provide the information of the files to be processed (which are EMP.dat, DEPT.dat, BONUS.dat)
IF $load_batch = "y" The script should provide the information of batches (first batch files EMP001.dat, DEPT001.dat, BONUS001.dat; Second Batch EMP002.dat, DEPT002.dat, BONUS002.dat)
$set_time is a parameter defines the time between these batches...
Any ideas on this.
?
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everybody,
I have a little problem with one of my program. I made a plugin for collectd (a stats collector for my servers) but I have a problem to make it run in parallel.
My program gathers stats from logs, so it needs to run in background waiting for any new lines added in the log... (0 Replies)
Discussion started by: Samb95
0 Replies
2. Shell Programming and Scripting
bash-2.05$ vi file_read.sh
"file_read.sh" 9 lines, 97 characters
#!/bin/ksh
print "Enter the group name"
read gname
varA= grep "$gname::" group
print $varA
This is the scenario: I am trying to get a userid and groupname from user and trying to add the userid to the given group.... (11 Replies)
Discussion started by: mnathan
11 Replies
3. Shell Programming and Scripting
Hi ,
I have a memory file like this with two columns:
@C010 AA
@C011 AA
@C012 FE
@C013 FF
@C014 F7
@C015 FF
first is memory add, second is the data.
I wan to convert into a serial sequence starting from '00000' all the way to 'FFFFF' with those fields from the above file... (15 Replies)
Discussion started by: return_user
15 Replies
4. Shell Programming and Scripting
Hi experts,
please help for my script..I'm confused how to do this.
i have 3 .csv file(excel file)
The 5 .csv files are
A.csv,B.csv,C.csv
A.csv has
column1 column2
a 1
b 4
c 2
d ... (6 Replies)
Discussion started by: selvam
6 Replies
5. Shell Programming and Scripting
I have many lines like the following in a file(there are also other kinds of lines)
Host: 72.52.104.74 (tserv1.fmt2.he.net) Ports: 22/open/tcp//tcpwrapped///, 53/open/tcp//domain//PowerDNS 3.3/, 179/open/tcp//tcpwrapped/// Ignored State: closed (997) Seq Index: 207 IP ID Seq: All... (9 Replies)
Discussion started by: esolvepolito
9 Replies
6. Programming
Hello guys!
I have some issue in how to processing some data.
I have some files with 3 columns. The 1st column is a name of my sample. The 2nd column is a numerical sequence (very big sequence) starting from "1". And the 3rd column is a feature of each line, represented for a number (completely... (2 Replies)
Discussion started by: bfantinatti
2 Replies
7. Programming
Hello,
I extracted a list of files in a directory with the command ls . However this is not my computer, so the ls functionality has been revamped so that it gives the filesizes in front like this :
This is the output of ls command : I stored the output in a file filelist
1.1M... (5 Replies)
Discussion started by: ajayram
5 Replies
LEARN ABOUT HPUX
xtpopupspringloaded
XtPopupSpringLoaded() XtPopupSpringLoaded()
Name
XtPopupSpringLoaded - map a spring-loaded popup from within an application.
Synopsis
void XtPopupSpringLoaded(popup_shell)
Widget popup_shell;
Inputs
popup_shell
Specifies the shell widget to be popped up.
Availability
Release 4 and later.
Description
XtPopupSpringLoaded() calls the functions registered on the specified shell's
XtNpopupCallback callback list and pops the shell up, making it a spring-loaded shell. A spring-loaded shell is one that is popped up in
response to a button press and will pop down when the button is released. Spring-loaded shells have events dispatched to them specially to
ensure that they receive the button up event, even if it occurs in another window. See XtAddGrab() for more details.
XtPopupSpringLoaded() performs exactly like XtPopup(), except that XtPopupSpringLoaded() does the following:
o Sets the shell spring_loaded field to True.
o Always calls XtAddGrab() with exclusive set to True and spring_loaded set to True.
See XtPopup() for details.
Usage
You can also pop up spring loaded shells by using the XtMenuPopup action in a translation table. This predefined action calls XtPopup-
SpringLoaded().
Any pop up shell can be popped down with XtPopdown(), the XtCallbackPopdown() callback function, or with the XtMenuPopdown action.
XtPopupSpringLoaded() was added in Release 4, and prior to this release, the only way to pop up a spring loaded shell was to use the
MenuPopup action (which has now been renamed XtMenuPopup).
See Also
XtAddGrab(1), XtCreatePopupShell(1), XtMenuPopdown(1), XtMenuPopup(1), XtPopdown(1), XtPopup(1).
Xt - Pop Ups XtPopupSpringLoaded()