autorep command in autosys


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting autorep command in autosys
# 1  
Old 11-09-2005
autorep command in autosys

hi,

i have autosys installed on unix.
i use "autorep -j t8i%" command to see the scheduled jobs. now i have changed some of the jobs and saved them too.
i gave the command jil< filename.jil to again insert the jobs. but my problem is what is the command to run all the jobs again so that i can test whether the changes i have made are working or not.

is there any document on jil files, autorep can any one plz send it to me.

thanks,
teja.
# 2  
Old 11-10-2005
Quote:
Originally Posted by tejasingaraju17
hi,

i have autosys installed on unix.
i use "autorep -j t8i%" command to see the scheduled jobs. now i have changed some of the jobs and saved them too.
i gave the command jil< filename.jil to again insert the jobs. but my problem is what is the command to run all the jobs again so that i can test whether the changes i have made are working or not.

is there any document on jil files, autorep can any one plz send it to me.

thanks,
teja.
I'm a little worried here. You're updating JIL, but you don't know how to run an autosys job?
Anyways, to run the jobs, you need to either go into the Autosys GUI or run a sendevent command from the command line.

I don't have any documents on autorep or JIL, but you can definitely get them from the vendor, Computer Associates.
# 3  
Old 04-14-2007
How to find the last 20 runs of a particular jobs .. this is just to track how long it took to run in the previous runs

for example : autorep -j jobname WILL give me the last run .. but to get the prevoius runs in autosys like this job is repeated and it runs everyday ..

is there any command to get the status of a job which ran in 20 days

Thanks!!
# 4  
Old 04-14-2007
Code:
autorep -j JOb -r -20

Regards
# 5  
Old 04-15-2007
Hi

i think i am not getting the exact answer for it ..

i have some jobs which have ran sometime back for example 20 days ago ..

but when i give this command

autorep -j jobname it gives me only last run .. but i also neeed the run date and time 20 days ago ...

Please help me in this

Thanks in advance!!
# 6  
Old 04-17-2007
to force start an autosys job (that is to start it now) type
Code:
sendevent -E STARTJOB -J <jobname>

# 7  
Old 10-29-2007
hi,
i have a question related to 'autorep' command

How can i use unix shell command to get the autosys commands
for a set of given jobs?

autorep -J EMP% -w
returns all autosys jobnames starting with EMP and runtimes

However, i also want to see the autosys 'command' corresponding to the above jobs.

I don't want to sql query the autosys database

Thanks,
-srinivas yelamanchili
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Command to check only Autosys running jobs with autorep like command

Hi, Is there any specific command to use to check only say Running jobs via autorep or similar command for Autosys? (0 Replies)
Discussion started by: sidnow
0 Replies

2. Shell Programming and Scripting

Problem with running the "autorep" command via crontab

Hi, The user "MadeInGermany" tried to help on the below post by saying "This has been asked before; see the links below. Get your current LD_LIBRARY_PATH and redefine that in your ksh script! " Thanks for the help. but this did not help. And my post got locked. I can't reply on my previous... (5 Replies)
Discussion started by: girish1428
5 Replies

3. Shell Programming and Scripting

Autorep command does not work from crontab !

Hi, I have written a ksh script and I'ma using the following command in it: autorep -j %abcd% | grep RU | grep BOX1 The script works fine when executed manualy on the command prompt. But does not work when scheduled in crontab. I could see the following in the crontab log: ... (1 Reply)
Discussion started by: girish1428
1 Replies

4. Shell Programming and Scripting

Using awk with autosys autorep

Hi, How to get correct field/column from autosys autorep command. I'm using GNU/Linux I'm trying to get the difference of last end and last start and the status (ST). In awk, i get the following excluding the heading part $1 - jobname $2 - Last Start date $3 - Last Start time $4 - Last... (1 Reply)
Discussion started by: bobbygsk
1 Replies

5. Shell Programming and Scripting

autorep command in the script

I have created UNIX script for getting information for the autosys jobs using autorep command. Job_name=temp_job1 echo $Job_name autorep -j $job_name -l0 After running the script I am getting the below error Error while loading shared libraries: libautoeac_api.so: cannot share object... (1 Reply)
Discussion started by: onesuri
1 Replies

6. UNIX for Advanced & Expert Users

autosys command(autorep) from command prompt

Hi, I am using AUTOSYS GUI based tool. But I want to get the job status from the UNIX command prompt. 1. I want to execute only autorep command in the UNIX command prompt. If need to execute this command what are the settings need to do that. 2. Is it possible for executing this... (5 Replies)
Discussion started by: onesuri
5 Replies

7. Shell Programming and Scripting

Autosys kill command

Hi , I would like to kill more than one job using a single autosys kill command. any help please ? Thanks, Mohan (1 Reply)
Discussion started by: mohanpadamata
1 Replies

8. Shell Programming and Scripting

autorep command cut longer jobnames. Anybody into autosys / autorep?

Hi there, my problem is, that i need to get all jobs with status from a autosys instance. If I use autorep -J ALL -d >joblist.txt longer Jobnames will be cut and the end will be replaced by 3 points like this "ThisIsALongerJobNameAnd..." If i try a single job query like ... (7 Replies)
Discussion started by: drmaniac
7 Replies

9. Shell Programming and Scripting

autorep command to get autosys command

Hi, how can i use unix shell command to get the autosys commands for a set of given jobs? autorep -J EMP% -w returns all autosys jobnames starting with EMP and runtimes However, i also want to see the autosys 'command' corresponding to the above jobs. I don't want to sql query the... (1 Reply)
Discussion started by: ysrinu
1 Replies

10. 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
Login or Register to Ask a Question