Search Results

Search: Posts Made By: Chinky23
5,815
Posted By Chinky23
Reading last line of a CSV file
Hi
I have a file which I am reading line by line and processing it.
But the last line is not getting read in the file loop until I put an enter in the end.


#!/bin/ksh -p
v_org_id=${P1}...
4,057
Posted By Chinky23
My Code is Like this. where I am reading a...
My Code is Like this.

where I am reading a txt file line by line,processing the file by calling procedure
and writing the ouput in txt file.

How do i write the code to to make sure that each...
4,057
Posted By Chinky23
Padding space with each column
Hi

How do I a add space with each column .

Each column has fixed size
like 1 st column = 10
2nd column = 20

In each column data can be of variable length.So rest of the length should...
9,840
Posted By Chinky23
I wanted to write a code 1. which reads...
I wanted to write a code

1. which reads a.csv having 7 column seperated by delimeter

2. Modify the column 2,3,5 in the csv
To modify I need to call a pl/sql function which takes in the value...
9,840
Posted By Chinky23
Hi But in my function foo, I need to pass...
Hi

But in my function foo,
I need to pass the value of 2nd column of csv
and after modification it need to be saved in the same field that us 2nd column.
Also foo is a function not a procedure...
9,840
Posted By Chinky23
Calling Pl/sql function in shell script to modify csv
I need to
1.Open a csv
2.Process the csv i.e. Modify 2 column in the csv.
To modify the column the value needs to be passed to a pl/sql function and the return value should be updated
For eg:
If...
Showing results 1 to 6 of 6

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