Sponsored Content
Full Discussion: Job is taking long time
Top Forums UNIX for Dummies Questions & Answers Job is taking long time Post 302482264 by ajaykumarkona on Tuesday 21st of December 2010 05:48:38 AM
Old 12-21-2010
The script of the job like this.
Please help me
Code:
#!/bin/ksh               

. $HOME/.jobmanrc

. $pjc_bin_path/PJCEFUNCS    

JOBNAME wedsupvj APPLICATION=$wedb_app_name MAXCOND=01 AUTOSTART

export WEDB_EOM=N

LOADAPPVARIABLES $wedb_env_file  

JOB_PATH $wedb_path_file 

# ============================================================================
# ============================== JOB BEGIN ===================================
# ============================================================================
# ============================ STEP 005 BEGIN ================================
#
# STEP005 DESC Copy and rename the latest supervisor data file from the
# STEP005 DESC hrfiles directory
# STEP005 DESC 
#
# ----------------------------------------------------------------------------
#
STEP_EXECUTE STEP005 cp $WEDB_DATA/hrfiles/SUPV.* $WEDB_DATA/SUPV

STEP_END
#
# ============================= STEP 005 END =================================
#
# ============================ STEP 010 BEGIN ================================
#
# STEP010 DESC    This step truncates the supervisor table
# STEP010 DESC   
#
# ----------------------------------------------------------------------------
#
STEP_EXECUTE STEP010 sqlplus / @$WEDB_SQL/trunc_tab.sql `cat $WEDB_CTL/wedb_load_owner.lst`

STEP_END
# ============================= STEP 010 END =================================
#
# ============================ STEP 015 BEGIN ================================
#
# STEP015 DESC Updates the supervisor table in the daily database
# STEP015 DESC 
#
# ----------------------------------------------------------------------------
#
STEP_EXECUTE STEP015  sqlplus / @$WEDB_SQL/load_supv.sql SUPV $WEDB_DATA

STEP_END
#
# ============================= STEP 015 END =================================
#
# ============================================================================
JOB_END  
# =============================== JOB END ====================================
#                             ENDJOB wedsupvj
# ============================================================================


Last edited by Scott; 12-21-2010 at 07:02 AM.. Reason: Please use code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

fetchmail taking long time to fetchmail...

Hi peeps, We are having around 60 users. The time set to retrieve the mail is 300 sec. But it's taking around 1 hour to deliver mails. I am using debian sarge 3.1. any clues? And how it will affect if I decrease the time? My machine has got 1 p4 3.0 GHZ processor and 1 GB ram. The home... (2 Replies)
Discussion started by: squid04
2 Replies

2. Red Hat

login process taking a long time

I'm having a bit of a login performance issue.. wondering if anyone has any ideas where I might look. Here's the scenario... Linux Red Hat ES 4 update 5 regardless of where I login from (ssh or on the text console) after providing the password the system seems to pause for between 30... (4 Replies)
Discussion started by: retlaw
4 Replies

3. Shell Programming and Scripting

For Loop Taking Too Long

I'm new from UNIX scripting. Please help. I have about 10,000 files from the $ROOTDIR/scp/inbox/string1 directory to compare with the 50 files from /$ROOTDIR/output/tma/pnt/bad/string1/ directory and it takes about 2 hours plus to complete the for loop. Is there a better way to re-write the... (5 Replies)
Discussion started by: hanie123
5 Replies

4. Shell Programming and Scripting

<AIX>Problem in purge script, taking very very long time to complete 18.30hrs

Hi, I have here a script which is used to purge older files/directories based on defined purge period. The script consists of 45 find commands, where each command will need to traverse through more than a million directories. Therefore a single find command executes around 22-25 mins... (7 Replies)
Discussion started by: sravicha
7 Replies

5. UNIX for Dummies Questions & Answers

gref -f taking long time for big file

grep -f taking long time to compare for big files, any alternate for fast check I am using grep -f file1 file2 to check - to ckeck dups/common rows prsents. But my files contains file1 contains 5gb and file 2 contains 50 mb and its taking such a long time to compare the files. Do we have any... (10 Replies)
Discussion started by: gkskumar
10 Replies

6. Solaris

Re-sync Taking Extremely Long.

It's almost 3 days now and my resync/re-attach is only at 80%. Is there something I can check in Solaris 10 that would be causing the degradation. It's only a standby machine. My live system completed in 6hrs. (9 Replies)
Discussion started by: ravzter
9 Replies

7. Solaris

How to find out bottleneck if system is taking long time in gzip

Dear All, OS = Solaris 5.10 Hardware Sun Fire T2000 with 1 Ghz quode core We have oracle application 11i with 10g database. When ever i am trying to take cold backup of database with 55GB size its taking long time to finish. As the application is down nobody is using the server at all... (8 Replies)
Discussion started by: yoojamu
8 Replies

8. UNIX for Dummies Questions & Answers

ls is taking long time to list

Hi, All the data are kept on Netapp using NFS. some directories are so fast when doing ls but few of them are slow. After doing few times, it becomes fast. Then again after few minutes, it becomes slow again. Can you advise what's going on? This one directory I am very interested is giving... (3 Replies)
Discussion started by: samnyc
3 Replies

9. UNIX and Linux Applications

From past 10 days my one job is taking lots of time

One of my job is taking long running time. I need to identify from the unix log file can you please help how to troubleshoot. (1 Reply)
Discussion started by: Nsharma3006
1 Replies

10. Shell Programming and Scripting

