10-19-2009
Now that we know what needs to be done, where exactly are you stuck? What seems to be the problem?
You've had over 40 posts to this forum. What have you tried so far?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a script where 3 parametrs are passed to it and it creates the file for each site form a template. If i want to
get the 3rd parameter (which is the site) passed to the script to come from another file how I can change the script tp acheive it?
Here is my script:
what i have in the... (15 Replies)
Discussion started by: dsravan
15 Replies
2. Solaris
Hi....
i need to pass the dates (from - to) as the input parameters thru jcl invoking BPXBATCH utility. I know that PARM will do the above functionality. But how the above dates passed through jcl will be linked in the java-db2 program to be used in sql queries in order to generate the report... (0 Replies)
Discussion started by: Sujatha Gowda
0 Replies
3. Shell Programming and Scripting
Hi,
I need to read the parameters from a file and assign them to Global variables. I need to read a specific parameter value every time and pass it to the other script.
Suppose i have a parameter file like PARAM.txt
PAR1= VAL1
PAR2= VAL2
PAR3= VAL3
I want to read PAR2 file and in the... (1 Reply)
Discussion started by: Raamc
1 Replies
4. Shell Programming and Scripting
Hi All,
I have a 2 files. File1 i am generating using an ETL tool, which is a comman seperated delimited file which contains country code & load date.
everytime, this country code will be updated from a table. It might be AB or BA & ld_date will be for which date we need to load the file.
... (7 Replies)
Discussion started by: Amit.Sagpariya
7 Replies
5. Shell Programming and Scripting
Hi guys,
I am new to AWK and unix scripting. Please see below my problem and let me know if anyone you can help.
I have 2 input files (example given below)
Input file 2 is a standard file (it will not change) and we have to get the name (second column after comma) from it and append it... (5 Replies)
Discussion started by: sksahu
5 Replies
6. Shell Programming and Scripting
I have a bash script which utilizes a random function and then runs a file at now plus a random time.
The problem is, that the php file requires a parameter after it eg:
phpfile.php?code=123245b3
When i put in the file including the full path, with the at command, it will run, but not with... (1 Reply)
Discussion started by: thruxmore
1 Replies
7. Shell Programming and Scripting
Hi
i have a shell script which needs a string as an input parameter. How to pass the string param as an input?
In command line am running the script.
for e.g.,
a="who is a buddy?"
sh sample.sh $a
Inside the script i get this input param as $1 but only the value "who" is accepted... (12 Replies)
Discussion started by: vidhyaS
12 Replies
8. Shell Programming and Scripting
Hi All,
I am passing a file value as parameter to awk command;
Par.txt
A|B
Input.txt
A,1
B,3
C,4
D,5
My desired output should be
A,1
B,3 (4 Replies)
Discussion started by: kmsekhar
4 Replies
9. Shell Programming and Scripting
Hi ,
I am passing date parameter through file
my shell script testing.sh is
#set -x
#set -v
asd=$1
asd1=$2
echo $asd
echo $asd1
Passing parameter as below
sh testing.sh `cat file1.txt`
Output (2 Replies)
Discussion started by: kaushik02018
2 Replies
10. Shell Programming and Scripting
Hello All,
I want to change date part in file name to yesterday date in the file name.
example file name file-12122017-06-30-41.dat want file-12112017-06-30-41.dat I am doing like below. Below it is not changing the filename. Actually it is not parsing the $today and $yesterday value in... (1 Reply)
Discussion started by: looney
1 Replies
LEARN ABOUT OSX
glgetqueryiv
GLGETQUERYIV(3G) OpenGL 3.3 GLGETQUERYIV(3G)
NAME
glGetQueryiv - return parameters of a query object target
C SPECIFICATION
void glGetQueryiv(GLenum target, GLenum pname, GLint * params);
PARAMETERS
target
Specifies a query object target. Must be GL_SAMPLES_PASSED, GL_ANY_SAMPLES_PASSED, GL_PRIMITIVES_GENERATED,
GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN, GL_TIME_ELAPSED, or GL_TIMESTAMP.
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
glGetQueryiv returns in params a selected parameter of the query object target specified by target.
pname names a specific query object target parameter. When pname is GL_CURRENT_QUERY, the name of the currently active query for 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
If an error is generated, no change is made to the contents of params.
ERRORS
GL_INVALID_ENUM is generated if target or pname is not an accepted value.
SEE ALSO
glGetQueryObject(), glIsQuery()
COPYRIGHT
Copyright (C) 2005 Addison-Wesley. 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/.
OpenGL 3.3 03/08/2011 GLGETQUERYIV(3G)