Search Results

Search: Posts Made By: maximus_jack
1,449
Posted By maximus_jack
Hi don, thanks for responding , i'm using aix...
Hi don,
thanks for responding , i'm using aix linux 2.6.16.60-0.99.1

if there is a way to use without the temp file i thought i could use that, i'm not using
this command in a script, its...
1,449
Posted By maximus_jack
Remove first value in a delimited file
Hi
I have two delimited files one with comma and other with new line
comma
1,2,3,4,5

I need to remove the first value of the file like below and only one line will there in the file
...
5,361
Posted By maximus_jack
thanks a lot don appreciated Cheers MJ
thanks a lot don
appreciated

Cheers
MJ
5,361
Posted By maximus_jack
this is the output i received when i change to...
this is the output i received when i change to printf '%s\n' "$var" | od -c


0000000 \n M A X \n - - - - - \n 1 2
0000020 \n \n R o w s ...
5,361
Posted By maximus_jack
var=$(nzodbcsql -q "select max(million_cnt) from...
var=$(nzodbcsql -q "select max(million_cnt) from IDM_DATALOAD_AUDIT where tablename = 'WI_PERSON'";)
echo $var
awk '{ print $3}' <<<"${var}"


output
------


MAX ----- 12 Rows Returned : 1...
5,361
Posted By maximus_jack
Hi thanks for your response, i have tried that,...
Hi
thanks for your response, i have tried that, it seems the query header, the underline and the data all seems to be considered as the first value, below is the script and the output
...
5,361
Posted By maximus_jack
i tried this command awk -F '{ print $3}'...
i tried this command
awk -F '{ print $3}' <<<"${var}"

but no luck on it, then i thought of using the cut command, but due to the
varying number of digits each time, that would be a problem,
...
5,361
Posted By maximus_jack
Extract only the data from ksh script running netezza query
Hi
I searched this forum before posting the question, but couldnt find it, the issue
i'm facing is, i'm trying to select a column from a netezza table from a korn
shell script, but the query runs...
6,746
Posted By maximus_jack
thanks a lot
thanks a lot
6,746
Posted By maximus_jack
Netezza query in UNIX script without headers
Hi
I'm trying run a netezza select query from a korn shell script, i'm getting the
data in the below format, is there any way to get only the data in a vairable,

Column_name...
4,273
Posted By maximus_jack
thanks rudic, i replaced /r with contorl M
thanks rudic, i replaced /r with contorl M
4,273
Posted By maximus_jack
sed Command not working in AIX UNIX
Hi

1st problem
--------------
i have this sed command in my unix script which replaces new line and carriage return in a line with the string "&#xA"
the script works fine in Linux ...
1,375
Posted By maximus_jack
Hi thanks for your response.. yes, the...
Hi
thanks for your response..

yes, the first step is working with your code..

for second step of splitting the file and renaming, i have modified the code like below

what i'm trying to do...
1,375
Posted By maximus_jack
awk inside shell and script aborting
Hi
I have a requirement where i need to convert the xml in various lines into a single line and then split the file so that the file contains only 1000 records each.

searching this forum, i found...
Showing results 1 to 14 of 14

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