Search Results

Search: Posts Made By: Neelkanth
4,921
Posted By Neelkanth
Hi, I am not aware of this utility. I can...
Hi,

I am not aware of this utility. I can only confirm after going back to office.

How can I check if I have it? Will it come up in man command.

Also how can i use it in my script.
4,921
Posted By Neelkanth
Below is the code i used in my script: #!...
Below is the code i used in my script:

#! /bin/sh
clear
db2 connect to rptprdd1 user ss154253 using ss154253


nohup db2 "CALL PTL.GET_CASE_DETAIL(?,?,?)" &
pid1=$!
nohup db2 "CALL...
4,921
Posted By Neelkanth
To verify locking part, I ran the procedures in...
To verify locking part, I ran the procedures in three seperate unix sessions. They ran perfectly. So it cant be locking.
You also mentioned frozen for interaction with user.
I also added nohup to...
4,921
Posted By Neelkanth
Hi Kshji, I tried this approach. Even...
Hi Kshji,

I tried this approach. Even though processes are created and i can see their PIDs. Still only one procedure is executing at a given time, the first one in sequence, followed by second...
4,921
Posted By Neelkanth
Hi, I cannot place .sql files and run them...
Hi,

I cannot place .sql files and run them in background. Below is my code
#! /bin/sh
. ~/.bash_profile
clear
db_user=$1
db_passwd=$2
db2 connect to RPTPRDD1 user $db_user using $db_passwd...
4,921
Posted By Neelkanth
Run multiple procedures from shell script parallely
Hi,
I need to write a Shell Script wherein i will connect to a DB2 Database and run multiple DB procedures. I know how to do in a way where procedures will be called one after the other, like when...
35,919
Posted By Neelkanth
How to list files in ascending order?
Hi,
I need to list files in ascending order. Filenames are in format inpTDT_1, inpTDT_2, inpTDT_3 and so on.
I want to list them in the ascending order based on the digit after underscore and send...
2,471
Posted By Neelkanth
Hi Bartus, The postion is coming as 18...
Hi Bartus,

The postion is coming as 18 because multiple spaces after 338 are getting truncated while posting on the forum.
2,471
Posted By Neelkanth
No the column is not fixed, only the position is...
No the column is not fixed, only the position is fixed.
2,471
Posted By Neelkanth
Splitting based on occurence of a Character at fixed position
I have a requirement where i need to split a file based on occurence of a character which is present at a fixed position. Description is as below:
1. The file will be more than 1 Lakh records.
2....
2,756
Posted By Neelkanth
Hi The files are very big with over 1.5 Lakh...
Hi
The files are very big with over 1.5 Lakh records. The matching patterns are of fixed length of 8 characters, which i have to read from a file.
For each line of that file, i will search in this...
2,756
Posted By Neelkanth
Split a fixed length file bases on last occurence of string
Hi,

I need to split a file based on last occurece of a string. PFB the explanation
I have a file in following format
aaaaaaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbb...
3,831
Posted By Neelkanth
Earlier I wasn't getting any error, just that...
Earlier I wasn't getting any error, just that splitted files were not getting created.

The command worked fine once i ran the command after going to the directory where the file is present. It is...
3,831
Posted By Neelkanth
How to pass filename as arguement to awk command?
Hi,
I am facing one issue. The awk command works fine if i hardcode the file name but if is pass it as an arguement it doesn't work. For e.g:Below commands works fine

awk -v A="$type"...
13,665
Posted By Neelkanth
Hi, I am facing one issue here. The command...
Hi,
I am facing one issue here. The command works fine if i hardcode the file name but if is pass it as an arguement it doesn't work. For e.g:Below commands works fine
awk -v A="$type"...
13,665
Posted By Neelkanth
superb.. thanks a lot..
superb..
thanks a lot..
13,665
Posted By Neelkanth
Splitting fixed length file using awk
Thanks Yoda. It is working fine.

Can you also tell me how can i append the file name with a parameter. Something like 0001_RL_$1.txt. $1 being passed as an arguement.

or else if $1 can be...
13,665
Posted By Neelkanth
Splitting fixed length file using awk
Hi,
I need to split a fixed length file of 160 characters based on value of a column. Example:

ABC 456780001 DGDG SDFSF
BCD 444440002 SSSS TTTTT
ABC 777750003 HHHH UUUUU
THH 888880001...
Showing results 1 to 18 of 18

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