I have created a shell script.
I want to run the script in Autosys.
Please note my shell script runs as "$ ksh run.ksh"
How do I make autosys run this script at 5:00PM every day?
insert_job: abc job_type: c
box_name: run.box
command: ksh run.ksh
machine: mach1
#owner: mach1@mymach... (1 Reply)
I created a script called title
#!/bin/sh
echo "^0;$*^G"
It will change the terminal window titlebar to what ever I type after the script (title BIG would change titlebar to BIG instead of terminal) Is there a way to make it run so it will work on every terminal window that gets opened.... (1 Reply)
Hi,
I need to create a autosys job which will run on every sunday at 7:30 AM NY time for each 10 min interval of time.
days_of_week: su
start_mins: 0,10,20,30,40,50
run_window:"07:30"
Is it fine? Please help
Thanks,
Anup (2 Replies)
Hi all,
I am new to autosys. Can anyone help me in writing autosys job for the below script?
Requirement is : 1.Every day it should run this script at particular time except on holidays.
2.The day after holiday some other script should be running.
Thanks in advance.
#!/bin/ksh
#set... (0 Replies)
Hi all,
Does any body know how to recursively run a Autosys Box with different parameters ? For ex: I have a master autosys box that needs to run for JAN 2011, then FEB 2011 .... DEC 2011. FYI, each monthly execution runs for about a day. Is there a way to automate this so that my master... (0 Replies)
Hi all,
Here is my scenario..
i need to get dates from an existing autosys calendar and compare it with current date with in a unix shell script.
Please help me out and give me an approach to handle this.......
the general autosys calendar command used is autocal_asc ,but this is... (1 Reply)
I've K shell script. It will transfer the files from one server to other server using 'SCP' command. While running the script alone as a command line in UNIX ssh terminal its running with out asking password and files are transferred with out asking for password. But by running the script using... (6 Replies)
Hi All,
We run Many jobs evryday using Autosys. Sometimes due to various reason we got to run the job from terminal as well (using nohup).
We observed that the job running through terminal(nohup) takes much less time then the autosys (for same job).
What can be the possible reason for such... (1 Reply)
Hello to all,
I am a Newcomer in Solaris and have the following problem.
I have a small shell script in my home folder, which I have moved to my desktop and from there I can start the script with a double mouse click.
If I do a double click on the symbol for the script in workspace, a... (5 Replies)
Discussion started by: Mike Newbie
5 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)