Search Results

Search: Posts Made By: chamajid
2,261
Posted By chamajid
Hi Don/Peasant, Peasant, I did not have a...
Hi Don/Peasant,

Peasant, I did not have a clue on how to start, had a a mental block so could not do an attempt. I am searching for a script that does atleast some part of it but whenever i change...
2,261
Posted By chamajid
UNIX replacing and incrementing number
Hi

I am unix newbie looking for a unix bash script that can make it easier to do my code work. we have a code number for each code block that we want to incrementally assign. We have 10000 of...
1,492
Posted By chamajid
ok there is a parameter file which has...
ok

there is a parameter file which has values

A
B

so while reading parm file based on values execute script

for example,

if A, should execute a.sh script
if B,should execute b.sh...
1,492
Posted By chamajid
while read and exec based on values
hi

i need a ksh to read file and depending on value do something. can anyone help?


thanks
2,582
Posted By chamajid
Exactly what I needed!
Exactly what I needed

Thanks
2,582
Posted By chamajid
Moving files only by oldest file one at a time
Hi

I am want to create a script where the file gets moved from the current folder to a folder transfer based on the oldest first. This script should run one file at a time using a loop. I want it...
1,237
Posted By chamajid
Can you please explain what this script does?
I am trying to figure out what this script does. Can someone help?


delt_file=`diff /transfer/adx/tey_header.txt /transfer/adx/tey_header_yesterdy.txt`
if [[ $delt_file == "" ]] ; then
touch...
2,100
Posted By chamajid
Thanks!
Hi,

Can you explain what the command doing?

sed 's/;/ /g;s/^\(.[^ ]*\)\(.[^ ]*\)\(.[^ ]*\)/DELETE FROM FINDBT40.\1 where fiscper between \2 and \3/' file

edit by bakunin: the same as said...
2,100
Posted By chamajid
Not quite what I need.
Thanks for such a quick reply. What I am trying to do is put the parameter into the delete sql and run it. I am using the BTEQINF file to run the sql.

So my question is, how can I read the...
2,100
Posted By chamajid
Reading line by line from unix script
Hi

I am a complete newbie in unix. Learning the ropes. I have a task where I have to write a shell script to read a file line by line. I have tried some code from the net like.

The file data...
Showing results 1 to 10 of 10

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