Search Results

Search: Posts Made By: atagore
5,096
Posted By atagore
Korn shell
Korn shell
44,160
Posted By atagore
#!/bin/ksh # # Oracle and UNIX # ...
#!/bin/ksh
#
# Oracle and UNIX
#
uid="userid"
pwd="password"
dbms="remote.com"
parm=" 'A1234' "

list=`sqlplus -s <<EOF
$uid/$pwd
set heading off
set pagesize 0
set tab off
SELECT...
4,016
Posted By atagore
Do it all in PL/SQL UTL_FILE.FOPEN() LOOP ...
Do it all in PL/SQL

UTL_FILE.FOPEN()
LOOP

EXIT WHEN End of file

UTL_FILE.GET_LINE()
Perform update using TradeNo

END LOOP
UTL_FLE.FCLOSE()
5
5,108
Posted By atagore
Thank you everyone for your suggestions. I...
Thank you everyone for your suggestions.

I am on SUN-OS box
I do not have the GNU grep
I do not have the cgrep
I can utilize the other suggestions...

Thanks once more...

A Tagore
5,096
Posted By atagore
Also try: :e# to edit alternate file and...
Also try:

:e# to edit alternate file
and then
:e! to return to current file at time of last write

Then there is
:e file2 to edit file2 without leaving vi
18,046
Posted By atagore
Hmmmm
Howz bouts thiz
(1) Write a SQL script to spool data to a file
(2) Write UNIX script to invoke SQL script

Example:
(1)
/*
This is SQL script named: get_emp.sql
*/
spool ascii.txt...
5
5,108
Posted By atagore
Grep
When searching for "text" in a file,
I would like to see the line containing "text"
and the line preceeding
and the line after
So I would like a 3 line output for each line matched by grep
Is...
Showing results 1 to 7 of 7

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