Search Results

Search: Posts Made By: zainravi
6,974
Posted By zainravi
hey rdcwayx The answer to your question is...
hey rdcwayx

The answer to your question is yes. To summarise,

intially the suffix needs to start from

A, B, C, ..., Z

so that the 'processed' output (or as you call export) looks like
...
6,974
Posted By zainravi
not sure if anybody can help on this?
not sure if anybody can help on this?
6,974
Posted By zainravi
Hi I can see that the above solution will...
Hi

I can see that the above solution will work. I have now tried to find out a manner in which the suffix will start with:
AA
[CENTER]
AB

then
AC
....
....
when the suffix reaches
Z...
6,974
Posted By zainravi
suffix a sequence in awk
hi

I have a string pattern like

...
...
000446448742 00432265 040520100408 21974435 DEWSWATER GARRIER AAG IK4000 N 017500180000000000000000077000000000100...
1,896
Posted By zainravi
cfajohnson - your script is awesome ... it is...
cfajohnson - your script is awesome ... it is working ... lots of thanks

UXBLCASP01 jain1r:/home/jain1r > generate_sequence.sh.2 0800 1700
Run no. 35: 0z
UXBLCASP01 jain1r:/home/jain1r >

But...
1,896
Posted By zainravi
thanks a lot cfajohnson. I am faced with...
thanks a lot cfajohnson.

I am faced with once restriction here, I have the following shells installed on the machine:

hash
refresh
msh
recsh
chsh
csh
tsh
sh
psh
ksh
bsh
Rsh
rsh...
1,896
Posted By zainravi
generating a sequence depending on the time of the day
ould we generate a sequence number based on the time of the day?

e.g. an application is scheduled to run from 0800 hrs to 1700 hrs with a frequency of Once every five minutes

the intention is...
1,704
Posted By zainravi
Thanks for your help. It was enligthening.
Thanks for your help. It was enligthening.
1,704
Posted By zainravi
value of variable based on time of the day
i would need some help in setting the value of a variable (TIME_NOW) depending on the time of the day ...e.g.

if today's date is 12th April 2009 and if the current time is between midnight...
6,925
Posted By zainravi
Trapping the "return code"
Could kindly advise on the above query pelase.

grepping though the log file for any errors technique ... but I would want the command script to validate the UNIX return code and not the "log file"...
6,925
Posted By zainravi
Jim ... thanks for quick response. I could...
Jim ... thanks for quick response.
I could "write" the error to a separate error.log file ... but (if I were to do this) how would I capture the return code?

also, if you could please share on...
6,925
Posted By zainravi
Error Redirections
Hi,

I currently have a Unix script the calls the Teradata bteq utility. This bteq utility "takes" SQL commands from a file and writes the "output" to a log file

the syntax for doing so was
...
5,184
Posted By zainravi
works like a charm :) Thanks Franklin52
works like a charm :)

Thanks Franklin52
5,184
Posted By zainravi
System time comparison to fixed defined time
I have a requirement of checking the current system time and performing certain actions in a shell script. example:

if the current system time is greater than 1400 hrs, then perform step 1,2,3
if...
3,829
Posted By zainravi
Could kindly advise if got a chance to look at...
Could kindly advise if got a chance to look at this please?
3,919
Posted By zainravi
pnm Thanks a lot for the solution. It is...
pnm

Thanks a lot for the solution. It is working :).

:b:
3,829
Posted By zainravi
Could kindly advise if got a chance to look at...
Could kindly advise if got a chance to look at this please?
3,919
Posted By zainravi
Date comparison in file to system time
Could kindly advise if had a chance to look at this.
3,829
Posted By zainravi
Hi, jim mcnamara is correct. The machine...
Hi,

jim mcnamara is correct. The machine where this code (or atleast the functionality of the code is intended to run) does not have Perl.

this code takes in 5 parameters (to generate a...
3,919
Posted By zainravi
Date comparison in file to system time
I have a CSV (comma separated vaule) file whose entries resemble

Area,\\ntsvsp02\vmcs\download\files\Areas.dat,1,20090303,0,Import Complete,2009-03-02 04:23:00...
3,829
Posted By zainravi
Could please advise if had a chance to look at...
Could please advise if had a chance to look at this?
3,829
Posted By zainravi
Converting Perl code to shell
I have a perl code that runs like

Code I
sub p
{
if ($d >= $D) {return}

printf "%3s"x$d++," ";
printf "%s%s\n",$_[0],$h{$_[0]}?" ** ":"";

if (!$h{$_[0]})
{
...
1,257
Posted By zainravi
Your response has been helpful. Thanks.
Your response has been helpful.


Thanks.
1,341
Posted By zainravi
Thank You. Yor solution has been very helpful. ...
Thank You. Yor solution has been very helpful.

Yippeee!
1,341
Posted By zainravi
Processing with awk
I currently have a file whose contents are:


RangingDates 1 20090224 20090225 17 0 Export Complete 2009-02-23 19:58:00
FutureModuleList 1 ...
Showing results 1 to 25 of 28

 
All times are GMT -4. The time now is 07:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy