hi, im trying to cut the file using cut command in unix . the problem is i want to input the chacter list from another file and then using the postioins specified in this file i want to cut another file.
for eg.
cut -c(here i want to use a list being read from a file) listdata(this is the file i... (2 Replies)
Hi,
what is the difference between use and require keywords in Perl.
What is the significance of these lines (what it mean, what is the use of this)
#!/usr/bin/perl -w // In Perl script....
#!/bin/ksh //In shell script.....
Thanks
Sweta (2 Replies)
Hi friends,
i am trying to print warning for partition size which exceed limit of 90%
& other are ok.
i m using below command which print partition which exceed 90%
# df -h | sort -k5 | head -1 | awk 'END{ print $1" :- Not Having more space on This Partition"}'
i want to print... (14 Replies)
Launching for the first time Solaris Management Console.
Management Tools - This Computer - System Status - System Information. A window with info appear:
In the right side:
Solaris Management Console Server: 127.0.0.1 User Name: Root (Already written. And under it Password: (need typing).... (1 Reply)
Hi all,
I am retrieving mail from live mail server to local mail server. I want to know that, how can i exclude some peoples from getmail domain retrival.
verbose = 1
read_all = true
delete_after = 30
message_log = ~/.getmail/log
type = MultidropIMAPRetriever
server = mail.abc.com... (0 Replies)
Hi Folks,
Currently am working with 10g db. I want to sort the below o/p.
Current output:
============
SQL> select partition_name from user_tab_partitions where table_name='USER_AUDIT';
PARTITION_NAME
------------------------------
PARTMAX
PART_AUDIT_NOV02
PART_AUDIT_NOV08... (4 Replies)
sed 's/abcd/$variable/g' abcd_calls > $variable_calls
This is the statement i am trying which has 2 errors in it.
1st- sed 's/abcd/$variable/g' is changing abcd to $variable in the file abcd_calls ,I want it to convert abcd into the string value given by user through read command, taking... (1 Reply)
I have this file
1801,A1,2012-12-16 15:59:59.995,id2_3,ab,phoneC2-00,VOE,,,,,,,,,,,,,,,
1802,A1,2012-12-16 15:59:59.995,id2_3,ab=,phoneX1-01,BL,,,,,,,,,,,,,,,
1803,A1,2012-12-16 15:59:59.995,id2_3,ab,phone300,BL,,,,,,,,,,,,,,,
1804,A1,2012-12-16... (4 Replies)
I HAVE TO DESIGN TWO NODE SAMBA HA SERVER, TO DO THIS I NEED YOUR HELP, HOW CAN CONFIGURE SUCH SCENARIO?
REGARDS
PRAMOD INGOLE (4 Replies)
Discussion started by: pramod_ingole
4 Replies
LEARN ABOUT PHP
cubrid_error_code_facility
CUBRID_ERROR_CODE_FACILITY(3) 1 CUBRID_ERROR_CODE_FACILITY(3)cubrid_error_code_facility - Get the facility code of errorSYNOPSIS
int cubrid_error_code_facility (void )
DESCRIPTION
The cubrid_error_code_facility(3) function is used to get the facility code (level in which the error occurred) from the error code of the
error that occurred during the API execution. Usually, you can get the error code when API returns false as its return value.
PARAMETERS
This function has no parameters.
RETURN VALUES
Facility code of the error code that occurred: CUBRID_FACILITY_DBMS, CUBRID_FACILITY_CAS, CUBRID_FACILITY_CCI, CUBRID_FACILITY_CLIENT
EXAMPLES
Example #1
cubrid_error_code_facility(3) example
<?php
$conn = cubrid_connect("localhost", 33000, "demodb");
$req = @cubrid_execute($conn, "SELECT * FROM unknown");
if (!$req) {
printf("Error facility: %d
Error code: %d
Error msg: %s
",
cubrid_error_code_facility(), cubrid_error_code(), cubrid_error_msg());
cubrid_disconnect($conn);
exit;
}
?>
The above example will output:
Error facility: 1
Error code: -493
Error msg: Syntax: In line 1, column 15 before END OF STATEMENT
Syntax error: unexpected 'unknown'
SEE ALSO cubrid_error_code(3), cubrid_error_msg(3).
PHP Documentation Group CUBRID_ERROR_CODE_FACILITY(3)