01-24-2011
Hi,
I am migrating from Control M to Autosys.
In control M i used one loader file which run before a command which uses all the variables needed dynamically by command.A typical command in control M looked like:
. $HOME/config/crg_user_env.sh;crg_run_nonbase CH BCP_FAILOVER crg_controller_config_CH.xml "-DCRG.runId=RUN_ID -DCRG.start=600 -DCRG.end=1000 -DCRG.PCMSVC.version=$PCM_SERVICE_CH -DCRG.PCMSVC.clusterConfigFile=$CBB_CONFIG_FILE -DCRG.dbConfigFile=$DB_CONFIG_FILE -DCRG.runType=BCP_FAILOVER -DCRG.PCMSVC.configOverrideParams=$CRG_ORP_BASE " > $HOME/log/BCP_FAILOVER_TEST.out
I am facing following issues:
1. I cant saperate my different command in Autosys bcoz it uses exec command for running it in different session.How shall i conter this problem in autosys with out changing anything on my scripts?
2. Autosys runs on some other user and i need to load my .profile with setup in autosys user before my batch start?
Please assist
10 More Discussions You Might Find Interesting
1. 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
2. UNIX for Advanced & Expert Users
I have installed CA::Autosys my pc. It is in /usr/lib/perl5/site_perl/5.8.8/CA/AutoSys/AutoSys.pm .
I have Sybase Installed.
Kindly help to how to connect autosys to database..
Also how do I create users in Autosys..
Please guide me..
Thank You.. (1 Reply)
Discussion started by: bhuvaneshlal
1 Replies
3. Shell Programming and Scripting
In AUTOSYS is there a way to find out who created the job?
Thanks (0 Replies)
Discussion started by: talashil
0 Replies
4. Shell Programming and Scripting
I am not sure why my output keeps going to my std_out_file!!
Here's my JIL:
insert_job: test_autosys job_type: c
command: $SCRIPT_DIR/test
machine: abcde
owner: bob@abcde
permission: gx,wx
date_conditions: 1
days_of_week: mo, tu, we, th, fr
start_times: "8:00, 9:00, 10:00, 11:00,... (4 Replies)
Discussion started by: arex876
4 Replies
5. Shell Programming and Scripting
Hi,
I need to schedule a script to run at 12:00 on first day of every month.
I don't know how to set it. Like days_of_week, do we have days_of_month where we can put 1?
Thanks,
Siba (5 Replies)
Discussion started by: siba.s.nayak
5 Replies
6. UNIX for Dummies Questions & Answers
Guys, anyone familiar with Unix AutoSys?
I am wondering what is done to make a script located in this dir:
/home/user2/mywork.pl
I have access to jil files incase that helps.
to work everyday at 5pm?
Any insight or guidance would be appreciated. (7 Replies)
Discussion started by: DallasT
7 Replies
7. UNIX for Dummies Questions & Answers
All the autosys jobs are on server-1 and server-1 has been crashed due to some reason, Now I have to run 5 autosys jobs on server-2 (failover server) which are on server 1.
How to do with Autosys command (which command needs to fired on JIL) (0 Replies)
Discussion started by: tp2115
0 Replies
8. OS X (Apple)
We have a primary and shadow running our scheduler. We need to
upgrade both to a more current OS. We'd like to take down the shadow
and update it, then allow it to become the primary while we update the
current primary. Does Autosys care what OS you are running or can it
potentially toggle... (0 Replies)
Discussion started by: Cjw_55106
0 Replies
9. UNIX for Advanced & Expert Users
From where i can get complete Ref. pdf of AutoSys r11.3 any one got idea ?
I cant find good document for that (2 Replies)
Discussion started by: ujjwal2120
2 Replies
10. Shell Programming and Scripting
I am very new to Autosys and want to execute my first batch or job there.
I have url to open Autosys and have access of Folder Structure
1. for AutoSys Job log
2. for AutoSys profile and parameters
3. for Shell Scripts
Please share some information that how to create a job using GUI.
I am... (2 Replies)
Discussion started by: Muneshshar
2 Replies
LEARN ABOUT LINUX
profile
profile(4) File Formats profile(4)
NAME
profile - setting up an environment for user at login time
SYNOPSIS
/etc/profile
$HOME/.profile
DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence.
/etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement
of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special
actions for the root login or the su command.
The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical
(except for the comments):
# Make some environment variables global
export MAIL PATH TERM
# Set file creation mask
umask 022
# Tell me when new mail comes in
MAIL=/var/mail/$LOGNAME
# Add my /usr/usr/bin directory to the shell search sequence
PATH=$PATH:$HOME/bin
# Set terminal type
TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid
while :
do
if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ]
then break
elif [ -f /usr/share/lib/terminfo/?/$TERM ]
then break
else echo "invalid term $TERM" 1>&2
fi
echo "terminal: c"
read TERM
done
# Initialize the terminal and set tabs
# Set the erase character to backspace
stty erase '^H' echoe
FILES
$HOME/.profile user-specific environment
/etc/profile system-wide environment
SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5)
Solaris Advanced User's Guide
NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most
global needs.
SunOS 5.10 20 Dec 1992 profile(4)