05-12-2009
Ths is a non-starter without knowing what software wrote the file and in what format. Can you get the file converted at source?
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
Please help me FTP an output file to mainframes using Mainframes.
I have no idea how to FTP to mainframes. :(
I need to deploy my code by next week. The code is ready but the client's requirement is that i need to ftp all the output file to the mainframes server. I created the dataset... (1 Reply)
Discussion started by: deepthimathew
1 Replies
2. Shell Programming and Scripting
Need shell script to read two file at same time and print output in single file
Example I have two files 1) file1.txt 2) file2.txt
File1.txt contains
Aaa
Bbb
Ccc
Ddd
Eee
Fff
File2.txt contains
Zzz
Yyy
Xxx (10 Replies)
Discussion started by: sreedhargouda
10 Replies
3. Shell Programming and Scripting
Hi All,
I will be getting a huge XML file with a lot of records in it. I need to convert it into multiple data files.
SAMPLE XML FILE
<ABSProductCatalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <ProductSalesHierachy>
- <Portfolios>
- <Portfolio productCode="P1">
... (8 Replies)
Discussion started by: ragha81
8 Replies
4. Shell Programming and Scripting
Hi All,
Is it possible to convert the excel file to PDF file(Without loosing any format) using unix shell scripting ??? If yes
Kindly help me on the code
Thanks in advance!!! (5 Replies)
Discussion started by: Balasankar
5 Replies
5. UNIX for Dummies Questions & Answers
Okay, I search around and couldn't find what I needed, so here goes:
I have a series of ArcGIS point shapefiles. If I open them in Excel I can save as an Excel or text file and get a 2 column list:
POINTID | GRID_CODE
1 | 2.34234
2 | 4.3425
3 | 6.32456
etc...
The problem is that I... (3 Replies)
Discussion started by: jbrandt1979
3 Replies
6. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
7. Shell Programming and Scripting
Hi Everyone,
I want your help to write a script which will take text file as input and on the basis of delimiter ":"script will create excel sheet.
Example input:
IpAdress:InstanceName:Port:ServerName
10.255.255.1:abc:2232:xyz_abc
Output should be an excel sheet like below:
Column... (8 Replies)
Discussion started by: akabhinav18
8 Replies
8. Shell Programming and Scripting
I have input data looks like this which is a part of a csv file
7,1265,76548,"0102:04"
8,1266,76545,"0112:04"
I need to make the output data should look like this and the output data will be part of text file:
7|1265000 |7654899 |A|
8|12660000 |76545999 |B|
The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies
9. UNIX for Beginners Questions & Answers
Like to have shell script to Read the given file contents into a merged one file with header of path+file name followed by file contents into a single output file.
While reading and merging the file contents into a single file, Like to keep the format of the source file.
... (4 Replies)
Discussion started by: Siva SQL
4 Replies
LEARN ABOUT DEBIAN
pvm_reg_tasker
REG_TASKER(3PVM) PVM Version 3.4 REG_TASKER(3PVM)
NAME
pvm_reg_tasker - Register task as PVM task starter.
SYNOPSIS
C #include <pvmsdpro.h>
int cc = pvm_reg_tasker()
Fortran Not Available
DESCRIPTION
Registers the calling task as a PVM task starter. When a tasker is registered with a pvmd, and the pvmd receives a DM_EXEC message,
instead of fork()ing and exec()ing the task itself, it passes a message to the tasker, which does the dirty work and sends a message back
to the pvmd.
Note: If this doesn't make sense, don't worry about it. This function is for folks who are writing stuff like debugger servers and so on.
For a more complete explanation of what's going on here, you should refer to the PVM source code and/or user guide section on implementa-
tion; this is only a man page. That said...
When the pvmd receives a DM_EXEC message (request to exec new tasks), it searches epath (the PVM executable search path) for the file name.
If it finds the file, it then either attempts to start the processes (using fork() and exec()) or, if a tasker has registered, sends it a
SM_STTASK message.
The format of the SM_STTASK message is:
int tid // of task
int flags // as passed to spawn()
string path // absolute path of the executable
int argc // number of args to process
string argv[argc] // args
int nenv // number of envars to pass to task
string env[nenv] // environment strings
The tasker must attempt to start the process when it gets one of these messages. The tasker doesn't reply to the pvmd if the task is suc-
cessfully started; the task will reconnect to the pvmd on its own, using the cookie in envar PVMEPID to identify itself to the pvmd.
The tasker must send a SM_TASKX message to the pvmd when any task that it owns (has started) exits, or if it can't start a particular task.
The format of the SM_TASKX message is:
int tid // of task
int status // the Unix exit status (from wait())
int u_sec // user time used by the task, seconds
int u_usec // microseconds
int s_sec // system time used by the task, seconds
int s_usec // microseconds
The tasker task must use pvm_setopt(PvmResvTids, 1) to allow sending reserved messages. Messages should be packed using encoding Pvm-
DataDefault to ensure they can be unpacked anywhere in the system.
pvm_reg_tasker() returns PvmOk when successful.
SEE ALSO
pvm_spawn(3PVM), pvm_tasks(3PVM),
16 March, 1994 REG_TASKER(3PVM)