03-06-2009
autosys job error file not created
Hi All
Something really weird happened, I have an autosys job:
insert_job: CAT_LDN_BaseCorrs job_type: c
command: $$(LDNFIRC)\CAT_LDN_BaseCorrs.bat -modeldate $$MODEL_DATE -cutdate $$CUT_DATE
permission: gx, mx, wx
description: "Rerun=0;625;#CAT_Autosys"
std_out_file: $$(LDNCAT)%AUTO_JOB_NAME%_out.log
std_err_file: $$(LDNCAT)%AUTO_JOB_NAME%_err.log
alarm_if_fail: 1
Interestingly the std_out_file was produced fine but there is no std_err_file. Normally even if there is no error I'd get a 0kb file, but in this case i get no file at all even if there are errors. I've tried all kinds of ways including hardcoding the error file name and location in the jil, but it just doesnt work.
Can some autosys gurus help me on this please?
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi
could someone tell me how do I update an autosys job?
i was trying something like:
$ jil < solarCleaning.jil -V none
______________________________________________________________________________
Insert/Updating Job: solarCleaning
*** CANNOT INSERT Job: solarCleaning, because... (3 Replies)
Discussion started by: nosnam
3 Replies
2. Shell Programming and Scripting
autorep -J dfile_252500_U_HSP_f2purge -w
Job Name Last Start Last End ST Run Pri/Xit
________________________________________________________________ ____________________ ____________________ __ _______ ___
... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have done kill-9 xxx for a job which is running in Autosys.
But when i use autorep -j xxx it is showing the job is in run status.
How to kill a job in Autosys which is in running status..
Thanks
Arun (3 Replies)
Discussion started by: arunkumar_mca
3 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. Shell Programming and Scripting
We need to configure autosys that when a job fails continously for 3 times, we need to call another job.
Is this possible in Autosys, or can anyone advice on the alternative. (2 Replies)
Discussion started by: sangea
2 Replies
6. UNIX for Dummies Questions & Answers
Hi Can any one tell me free online good book for autosys job.
Also whats the basic difference between Autosys job and cron job.
Thanks in advance. (2 Replies)
Discussion started by: diehard
2 Replies
7. Shell Programming and Scripting
I need to know the list of autosys job that run between given time.
I have the following command.
job_depends -t -J abc% -F "12/25/2010 03:00" -T "12/26/2010 05:00"
Above command will give the list of job that run between time 3 AM and 5 AM.
But the it gives me in random order how to... (1 Reply)
Discussion started by: diehard
1 Replies
8. UNIX for Advanced & Expert Users
I have submitted an autosys job and force start it. Autosys hit the job 4 times to restart but it did not start and finally I terminate the job. Any idea why the job did not start. Below is the code I executed.
1214 missun0ap /export/home/bzn97r/develop/dswi/jil$ sendevent -E FORCE_STARTJOB... (0 Replies)
Discussion started by: jnrohit2k
0 Replies
9. UNIX for Dummies Questions & Answers
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)
Discussion started by: maheshbabu
6 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I am new to Unix and Autosys. I have written Oracle query. Now I would like to create Autosys job. below is the requirement.
Send in email every 30 minutes from 11 to 4:00 PM. E-mail should only be sent ONLY when below Query have data return.
Email format:
To: ,
From: ,
Email... (1 Reply)
Discussion started by: vasuvv
1 Replies
LEARN ABOUT OSF1
strclean
strclean(8) System Manager's Manual strclean(8)
NAME
strclean - Removes outdated STREAMS error log files
SYNOPSIS
/usr/sbin/strclean [-d logdir] [-a age]
FLAGS
Specifies a maximum age in days for the STREAMS error log files if this not the default age of 3. The value of age must be an integer
greater than or less than 3. Specifies a directory for the location of the STREAMS error log files to be removed if this is not the
default directory /var/adm/streams.
DESCRIPTION
The strclean command cleans the STREAMS error logger directory of log files (error.mm-dd) that contain error messages sent by the STREAMS
log driver (strlog). If no other directory is specified (the logdir argument), the command removes error log files in the /var/adm/streams
directory. If no other age is specified (the age argument), the command removes error log files that have not been modified in 3 days.
The strclean command is executed by the cron daemon on a periodic basis.
EXAMPLES
To remove the day-old error log files from a directory called /tmp/streams, enter: strclean -d /tmp/streams -a 1
FILES
One or more error log file or files on which strclean operates. The mm.dd in the filename indicates the month and day of the messages con-
tained in the file.
RELATED INFORMATION
Commands: strerr(8), cron(8).
Interfaces: strlog(7). delim off
strclean(8)