Rm -rf is taking very long, will it timeout?

I have so many (hundreds of thousands) files and directories within this one specific directory that my "rm -rf" command to delete them has been taking forever. I did this via the SSH, my question is: if my SSH connection times out before rm -rf finishes, will it continue to delete all of those... (5 Replies)
Discussion started by: phpchick
5 Replies
GROLBP(1)						      General Commands Manual							 GROLBP(1)

NAME
grolbp - groff driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers). SYNOPSIS
grolpb [ -l ] [ --landscape ] [ -v ] [ --version ] [ -cn ] [ --copies=numcopies ] [ -ppaper_size ] [ --papersize=paper_size ] [ -oorientation ] [ --orientation=orientation ] [ -wwidth ] [ --linewidth=width ] [ -Fdir ] [ --fontdir=dir ] [ -h ] [ --help ] [ files... ] DESCRIPTION
grolbp is a driver for groff that produces output in CAPSL and VDM format suitable for Canon LBP-4 and LBP-8 printers. For compatibility with grolj4 there is an additional drawing command available: D'R dh dv' Draw a rule (i.e. a solid black rectangle), with one corner at the current position, and the diagonally opposite corner at the cur- rent position +(dh,dv). OPTIONS
Note that there can be whitespace between a one-letter option and its argument; on the other hand, there must be whitespace and/or an equal sign (`=') between a long-name option and its argument. -cnumcopies --copies=numcopies Print numcopies copies of each page. -l --landscape Print the document with a landscape orientation. -ppaper_size --papersize=paper_size Set the paper size to paper_size, which must be a valid paper size description as indicated in the section PAPER SIZES. -oorientation --orientation=orientation Print the document with orientation orientation, which must be `portrait' or `landscape'. -wwidth --linewidth=width Set the default line thickness to width thousandths of an em. If this option isn't specified, the line thickness defaults to 0.04 em. -v --version Print the version number. -Fdir --fontdir=dir Prepend directory dir/devname to the search path for font and device description files; name is the name of the device, usually lbp. -h --help Print a short help text. TYPEFACES
The driver supports the Dutch, Swiss and Swiss-Narrow scalable typefaces, each one in the Regular, Bold, Italic and Bold-Italic styles. Additionally, the Courier and Elite monospaced typefaces at the sizes 8 and 12 points (for Courier) resp. 8 and 10 points (for Elite) are supported, each one in the Regular, Bold and Italic styles. The following chart summarizes the font names you can use to access these fonts: +----------------+-----------+--------+----------+--------------+ | Typeface | Regular | Bold | Italic | Bold-Italic | +----------------+-----------+--------+----------+--------------+ | Dutch | TR | TB | TI | TBI | +----------------+-----------+--------+----------+--------------+ | Swiss | HR | HB | HI | HBI | +----------------+-----------+--------+----------+--------------+ | Swiss Narrow | HNR | HNB | HNI | HNBI | +----------------+-----------+--------+----------+--------------+ | Courier | CR | CB | CI | | +----------------+-----------+--------+----------+--------------+ | Elite | ER | EB | EI | | +----------------+-----------+--------+----------+--------------+ PAPER SIZES
The paper size can be set in the DESC file or with command line options to grolbp. If the paper size is specified both ways, the command line options take precedence over the contents of the DESC file (this applies to the page orientation too). See groff_font(1) how to set the paper dimensions in the DESC file. To set the paper size in the command line, add -p paper-size or --papersize=paper-size to the other grolbp options, where paper-size is in the same format as in the DESC file. If no paper size is specified in the DESC file or the command line, a default size of A4 is used. PAGE ORIENTATION
As with the page size, the orientation of the printed page (portrait or landscape) can be set in the DESC file or with command line op- tions. It is also case insensitive. To set the orientation in the DESC file, insert a line with the following content: orientation [portrait|landscape] Only the first valid orientation command in the DESC file is used. To set the page orientation with command line options you can use the -o or --orientation option with the same parameters (portrait or landscape) as in the DESC file. Or you can use the -l option to force the pages to be printed in landscape. FONT FILE FORMAT
In addition to the usual commands described in groff_font(5), grolbp provides the command lbpname which sets the font name sent to the printer when requesting this font. The syntax of this command is: lbpname printer_font_name o For bitmapped fonts, printer_font_name has the form N<base_fontname><font_style> base_fontname is the font name as it appears in the printers font listings without the first letter, up to (but not including) the font size. font_style can be one of the letters R, I, or B, indicating the font styles Roman, Italic and Bold respectively. For instance, if the printer's font listing A shows font `Nelite12I.ISO_USA', the corresponding entry in the font description file is lbpname NeliteI Note that you may need to modify grolbp to add support for new bitmapped fonts, since the available font names and font sizes of bitmapped fonts (as documented above) are hard-coded into the program. o For scalable fonts, printer_font_name is identical to the font name as it appears in the printer's font listing A. For instance, to select the `Swiss' font in bold style, which appears in the printer's font listing A as `Swiss-Bold', the required lbpname command line is lbpname Swiss-Bold The argument of lbpname is case sensitive. FILES
/usr/share/groff_font/devlbp/DESC Device description file. /usr/share/groff_font/devlbp/F Font description file for font F. /usr/share/tmac/lbp.tmac Macros for use with grolbp. SEE ALSO
groff(1), troff(1), groff_out(5), groff_font(5), groff_char(7) Groff Version 1.19.2 June 30, 2003 GROLBP(1)
All times are GMT -4. The time now is 03:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy