Search Results

Search: Posts Made By: sharifhere
5,833
Posted By sharifhere
Thanks for ur reply. I tried transferring in...
Thanks for ur reply. I tried transferring in binry still the same problem occured. Junk characters replaced the packed fields in the destinaiton file.

Source Machine : Unix (Solaris 9.0)...
5,833
Posted By sharifhere
COMP-3 File transmission
Guys,

i need to transfer a file which contains both display and comp-3 fields from unix to mainframe. Cyberfusion , FTP doesn't work since they treat display and comp-3 fields same.

Any...
9,358
Posted By sharifhere
same kind of problem
I have the same kind of problem as stated by bourne. Can someone pls look into this??
shell
awk 'BEGIN{sum=0;}
{sum=sum+(99999.99);
print sum;
}' filed

Output
100000
200000
300000
400000...
8,291
Posted By sharifhere
Sorry guys, i had to use only ksh .. any other...
Sorry guys, i had to use only ksh .. any other possible ways..

Thanks,
Sharif.S
8,291
Posted By sharifhere
THanks for ur reply. Part of the...
THanks for ur reply.


Part of the script was only posted there..

the real problem is when array element exceeds 4095 range.. script fails..
eg:
cat inputfile| while read param
do
...
8,291
Posted By sharifhere
Subscipt out of range - Error (ksh)
Folks,

I have peculiar kind of error. my script goes like

cat inputfile> while read param
do
Array[$i]=$param
y=`expr $y + 1`
done

When...
22,407
Posted By sharifhere
Thx For ur Advice
Mr/Miss Motor,


Thanks a lot for wasting your valuable time.


Sharif.S
7
40,075
Posted By sharifhere
Mtime
mtime adds criteria:

the file's data was modified n days ago

in ur case find displays fles modified a day ago.
Thanks!
Sharif.S
22,407
Posted By sharifhere
ya tats ok.
ya tats ok.
22,407
Posted By sharifhere
Find Command
Try This:

/home:>find . -type f \( -name "*.xls" -o -name "*.csv" -o -name "*.xyz" \) -print
./a.xls
./b.csv
./y.xyz
/home:>

Thanks!
Sharif.S
23,596
Posted By sharifhere
Cut Command
Cut :

Purpose : STrips/Cuts the required part from the passed input text
Usage:
cut -d "<value> -f <value> or -c <value>

-d = Delimiter
Seperator using wich u...
23,596
Posted By sharifhere
Fiel Extension
Hi Maha,

Prob this shud help u.

/scripts/scr-bk-04-dec:>var=temp.cts
/scripts/scr-bk-04-dec:>echo $var | cut -d "." -f2
cts
/scripts/scr-bk-04-dec:>

Thanks,
Sharif.S
2,825
Posted By sharifhere
Certifications in Unix?
Guys,


I just want information abt certifications available for unix. If they exist can anyone give some info them. Making clear I am pointing to developer level exams, not admin side.
...
1,730
Posted By sharifhere
Just a quik method.
Just press ctrl-l while typing the script in vi
1,730
Posted By sharifhere
Give literal ^L (ctrl-L not ^ L) instead of \n
Give literal ^L (ctrl-L not ^ L) instead of \n
19,594
Posted By sharifhere
SQL-> Variable
$Test_Var=
`sqlplus -s $USERNAME/$PASSWD@$DATABASE <<START
set echo off;
set head off;
select 10 from dual;
exit;
START | tr -d " " `

Output
$echo $Test_Var
10
$
Showing results 1 to 16 of 16

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