Search Results

Search: Posts Made By: priyanka3006
1,479
Posted By priyanka3006
picking file from a particular URL and the processing
body { margin: 0 0 0 0; padding:0 0 0 0 }td,div { font-family:Courier New;font-size:10pt;vertical-align:top }body { margin: 0 0 0 0; padding:0 0 0 0 }.transcript { background-color:#d2d2d2;...
Forum: AIX 07-13-2010
2,139
Posted By priyanka3006
extract data from DB2 and FTP it outside ompany's firewall
The main function is to extract the data from DB2 tables and FTPed to outside the company's firewall directly.
pls find the attachment and help me out..i have only one day to do this
Forum: AIX 07-13-2010
9,555
Posted By priyanka3006
Extract data from DB2 tables and FTP it to outside company's firewall
Please help me in creating the script in AIX.
requirement is;
The new component's main function is to extract the data from DB2 tables and company's firewall directly.
The component function...
3,556
Posted By priyanka3006
now i am geting my output....thanx to all:b:
now i am geting my output....thanx to all:b:
3,556
Posted By priyanka3006
thanx a lot....its working ---------- Post...
thanx a lot....its working

---------- Post updated 08-05-09 at 01:22 AM ---------- Previous update was 08-04-09 at 09:15 AM ----------

actually again i am facing some problem

if am doing...
3,556
Posted By priyanka3006
i tried with echo "aa...
i tried with

echo "aa *&+|(0%124)-23456#$@!+= bb" | nawk '{gsub(/[^[:alnum:]]*/,"",$2); print $1 $2 $3}'


the expected output is 012423456
but the output that is coming is aabb

plz...
3,556
Posted By priyanka3006
its working... just to remove...
its working...

just to remove whitespaces...how to do that?

plz help

---------- Post updated at 08:32 AM ---------- Previous update was at 08:30 AM ----------

one more thing it is not...
3,556
Posted By priyanka3006
when i am running echo "aa (0124)-23456 bb" |...
when i am running
echo "aa (0124)-23456 bb" | awk '{printf("%s %s %s\n", $1,$2,$3)}'

it is giving the correct output
but if i am running

echo "aa (0124)-23456 bb" | awk '{gsub(/[()-]/,"",$2)...
Forum: Solaris 08-04-2009
6,753
Posted By priyanka3006
removing special characters, white spaces from a field in a file
what my code is doing, it is executing a sql file and the resullset of the query is getting stored in the text file in a fixed format. for that fixed format i have used the following code::


...
3,556
Posted By priyanka3006
hi i am getting these two errors awk:...
hi

i am getting these two errors

awk: syntax error near line 1
awk: illegal statement near line 1

---------- Post updated at 07:55 AM ---------- Previous update was at 07:53 AM ----------...
3,556
Posted By priyanka3006
this is not working..
this is not working..
3,556
Posted By priyanka3006
what my code is doing, it is executing a sql file...
what my code is doing, it is executing a sql file and the resullset of the query is getting stored in the text file in a fixed format. for that fixed format i have used the following code::


awk...
16,560
Posted By priyanka3006
actually this will work only if the...
actually this will work only if the nsdnet_file.csv is in the same directory as the shell script.

what if the nsdnet_file is one dir ahead of the shelll script

like if we execute like
...
3,556
Posted By priyanka3006
formatting the fields
hi i am using the following code in my shell script

awk -F":" '{printf("%-20.20s:%-20.20s:%-20.20s:%-20.20s:%-15.15s:%-3.3s:%-19.19s:%-2.2s:%-20.20s:%-15.15s:%-2.2s\n",...
16,560
Posted By priyanka3006
how to get fully qualified path name
hi
actually i want to get fully qualified path name of the file when the file name is entered as command line argument while running a shell script
ex. if i run the shell as $./test.sh...
1,418
Posted By priyanka3006
getting the data in some format
HI i am writing a shell script to generate some files having data in some format.
for this i am using
awk -F":" '{printf("%-20s:%-20s:%-20s:%-20s:%-15s:%-3s:%-19s:%-2s:%-20s:%-15s:%-2s\n",...
5,858
Posted By priyanka3006
but nsdnet_file.csv can be any directory. ...
but nsdnet_file.csv can be any directory.
suppose it is one directory back, then the commandline argument will be
../nsdnet_file.csv

but in such case java file is not being called..

plz...
5,858
Posted By priyanka3006
if [ "$1" = "" ]; then ## No parameters...
if [ "$1" = "" ];
then ## No parameters were entered
echo "Enter the fully qualified file name:"
read mInputValue
else
mInputValue=$1
echo "The file name entered was...
5,858
Posted By priyanka3006
how to read the relative path
suppose i ahve a shell script Nsdnet.sh inside a directory /dialp/Release/bin
another file nsdnet_file.csv is under the same directory. Now in the shell script i have call a java file, which reads...
2,030
Posted By priyanka3006
no its not geetting.. u try with $HOME instead...
no its not geetting..
u try with $HOME instead of $DIALPBIN
and what u are getting
2,030
Posted By priyanka3006
Actually there is a variable...
Actually there is a variable DIALPBIN=/dialp/Release/bin

i have a shell script test.sh
#!/bin/ksh

if [ "$1" = "" ];
then ## No parameters were entered
echo "Enter the fully...
2,030
Posted By priyanka3006
how to get value of value of a variable
hi
suppose we have a string str=hello
now suppose there is another variable str1=$str
now another variable str2.

how u will access 'hello' using str2?
1,799
Posted By priyanka3006
i expect 5 pipes in each row....... if any of...
i expect 5 pipes in each row.......
if any of the pipe is missing, then it should display the line number where it is missing
1,799
Posted By priyanka3006
To find the line no, where the particular pattern is not found
Hi,


suppose i have a txt file containing thye following data

2012156|sb3|nwknjps|BAYONNE|NJ|tcg
201221|094|mtnnjprc:HACKENSACK|NJ|tcg
201222|wn3|mtnnjtc|HACKENSACK|NJ|tcg...
6,530
Posted By priyanka3006
thanks i got it....:b:
thanks i got it....:b:
Showing results 1 to 25 of 38

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