autosys command(autorep) from command prompt


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users autosys command(autorep) from command prompt
# 1  
Old 09-15-2011
autosys command(autorep) from command prompt

Code:
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 command if you have GUI based autosys tool.
3.	Do we need any permission to access this command in the UNIX command prompt?
4.	Any other settings required for to access this command. 


I have searched in the forums but I am unable to find the relevant information.
Any help greatly appreciated.


Thanks -onesuri

# 2  
Old 09-15-2011
Just try from the autosys unix box.

Code:
 
autorep -J JobName

# 3  
Old 09-15-2011
Thanks for the response.

i have tried the below command to get the status of the job

autorep -J temp_auto_cust_job -d

Error: autorep not found

i am able to see the all the jobs in the GUI autosys tool.
I want to know how to check from the UNIX command prompt.

Based on the above error i can understand we can't able to connect to the autorep command. But i want to connect the command from the UNIX command prompt. For this do i need to do any settings or to get some permissions.

Any help greatly appreciated.
Thanks -onesuri
# 4  
Old 09-15-2011
gui autosys tool also executes and get the output of autorep command.

it seems like, you are not in correct server. (autosys server)

otherwise, can you check /opt/autosys folder exists in your unix machine or not
# 5  
Old 09-16-2011
Yes your right. the autosys server is different.
Error message : /opt/autosys is not found

What is the configuration need to set up for connecting to execute that command from anther server.

Thanks -Any help greatly appriciated.
Onesuri
# 6  
Old 09-16-2011
We execute the autorep command in ssh

Code:
ssh user@system "autorep -j jobname"

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Shell script not working but command works in command prompt

Hi everyone I have a problem with my script If I try directly this command /usr/bin/nice -n 19 mysqldump -u root --password="******" wiki_schneider -c | nice -n 19 gzip -9 > /point_de_montage/$(date '+%Y%m%d')-wiki-db.sql.gz It works But if I simply add this command in a script and... (8 Replies)
Discussion started by: picemma
8 Replies

2. 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

3. UNIX for Dummies Questions & Answers

Execution of command at command prompt

Hello Experts, I am still learning linux and have come across a question, hope to get some answer. I have two servers, and both have the same version of svn client installed and both have the same user_id. my SVN client version: svn, version 1.6.11 (r934486) compiled Mar 2 2011,... (4 Replies)
Discussion started by: babyPen1985
4 Replies

4. 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

5. 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

6. 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

7. Shell Programming and Scripting

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... (8 Replies)
Discussion started by: tejasingaraju17
8 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. SuSE

inconsistent ls command display at the command prompt & running as a cron job

Sir, I using the following commands in a file (part of a bigger script): #!/bin/bash cd /opt/oracle/bin ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out If I run this from the command prompt the result is: 2007-05-16 if I run it as a cron job then... (5 Replies)
Discussion started by: rajranibl
5 Replies
Login or Register to Ask a Question