Search Results

Search: Posts Made By: asandy1234
3,512
Posted By asandy1234
Akshay you are a genius. It worked like a charm,...
Akshay you are a genius. It worked like a charm, thanks for the help...
3,512
Posted By asandy1234
Awesome! Thanks everyone for the help ...
Awesome! Thanks everyone for the help

---------- Post updated 05-21-14 at 05:14 PM ---------- Previous update was 05-20-14 at 05:46 PM ----------


Hi Akshay,
A slight modification in the...
3,512
Posted By asandy1234
Thanks Akshay for the prompt reply but I'm...
Thanks Akshay for the prompt reply but I'm getting an error as below(The name of the KSh file is remove_admin.ksh) ...

remove_admin.ksh[6]: $: not found.



#!/usr/bin/ksh...
3,512
Posted By asandy1234
Sorry for not being clear in my question. ...
Sorry for not being clear in my question.

The input file will look like this, name it input.txt
a1,b1,c1,d1,e1
a2,b2,c2,d2,e2
a3,b3,c3,d3,e3

The file that contains list to compare will look...
3,512
Posted By asandy1234
Seeing from the response I think its more...
Seeing from the response I think its more complicated than I thought.To make it simple can we program an .awk file to read a one column CSV file and loop through it?
3,512
Posted By asandy1234
awk file to read values from Db2 table replacing hard coded values
Hi,
I want to replace a chain of if-else statement in an old AWK file with values from Db2 table or CSV file. The part of code is below...

if (start_new_rec=="true"){
exclude_user="false";...
2,364
Posted By asandy1234
It is working now, forgot to add the exec command...
It is working now, forgot to add the exec command with in the do loop.

eval $(exec $cmd $*)

Thanks everybody for your valuable inputs...
2,364
Posted By asandy1234
The variables in cmd are ...
The variables in cmd are

LogFile=LOADS_DIR/devl/logs/LOAD_$(date +%Y%m%d_%H:%M:%S).log
configfile=LOADS_DIR/devl/scripts/SASV9.CFG
autoexecfile=LOADS_DIR/devl/bin/LOAD_autoexec.sas...
2,364
Posted By asandy1234
I tried all the option specified here but nothing...
I tried all the option specified here but nothing works still the loop only iterates one time.
2,364
Posted By asandy1234
Do loop doesn't iterate
I'm trying to send the file list as parameter to another job and execute it.
But the loop doesn't work, the inner job is running only once and not twice as expected


for filelist in $(ls -rt...
2,173
Posted By asandy1234
It didn't help I get the same error
It didn't help I get the same error
2,173
Posted By asandy1234
Can you please specify exactly where should I use...
Can you please specify exactly where should I use the 'u' option..

Thanks,
2,173
Posted By asandy1234
Problem extracting zipped tar file
I was extracting the zipped tar file with the command
gzip -dc Sample.tar.gz |tar xf -

The tar file contained many delimited files; but lately they changed the structure of the tar file with...
9,656
Posted By asandy1234
Thanks for the help, the problem was with the way...
Thanks for the help, the problem was with the way .tar file was created( it had an extra folder structure)...
9,656
Posted By asandy1234
I'm not sure why I'm getting this error mv:...
I'm not sure why I'm getting this error

mv: 0653-401 Cannot rename *.del to *_20121220121212.del:
A file or directory in the path name does not exist.



#!/usr/bin/ksh

gzip...
9,656
Posted By asandy1234
Thanks everybody for their valuable contribution,...
Thanks everybody for their valuable contribution, it worked...
9,656
Posted By asandy1234
Thanks spacebar for the prompt reply, but I think...
Thanks spacebar for the prompt reply, but I think I didn't explain the requirement properly. The "YYYYMMDDHHMMSS" part of the Zip file name is kind a hard coded and we should use that value to rename...
9,656
Posted By asandy1234
Renaming all files inside a zipped file
Hi,
To all the Unix gurus this should be a simple task, but as a newbie I'm finding it hard to crack this. Any help is highly appreciated...

Scenario:

Step 1 : Move zip file from FTP folder to...
4,851
Posted By asandy1234
Hi radoulov, I've one final query,in the logic...
Hi radoulov,
I've one final query,in the logic to remove records whose count is more than 'n' based on column4 if I've to include one more column say column2 will the query change as count[$2,$4]++...
4,851
Posted By asandy1234
Again and again you are proving that you are a...
Again and again you are proving that you are a genius. I really appreciate your valueble contribution.

Thanks once again...
4,851
Posted By asandy1234
Hi radoulov, Will the above code work for this...
Hi radoulov,
Will the above code work for this example below to display SELECT as the output

132""

Thanks
4,851
Posted By asandy1234
Thank you so much radoulov you are such a...
Thank you so much radoulov you are such a genius...
4,851
Posted By asandy1234
Select only top "N" records based on column value
Hi Gurus,
I know this'll be simple task for all the geeks out here but me being a newbie is finding it hard to crack this shell.

Ok coming to the task I've a delimited file as below
...
15,528
Posted By asandy1234
I'm in Canada, so my time is GMT -7.00. We...
I'm in Canada, so my time is GMT -7.00. We decided to consider this a seperate project and assigned the task to our PERL developers and right now they are working on this.
Atleast for time being I...
15,528
Posted By asandy1234
Hi Frans, Ok let me explain the complexity of...
Hi Frans,
Ok let me explain the complexity of the process.
First of all SAS DI processes xml well, the issue here is all the xml doesn't have one XSD. There are more than 100 XSD's to process...
Showing results 1 to 25 of 37

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