Search Results

Search: Posts Made By: vsubbu1000
Forum: HP-UX 08-21-2007
7,959
Posted By vsubbu1000
SQL statement output to Log file-How?
Hi all,

I need to bring the message to log file.Teradat/Hp-Ux

script:
-----
### Update Log Table
bteq <<- EOC
.run file ${SRC_DATA}/logon.txt
.run file...
3,799
Posted By vsubbu1000
Great all, It works great.... ...
Great all,

It works great....

Thks...........
3,799
Posted By vsubbu1000
rowcnt except Header & Footer
Hi Gurus,

My requirement is, I am passing a file1.dat into this(rowcnt.sh) script,but returning a wrong value of -2.(it should be 4).Becoz my file1.dat contains 6records incl: Header &...
5,801
Posted By vsubbu1000
Hi Lorcan, I got it with small...
Hi Lorcan,

I got it with small changes.Header length is fixed always.Thanks.

thats:

#!/bin/ksh
InpFile=$1
OutFile="my_output.txt"
pattern=$(head -1 $1 | awk '{print substr($1,10,10)}');...
5,801
Posted By vsubbu1000
Hi Lorcan, Output comes as: ...
Hi Lorcan,

Output comes as:
-------------------
Header2007-12-012007-11-21|100|xyz|was
Header2007-12-012007-11-21|101|wsa|qws

but it should be:
--------------
2007-12-01|100|xyz|was...
5,801
Posted By vsubbu1000
Convert Header into Column in Text file
Hi Gurus,

I have a requirement like this and have to create a UX shell scripts. Thanks in advance.

File-in:
------
Header2007-12-012007-11-21
100|xyz|was
101|wsa|qws
......
.......
...
Showing results 1 to 6 of 6

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