01-06-2010
problem with profile-autosys
Hi All,
I have trying to schedule an autosys job and it is failing. The shutdown script runs fine by itself from the UNIX box but fails when i try to schedule it through autosys.
I have compared user.env with auto.env (variables obtained through an autosys script) and updated my profile with the following variables
AUTOSERV
AUTOUSER
AUTOSYS
MANPATH
PATH
LD_LIBRARY_PATH
SYBASE
DSQUERY
The user.env showed SHELL=/bin/ksh and the auto.env did not have it. not sure if my profile needs to reflect it.
When i forcestart the job it is failing and not even generating logs.
Appreciate your assistance.
Thanks,
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I wanted to add /home/oracle/sql to my path so that from which ever directory i connect to sqlplus i should be able to source the .sql files sitting in /home/oracle/sql. Also,
this is what i tried but it doenst work
# Set up the search paths:
export ... (2 Replies)
Discussion started by: jigarlakhani
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
i am changing something in .profile file and then esc :wq!. when i do the cat i can see the changes. but to bring the .profile in memory i have to do . .profile.but it says error while doing that is . .profile
ksh: .profile: not found.
can any body help
thanks in advance
sam71 (7 Replies)
Discussion started by: sam71
7 Replies
3. Shell Programming and Scripting
I am trying to execute my .profile which has the path to oracle home. But when I execute it with the below command it says nothing and when I try to echo the ORACLE_HOME I am still in my home directory itself which means it didn't get executed.
Please help how to make sure that .profile is... (6 Replies)
Discussion started by: dsravan
6 Replies
4. UNIX for Advanced & Expert Users
My project uses Autosys.
I am new to this product and I don't know where to start from.
Q1. Please provide me the link where I can get Autosys documentation
Q2. Please refer a good book on Autosys. (Beginner/Intermediate Level) (0 Replies)
Discussion started by: gram77
0 Replies
5. UNIX for Advanced & Expert Users
Hi ,
I have 5 jobs in autosys which are dependant on one another oen by one.say job1,job2.. job5. job 1 is a filewatcher.job2 to job5 are command jobs.First the filewatcher starts as when a file which it is looking for arrives.based on this job rest of the sequence starts.after the job5 is... (0 Replies)
Discussion started by: mohanpadamata
0 Replies
6. Solaris
for some reason my profile doesnt seem to be loading.
here is some info
$SHELL /sbin/sh
$HOME / (yup, im running at root, its a VM and im using it to learn)
created /.profile
added something simple to test, PS1="test"
logout and back in, open a terminal... prompt is still #
... (2 Replies)
Discussion started by: jrich523
2 Replies
7. UNIX for Advanced & Expert Users
I have an autosys job say "job12345" . it has a a time dependacy. it does not depend on any other job. Once i put the job on HOLD. then after some time i directly marked it to INACTIVE after its normal run time is past. i didnt not off HOLD it but made directly to INACTIVE.
I can see the next... (2 Replies)
Discussion started by: Kaniska
2 Replies
8. UNIX for Dummies Questions & Answers
Hi!
In my .profile I have a line that says export TNS_ADMIN=$HOME
I received the .profile file from a colleague who uses it to access SQL*Plus from a UNIX server. When I try the same method he uses I get ORA-12154: TNS:could not resolve the connect identifier specifiedwhich makes me think... (8 Replies)
Discussion started by: Mike Welch
8 Replies
9. UNIX for Advanced & Expert Users
hi,
would like to know if anyone knows or could verify and give me an answer on when autosys does actually load the profile whether in Activated state or Running state.
Scenerio am trying to look for is
Lets say i have a profile variable DATE=Mar052015
Start jobA --> JobB depends on A -->... (0 Replies)
Discussion started by: veshwar
0 Replies
10. UNIX for Beginners Questions & Answers
i have a bash_profile
in this profile there are my variable but when i do csh there aren't my variables .set
how can i do ?
regards
Franc (1 Reply)
Discussion started by: Francesco_IT
1 Replies
env(1) General Commands Manual env(1)
NAME
env, printenv - Displays or sets the current environment, or displays the values of environment variables
SYNOPSIS
Current Syntax
env [-i] [name=value...] [command] [args...]
printenv [name]
Obsolescent Syntax
env [-] [name=value...] [command] [args...]
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
env: XCU5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
OPTIONS
Invokes utility with exactly the environment specified by the arguments; the inherited environment is ignored completely. Changes are in
effect only while the specified command is running. Dash is equivalent to -i option.
OPERANDS
Changes in the form name=value are added to the current environment before the command is run. [Tru64 UNIX] Name of an environment vari-
able to be printed. Name of a command to be invoked with the modified environment. Arguments to be passed to command when it is executed.
DESCRIPTION
The env command lets you get and change your current environment, and then run the specified command with the changed environment. If the
-i option is used, the current environment is ignored and the command runs with only the changed environment. Changes are only in effect
while the specified command is running.
If command is not specified, env displays your current environment, one name=value pair per line.
[Tru64 UNIX] The printenv command displays the values of the variables in the environment. If name is specified, only its value is
printed. If name is not the name of a currently set environment variable, only a blank line is printed, no error is reported. If name is
not specified, printenv displays the current environment, one name=value per line.
EXIT STATUS
If command is invoked, the exit status of env is the exit status of command; otherwise, the env utility exits with one of the following
values: The env utility completed successfully. An error occurred in the env utility. The command specified by command was found but
could not be invoked. The command specified by command could not be found.
EXAMPLES
To add a shell variable to the environment for the duration of one command (sh only), enter: TZ=MST7MDT date env TZ=MST7MDT date
Each of these commands displays the current date and time in Mountain Standard Time. The two commands shown are equivalent. When
date is finished, the previous value of TZ takes effect again. To replace the environment with another one, enter: env -i
PATH=$PATH IDIR=/u/jim/include LIBDIR=/u/jim/lib make
This runs make in an environment that consists only of these definitions for PATH, IDIR, and LIBDIR. You must redefine PATH so that
the shell can find the make command.
When make is finished, the previous environment takes effect again. To find the current setting of the TERM environment variable,
enter: printenv TERM
The command returns the value for the TERM environment variable.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of env: Provides a default value for the internationalization variables that are
unset or null. If LANG is unset or null, the corresponding value from the default locale is used. If any of the internationalization vari-
ables contain an invalid setting, the utility behaves as if none of the variables had been defined. If set to a non-empty string value,
overrides the values of all the other internationalization variables. Determines the locale for the interpretation of sequences of bytes
of text data as characters (for example, single-byte as opposed to multibyte characters in arguments). Determines the locale for the for-
mat and contents of diagnostic messages written to standard error. Determines the location of message catalogues for the processing of
LC_MESSAGES.
SEE ALSO
Commands: csh(1), ksh(1), Bourne shell sh(1b), POSIX shell sh(1p)
Functions: exec(2)
Standards: standards(5)
env(1)