autosys job error file not created


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting autosys job error file not created
# 1  
Old 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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Suggestion in Autosys job

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

2. UNIX for Dummies Questions & Answers

To run ksh script via autosys job without asking password for file transfer

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

3. UNIX for Advanced & Expert Users

Autosys Job: Job did not start

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

4. Shell Programming and Scripting

Autosys Job

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

5. UNIX for Dummies Questions & Answers

Autosys Job.

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

6. Shell Programming and Scripting

autosys job configuration for job failure.

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

7. UNIX for Advanced & Expert Users

Documentation and books on Autosys Job Control Tool from Autosys

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

8. UNIX for Dummies Questions & Answers

Kill a Job in Autosys

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

9. Shell Programming and Scripting

Autosys job display

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

10. UNIX for Advanced & Expert Users

Autosys Job update

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
Login or Register to Ask a Question
qmsg(1B)								PBS								  qmsg(1B)

NAME
qmsg - send message to pbs batch jobs SYNOPSIS
qmsg [-E] [-O] message_string job_identifier ... DESCRIPTION
To send a message to a job is to write a message string into one or more output files of the job. Typically this is done to leave an informative message in the output of the job. The qmsg command writes messages into the files of jobs by sending a Message Job batch request to the batch server that owns the job. The qmsg command does not directly write the message into the files of the job. OPTIONS
-E Specifies that the message is written to the standard error of each job. -O Specifies that the message is written to the standard output of each job. If neither the -E nor the -O option is specified, the message will be written to the standard error of the job. OPERANDS
The first operand, message_string, is the message to be written. If the string contains blanks, the string must be quoted. If the final character of the string is not a newline, a newline character will be added when written to the job's file. All following operands are job_identifiers which specify the jobs to receive the message string. The qmsg command accepts one or more job_identifier operands of the form: sequence_number[.server_name][@server] STANDARD ERROR
The qmsg command will write a diagnostic message to standard error for each error occurrence. EXIT STATUS
Upon successful processing of all the operands presented to the qmsg command, the exit status will be a value of zero. If the qmsg command fails to process any operand, the command exits with a value greater than zero. SEE ALSO
qsub(1B), pbs_msgjob(3B) Local qmsg(1B)