I have a input file as attached, i would like to create an report from the file as below
FileType | EQUENS0001 | EQUENS0002 | EQUENS1100 | EQUENS0003
--------+--------------------------------------------------------
Msg No | 20081219/00000006|20081219/00000007|20081219/00000005|-
20081219/00000015| | | |
I have AIX box, where i did (it will give me file type and message number)
grep -E "MESSAGE_ID|VSTR_KEY$GEN_VSTR_INDEX" filename
VSTR_KEY$GEN_VSTR_INDEX: <VSTR(80)S> "EQUENS0001C081222081222081222"
MESSAGE_ID: <MSG_ID(17)S> "20081219/00000006"
VSTR_KEY$GEN_VSTR_INDEX: <VSTR(80)S> "EQUENS0002C081222081222081222"
MESSAGE_ID: <MSG_ID(17)S> "20081219/00000007"
VSTR_KEY$GEN_VSTR_INDEX: <VSTR(80)S> "EQUENS1100C081222081222081222"
MESSAGE_ID: <MSG_ID(17)S> "20081219/00000005"
VSTR_KEY$GEN_VSTR_INDEX: <VSTR(80)S> "EQUENS0001C081222081222081222"
MESSAGE_ID: <MSG_ID(17)S> "20081219/00000015"
but now my problem is how I will extract next file type ?? if mulitiple messsage id s are present for that particular VSTR_KEY$GEN_VSTR_INDEX .
Hi,
Do you know given a file which is SED at the same time, how to read it and AWK it in tabs format.
Means:-
I have an input file which is (at the same time perform sed):-
1
2
3
4
5
6
7
I would like to print out in tab format which is:-
1 2 3 4 5 6 7 .... (12 Replies)
Dear Ones,
kindly help me to create a data file from the report file as shown here under( i am new one to unix KNOW BASIC COMMANDS)
file:rama.prt
(ist record)(3 to 4 lines of text with different filed names)
Name :M.LALITHA DOB:12/11/45 DESG :JA(P)
STANO:300175 ... (3 Replies)
This data comes form the table and exported into the file in this format
File1 Format
weboffercode1,sourcecode1,1,1,1,1,1,1
weboffercode1,sourcecode2,1,1,1,1,1,1
weboffercode1,sourcecode1,1,1,1,1,1,1
weboffercode1,sourcecode3,1,1,1,1,1,1
weboffercode1,sourcecode3,1,1,1,1,1,1
... (4 Replies)
I want to create the format file for bcp in a file to the table.
My Versions are:
Unix: Sun OS,
DB: Sybase.
How can i create the format file.
Is there any way to create the format by bcp command
or some system sp.
Please help. (3 Replies)
Hi everyone
I am very new at awk and to me the task I need to get done is very very challenging... Nevertheless, after admiring how fast and elegant issues are being solved here I am sure this is my best chance.
I have a 2D data file (input file is a plain tab-delimited text file). The first... (1 Reply)
Hi,
I am an amateur bash scriptwriter and I need to write a script which creates a report in a formatted, easy to read table-like that is displayed to standard output. The script has to export the followings: Process ID,User Name, Command Name,Priority.....
Now I have a file that I can see all... (3 Replies)
Hello,
In my shell script, I extract table data from HP Vertica DB into a csv file using vsql -c command. But the problem is the file getting created is in binary format and hence some of the data becomes unreadable which has chinese characters as part of data.
file -i filename.csv - gives... (2 Replies)
hi linux expert
is there any program for create movie file from pictures file (like jpg)?
Many Thanks
samad (1 Reply)
Discussion started by: abdossamad2003
1 Replies
LEARN ABOUT XFREE86
glmatrixmode
GLMATRIXMODE(3G)GLMATRIXMODE(3G)NAME
glMatrixMode - specify which matrix is the current matrix
C SPECIFICATION
void glMatrixMode( GLenum mode )
PARAMETERS
mode Specifies which matrix stack is the target for subsequent matrix operations. Three values are accepted: GL_MODELVIEW, GL_PROJECTION,
and GL_TEXTURE. The initial value is GL_MODELVIEW.
Additionally, if the GL_ARB_imaging extension is supported, GL_COLOR is also accepted.
DESCRIPTION
glMatrixMode sets the current matrix mode. mode can assume one of four values:
GL_MODELVIEW Applies subsequent matrix operations to the modelview matrix stack.
GL_PROJECTION Applies subsequent matrix operations to the projection matrix stack.
GL_TEXTURE Applies subsequent matrix operations to the texture matrix stack.
GL_COLOR Applies subsequent matrix operations to the color matrix stack.
To find out which matrix stack is currently the target of all matrix operations, call glGet with argument GL_MATRIX_MODE. The initial value
is GL_MODELVIEW.
ERRORS
GL_INVALID_ENUM is generated if mode is not an accepted value.
GL_INVALID_OPERATION is generated if glMatrixMode is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_MATRIX_MODE
SEE ALSO glLoadMatrix(3G), glPushMatrix(3G)GLMATRIXMODE(3G)