10-27-2006
Thanks Pressy.
It worked.
Is it possible to assign the target file (in our example target) to some parameter file so that etl jobs can read the file name.
eg)
testparams (Parameter file name)
fromdate=
todate=
file_name=(here our target file name should appear)
Thanks in advance.
cheers,
gops
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi
is there any way to append the file contents at server1 to another file in server2 by using scp.
right now am transferring files to the server2 and using cat command for appending... (2 Replies)
Discussion started by: aemunathan
2 Replies
2. UNIX for Dummies Questions & Answers
Give shell script....which takes two file names as input and compares the contents, is both are same delete second file's contents.....
I try with "diff"...... but confusion how to use "diff" with if ---else
Thanking you (5 Replies)
Discussion started by: krishnampkkm
5 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I want to write a script that will write a couple of lines into a file, including the output of another file... Can anyone help?
Scenario
Day 1
File 1 Contents -->
Japan
File 2 contents (to be wriiten by the script) -->
Name: Sameer
Country: Japan
Day 1
File 1... (0 Replies)
Discussion started by: carlos_anubis
0 Replies
4. UNIX for Dummies Questions & Answers
Hello every body,
Kindly support me to "copy a file without remove the contents of the target file"
Thanks in advance. :)
Ahmed Amer
Cairo,Egypt (2 Replies)
Discussion started by: ahmedamer12
2 Replies
5. Shell Programming and Scripting
Hi,
I want to delete the contents of a file which are matching with contents of other file in shell scripting.
Ex.
file1
sheel,sumit,1,2,3,4,5,6,7,8
sumit,rana,2,3,4,5,6,7,8,9
grade,pass,2,3,4,5,6,232,1,1
name,sur,33,1,4,12,3,5,6,8
sheel,pass,2,3,4,5,6,232,1,1
File2... (3 Replies)
Discussion started by: ranasheel2000
3 Replies
6. Shell Programming and Scripting
Hi,
I am facing issue while reading data from a file in UNIX. my requirement is to compare two files and for the text pattern matching in the 1st file, replace the contents in second file by the contents of first file from start to the end and write the contents to thrid file.
i am able to... (2 Replies)
Discussion started by: seeki
2 Replies
7. Shell Programming and Scripting
Hello,
I have a special problem. I have a file in 8 bit and would like to convert the whole database to 16Bit unicode.
The mapping file has the following structure:
The mapper is provided as a zip file
The target file to be converted contains data in English and 8 bit Urdu mapping, a... (4 Replies)
Discussion started by: gimley
4 Replies
8. Shell Programming and Scripting
Hi one of the output of the command is as below
# sed -n "/CCM-ResourceHealthCheck:/,/---------/{/CCM-ResourceHealthCheck:/d;/---------/d;p;}" Automation.OutputZ$zoneCounter | sed 's/$/<br>/'
Resource List : <br>
*************************** 1. row ***************************<br>
... (2 Replies)
Discussion started by: vivek d r
2 Replies
9. Shell Programming and Scripting
Hello there,
I have a files f1.html, f2.html.
I have a final file called final.html which is something like the below snippet
<!DOCTYPE html>
<html>
<body>
<h1 align="center">aaaaa Report</h1>
<pppp><p><b>pppp Repository</b></p>
</pppp>
<qqqq><p><b>qqqq Repository </b></p>... (4 Replies)
Discussion started by: H squared
4 Replies
10. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
LEARN ABOUT CENTOS
glgetqueryindexediv
GLGETQUERYINDEXEDIV(3G) OpenGL Manual GLGETQUERYINDEXEDIV(3G)
NAME
glGetQueryIndexediv - return parameters of an indexed query object target
C SPECIFICATION
void glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint * params);
PARAMETERS
target
Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED,
GL_ANY_SAMPLES_PASSED_CONSERVATIVEGL_PRIMITIVES_GENERATED, GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP.
index
Specifies the index of the query object target.
pname
Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS.
params
Returns the requested data.
DESCRIPTION
glGetQueryIndexediv returns in params a selected parameter of the indexed query object target specified by target and index. index
specifies the index of the query object target and must be between zero and a target-specific maxiumum.
pname names a specific query object target parameter. When pname is GL_CURRENT_QUERY, the name of the currently active query for the
specified index of target, or zero if no query is active, will be placed in params. If pname is GL_QUERY_COUNTER_BITS, the
implementation-dependent number of bits used to hold the result of queries for target is returned in params.
NOTES
The target GL_ANY_SAMPLES_PASSED_CONSERVATIVE is available only if the GL version is 4.3 or greater.
If an error is generated, no change is made to the contents of params.
Calling glGetQueryiv() is equivalent to calling glGetQueryIndexediv with index set to zero.
ERRORS
GL_INVALID_ENUM is generated if target or pname is not an accepted value.
GL_INVALID_VALUE is generated if index is greater than or equal to the target-specific maximum.
SEE ALSO
glGetQueryObject(), glIsQuery()
COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication
License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLGETQUERYINDEXEDIV(3G)