05-19-2009
can you please tell what you corrected in above script
can you please tell what you corrected in above script that it worked fine
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What does the isql command do for solaris 8????
Is this something that comes with solaris because I have it at work but not at home.
Plus does anyone know a good SQL site where I could learn all the sql commands
thankx (2 Replies)
Discussion started by: eloquent99
2 Replies
2. UNIX for Dummies Questions & Answers
can anyone pls explain me the command
$ isql -Usa -SIN63DS -Pgoalmal
1>load database STS_IN_PRD from "/STSDBBakup/ AEOD20030509"
2>go
thx (2 Replies)
Discussion started by: girish_shukla
2 Replies
3. Shell Programming and Scripting
Using a ksh script, I'm dumping the data from our sybase database into an output file. This output file is for what ever reason cut at 2GB.
There is enough space on the unix machine and as there is no error message is received I have no clue to start looking for a solution.
#!... (1 Reply)
Discussion started by: bereman
1 Replies
4. Shell Programming and Scripting
#!/bin/ksh
file="/pkgs/roots/scripts/ISQL_op.txt"
isql -H 11.11.11.111:1111 -U myUser -P myPwd -o $file << eof
go
select * from Table1
go
eof
my cron entry
00 08 03 11 * /pkgs/roots/scripts/testc.ksh
file permission of the script is correct, i have used absolute path everywhere.
... (2 Replies)
Discussion started by: vikram3.r
2 Replies
5. Shell Programming and Scripting
Hi
I am formatting informix isql output(vertical) to horizontal format. Suppose I have the following content in the flat file from isql output -
item_nbr 0
usfn_label Subscriber Class
usfn_name SBCLASS
usfn_value bl5
item_nbr 1
usfn_label Switch Name
usfn_name switchName... (2 Replies)
Discussion started by: nsinha
2 Replies
6. Shell Programming and Scripting
isql output comes as below,
(0 rows affected)
(1 row affected)
(7 rows affected)
How to extract the resultset number alone from the particular line ??
such as
0
1
7 (3 Replies)
Discussion started by: vikram3.r
3 Replies
7. Shell Programming and Scripting
isql
select count(*) from Table
eof
How to assign record count output of isql query to a shell variable ? (4 Replies)
Discussion started by: vikram3.r
4 Replies
8. Shell Programming and Scripting
Hi all,
I have wrote a script to redirect the output of Sybase query to a file.
Its a single XML message i am fetching with sybase query.
The problem i faced here is the XML message line crosses the normal line limit in unix.
Could some please help me how to get complete xml message... (1 Reply)
Discussion started by: ravin
1 Replies
9. Shell Programming and Scripting
I am trying to run a query which returns a sum value(a number).
I want to get it in a variable so that i can refer to that variable in different places.
when i am running the following command
variable=`isql -Uuser -Sserver -Ppassword
1> select sum(count(*)) from xyz..abc where clm_id... (2 Replies)
Discussion started by: Sharma331
2 Replies
10. Shell Programming and Scripting
I am using ISQL command in ksh script.
Suppose if i get NULL value from the query which i run,how can i handle it?
I am getting a NULL result set and the following error is coming.
############### output of isql command for getting the sum of JEs ################
-----------
NULL... (4 Replies)
Discussion started by: Sharma331
4 Replies
privgrp(5) File Formats Manual privgrp(5)
NAME
privgrp - HP-UX group privileges
DESCRIPTION
HP-UX allows subletting of limited superuser-like privileges to all users or to members of a particular group or groups. This capability
is deprecated and only existing applications should use it. The newer fine-grained privilege facilities described in privileges(5) should
be used by new applications.
The header defines the following symbolic privilege names: and
All but one of the group privileges are supported as fine-grained privileges and described in privileges(5). The one group privilege not
supported as a fine-grained privilege is:
Permits the use of the
and system calls for changing respectively the real user ID and real group ID of a process (see setuid(2)). This
behavior of is deprecated and only legacy applications should use it. Newer applications should use and respec-
tively, to achieve the same effect. (No special privileges required.)
The header defines two additional symbolic constants:
defines the maximum number of groups with special privileges.
Of this maximum, one is reserved for global privileges (granted to all processes) and the remainder can be assigned
to actual group IDs.
defines the size of the multi-word mask used
in defining privileges associated with a group ID.
The and commands and the and system calls may be used to define and query the privilege group associations.
The group privileges are automatically initialized from the contents of (see privgrp(4)) at boot time.
WARNINGS
This mechanism is deprecated and only legacy applications should use it. See privileges(5) for a description of fine-grained privileges.
SEE ALSO
getprivgrp(1), setprivgrp(1M), chown(2), getprivgrp(2), lockf(2), mpctl(2), plock(2), pset_create(2), rtprio(2), rtsched(2), serialize(2),
setgid(2), setuid(2), shmctl(2), privgrp(4), privileges(5).
privgrp(5)