Search Results

Search: Posts Made By: j_panky
1,224
Posted By j_panky
Running the calling script/task as per day
Hello all..
i have few task to do on specific day ar per weekday or weekend...
for example i have 3 tasks:

task1
task2
task3


Now i need to create a shell script
If it is weekday it will...
7,665
Posted By j_panky
still doing google to find out what exactly can...
still doing google to find out what exactly can be done..iam new in autosys, still wondering how can it be worked out
7,665
Posted By j_panky
Autosys job scheduling on specific day
Below is the requirement i am trying to do using auto sysjob.
I need to create a JOB or script which will do the below things for me

I have a box and there corresponding jobs as below
BOX_1
...
2,320
Posted By j_panky
ok..here you go.. i have a main box abc ...
ok..here you go..
i have a main box
abc
below this box there are 2 jobs
lmn
xyz
after the success of lmn, xyz will execute..that the logic..
Since this is an automated process both the...
2,320
Posted By j_panky
schedule job
Hi,
I have a spcific box called abc in autosys and below that there are 2 jobs.
my requirement is to run the abc box only on monday and rest of the day the rest of the jobs should be in success...
6
1,498
Posted By j_panky
I tried but unable to do it.. ----------...
I tried but unable to do it..

---------- Post updated at 01:13 PM ---------- Previous update was at 10:58 AM ----------

Done...many thanks...
6
1,498
Posted By j_panky
no no i dont need perl script, unix script is...
no no i dont need perl script, unix script is ok......

What i need is to automate the process...
like
1.The script will read the wc -l count and then divide it into 4 and then according to the...
6
1,498
Posted By j_panky
Split
Hello people,
I have a huge file of say 1 gb called A123.txt..

to get the word count, i do



wc -l A123.txt



This gives me a count of say 122898.
Now what i do is, i divide this...
3,142
Posted By j_panky
OK. i will make sure not to continue a new...
OK. i will make sure not to continue a new requirement in the old post.
@michaelrozar17 - Its working but partially...
output of the above command retrives all the pattern starting with A, means...
3,142
Posted By j_panky
Can anybody suggest ??? ---------- Post...
Can anybody suggest ???

---------- Post updated at 02:57 PM ---------- Previous update was at 11:55 AM ----------

@Kumaran_555 your below code for searching pattern and making one file per...
3,142
Posted By j_panky
@Kumaran_555 your below code for searching...
@Kumaran_555 your below code for searching pattern and making one file per pattern is absolutely working fine..
your code

awk '{print $0 >>substr($0,0,4)".txt"}' test.txt


now what is this...
1,513
Posted By j_panky
@panyam- oh yes, i got it..Earlier i tried a...
@panyam-
oh yes, i got it..Earlier i tried a bit similar but with some syntax errors..
I appreciate.
Can you please elaborate the above awk command in short, like what is

awk -F"|"...
1,513
Posted By j_panky
Replacing the column value in Unix
Hello all,
I have a file with below content.Its basically huge file but listing few of the content


A0|SAL |bN |g10 | |20100611|G|1
M0|AL |bN |g10 | ...
3
1,079
Posted By j_panky
Excel
I have file called abc.txt at /usr/abc..

Content of file is as below.

mZ2|uM/KRCNB30103/1|BADR|NLRDC00C/W | |201105|I|2
oZ2|iM/KRCNB30103/1|BADR|NLRDC00C/W | ...
3,142
Posted By j_panky
Mind blowing @kumaran_555...it happened.Can you...
Mind blowing @kumaran_555...it happened.Can you please explain how script in short.
Its creating separate pattern.txt files. Now One more requirement is i need to divide any of the .txt created...
3,142
Posted By j_panky
Ok, i will try and will comment. But i hope the...
Ok, i will try and will comment.
But i hope the above all solution is searching the pattern and then copying all the contents starting with A123 and putting it in some txt file and again searching...
3,142
Posted By j_panky
Pattern search and save it as .txt file with some name..
Hello,
I have a note pad at /usr/abc location with the following content, since it is a huge file i need to split it into multiple .txt files.


A123|akdhj |21kjsdff |b212b1b21 |0...
4,147
Posted By j_panky
so is this abc_wrapped.ksh or abc_wrapper.ksh
so is this abc_wrapped.ksh or abc_wrapper.ksh
4,147
Posted By j_panky
hmmm. Cant i create a new abc_wrapped.ksh and...
hmmm.
Cant i create a new abc_wrapped.ksh and put your code in that...
Why Renaming the name of my script.
4,147
Posted By j_panky
ok..thanks.Kumaran One last thing... if i...
ok..thanks.Kumaran
One last thing...
if i need to display/print the time using echo or some other command after the completion of abc.ksh, how can it be done..
4,147
Posted By j_panky
fantastic...that was so simple...i did it and got...
fantastic...that was so simple...i did it and got the out put at the end...
a slight confusion
i got 3 lines
real 7m17.844s
user 0m5.168s
sys 0m1.736s

what exactly are these and...
4,147
Posted By j_panky
ok thanks @Kumaran..i will surely try it.... ...
ok thanks @Kumaran..i will surely try it....
one more thing where should i incorporate the above line ..
do u mean i should put it in the end of my script (abc.ksh)...so that as soon as abc.ksh is...
4,147
Posted By j_panky
OK here you go.... My name of the script is...
OK here you go....
My name of the script is abc.ksh which is approximately taking 8 to 9 mins to execute but iam not sure how exact it is ...so i needed help so posted here...
my abc.ksh script is...
4,147
Posted By j_panky
Ok, here you go.... Once again i needed the...
Ok, here you go....
Once again
i needed the total time taken by my script called abc.ksh...like 20 mins or 30 mins or anything to be displayed on scrren as soon as abc.ksh is finished.

What i...
4,147
Posted By j_panky
Still not satisfied...Waited, tried doing google...
Still not satisfied...Waited, tried doing google and forgotten...
I have one script called abc.ksh, which i execute...

I just need the total time it took to execute the script and display on the...
Showing results 1 to 25 of 93

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