10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I am trying to compile the datastage jobs using the Execute Command stage in datastage 11 or any Routines if possible. My datastage is on Unix machine.
So, How can I Compile a datastage job in UNIX from command line or any Routines.
Please help me in doing so.
Thank you. (1 Reply)
Discussion started by: elena jessi
1 Replies
2. Shell Programming and Scripting
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. Shell Programming and Scripting
Hi All,
Please provide the command to stop all the cron jobs.
Thanks in Advance
Regards,
Sindu (2 Replies)
Discussion started by: indira_s
2 Replies
4. Shell Programming and Scripting
Hello,
I am running GNU bash, version 3.2.39(1)-release (x86_64-pc-linux-gnu). I have a specific question pertaining to waiting on jobs run in sub-shells, based on the max number of parallel processes I want to allow, and then wait... (1 Reply)
Discussion started by: srao
1 Replies
5. Shell Programming and Scripting
When you run this script in a command prompt it runs fines and echos the background jobs but when written to a script and run, it outputs nothing.
for job in `jobs -p`
do
echo $job
done
Any ideas what I might be doing wrong.
Thanks,
SK (3 Replies)
Discussion started by: kanas01
3 Replies
6. Shell Programming and Scripting
Hi,
I do have 2 files
Job_Name
Job1
Job2
Job3
Instance_Name
USA
IND
SRI
I need to write a script, i.e, output of job1.USA should come in log in unix.
i.,e
When it runs for the first time it should run as
Job1.USA
next run
Job1.IND
Job1.SRI (3 Replies)
Discussion started by: dsnaveen
3 Replies
7. Shell Programming and Scripting
Hi All,
Could you please let me know how to capture the WARNING or FATAL errors for the last run log using dsjob -logsum in Korn Unix Shell.
Thanks in Advance, (0 Replies)
Discussion started by: HemaV
0 Replies
8. UNIX for Dummies Questions & Answers
Good morning!
When I type in the command "jobs" it takes me back to the command prompt?
Any idea why and how I can display all the jobs that are currently running off that host?
Ben (6 Replies)
Discussion started by: bigben1220
6 Replies
9. UNIX for Advanced & Expert Users
hello,
i have a windows server with datastage.
In another machine, unix machine, i have a shell script that need to invoke the datastage dsjob.
Can anyone help me? (0 Replies)
Discussion started by: anaconga
0 Replies
10. Shell Programming and Scripting
i need to execute 5 jobs at a time in background and need to get the exit status of all the jobs i wrote small script below , i'm not sure this is right way to do it.any ideas please help.
$cat run_job.ksh
#!/usr/bin/ksh
####################################
typeset -u SCHEMA_NAME=$1
... (1 Reply)
Discussion started by: GrepMe
1 Replies
qterm(8B) PBS qterm(8B)
NAME
qterm - terminate processing by a PBS batch server
SYNOPSIS
qterm [-t type] [server...]
DESCRIPTION
The qterm command terminates a PBS batch server. When a server receives a terminate command, the server will go into a terminating state.
While in this state, the server will not allow new jobs to be started or enqueued. By default, qterm will request a "quick" shutdown of
the PBS server. Other ways of shutting down the server (specified with the -t argument), and their impact on running jobs, are described
below. The qterm command will not exit until the server has completed its shutdown procedure.
In order to execute qterm, the user must have PBS Operation or Manager privilege.
OPTIONS
-t type Specifies the type of shut down. The types are:
immediate
All running jobs are to immediately stop execution.
If checkpoint is supported, running jobs that were submitted with "-c shutdown" are checkpointed, terminated, and
requeued. If checkpoint is not supported or the job cannot be checkpointed, running jobs are requeued if the rerunable
attribute is true. Otherwise, jobs are killed.
Normally the server will not shutdown until there are no jobs in the running state. If the server is unable to contact
the MOM of running job, the job is still listed as running. The server may be forced down by a second qterm -t immediate
command.
delay If checkpoint is supported, running jobs that were submitted with "-c shutdown" are checkpointed, terminated, and
requeued. If a job cannot be checkpointed, but can be rerun, the job is terminated and requeued. Otherwise, running jobs
are allowed to continue to run. Note, the operator or administrator may use the qrerun and qdel commands to remove run-
ning jobs.
quick This option is used when you wish that running jobs be left running when the server shuts down. The server will cleanly
shutdown and can be restarted when desired. Upon restart of the server, jobs that continue to run are shown as running;
jobs that terminated during the server's absence will be placed into the exiting state.
OPERANDS
The server operand specifies which servers are to shutdown. If no servers are given, then the default server will be terminated.
STANDARD ERROR
The qterm 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 qterm command, the exit status will be a value of zero.
If the qterm command fails to process any operand, the command exits with a value greater than zero.
SEE ALSO
pbs_server(8B), qmgr(1B), pbs_resources_aix4(7B), pbs_resources_irix5(7B), pbs_resources_sp2(7B), pbs_resources_sunos4(7B), and
pbs_resources_unicos8(7B)
Local qterm(8B)