Search Results

Search: Posts Made By: saps19
1,140
Posted By saps19
Hi Neo, I have not started the code...
Hi Neo,

I have not started the code development yet, but I have something in mind

- To get an average or median then add some number to decide MAX and MIN range
- Then check today's...
1,140
Posted By saps19
Hi Neo, Apologies... Let me try to answer...
Hi Neo,

Apologies... Let me try to answer your queries:



It is an existing system. Current high level architecture:

Source system (Reuters, Bloomberg etc) ---> provide transaction details...
1,140
Posted By saps19
Transaction volume as in Bank Transaction Volume...
Transaction volume as in Bank Transaction Volume ( currency/cash/wire transactions by individuals [you, me, others :)]).

So each day, Source System delivers these transaction.
So I want to see if...
1,140
Posted By saps19
Needed some idea about transaction volume check on daily basis
Hi All,

Good morning. :)

I need some idea about transaction volume check on daily basis.
Though I have some basic idea like:


> Check mean value for 3 months of historical data and then...
19,849
Posted By saps19
Hi Neo, As requested :) I tried, there...
Hi Neo,

As requested :)

I tried, there is a error:

import os
sys=os.sys
sys.path("/path/to/config")
from test_properties import *
params=paramsOriginal
print(params)

Error:...
19,849
Posted By saps19
Hi Wisecracker, Thank you, this is worked...
Hi Wisecracker,

Thank you, this is worked and I can live with this :) .
import os
sys=os.sys
sys.path.append("/path/to/config")
from test_properties import *
params=paramsOriginal...
19,849
Posted By saps19
Hi Neo, Wisecracker; I have tried this. Full...
Hi Neo, Wisecracker;

I have tried this. Full path is not working.

import os, sys
#from ../config/test_properties import *
#sys.path.append(os.path.dirname(os.path.realpath(__file__)) +...
19,849
Posted By saps19
Yeah, no permission issue. Just I'm unable to...
Yeah, no permission issue. Just I'm unable to refer the config file if I moved it from the script DIR to any other DIR.

Actually I'm planning to have a "standard folder" structure for production....
19,849
Posted By saps19
Sure Neo. The o/p as below: Old setup: ...
Sure Neo. The o/p as below:

Old setup:
-rw-r----- 1 dev_user1 dev_staff 76 Nov 15 09:09 test.py
-rw-r----- 1 dev_user1 dev_staff 2382 Nov 15 09:11 test_properties.py
-rw-r----- 1 dev_user1...
19,849
Posted By saps19
Python: Refer a properties file from different location
Hi All,
I'm having a python script: test.py in /path/to/script/test.py
I'm using a properties file: test_properties.py (it is having values as dictionary{}) which is in same DIR as the script.
...
9,381
Posted By saps19
[Deleted]. Let me try as RudiC suggested. ...
[Deleted]. Let me try as RudiC suggested.

--- Post updated at 07:32 AM ---

Thank you RudiC, it worked like a charm. :)

This thread can be closed now.


Cheers,
Saptarshi.
9,381
Posted By saps19
Running shell script with parameter in GCP
Hello Experts,

Good day all.

Issue details:
I have one sample script resides at Google Cloud storage (gs://URL) ( test.sh ) and it is having simple calculation script with two parameter...
1,858
Posted By saps19
Hi Don, Please find the below info as...
Hi Don,

Please find the below info as requested:

Sh version:
$ sh --version
GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
Ksh version:

$ ksh --version
version ...
1,858
Posted By saps19
Thank you rbattle1, make sense and corrected the...
Thank you rbattle1, make sense and corrected the script(though earlier it was running fine (:confused:), don't know how).

Currently I'm trying to get the command I'm running using below sample...
1,858
Posted By saps19
Help needed on restart-from-point-of-failure in Parallel Processing
Hi Gurus,
Good morning... :)
OS Info:
Linux 2.6.32-431.17.1.el6.x86_64 #1 SMP Fri Apr 11 17:27:00 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

I have a script which takes multiples parameters from...
1,115
Posted By saps19
Thank you @RudiC, It's worked like a charm.
Thank you @RudiC, It's worked like a charm.
1,115
Posted By saps19
Help with awk and particular named column print
Hi Unix Gurus,

I have some 145+ xml in some folder and I want just loadOperation to be printed. Sample o/p:
file1.xml loadOperation="InsertOrUpdate">
file2.xml loadOperation="Update">
...
Forum: Programming 05-04-2016
4,334
Posted By saps19
I use C: D (Connect: Direct / NDM). If your...
I use C: D (Connect: Direct / NDM). If your organisation has NDM, then it'll be piece of cake.
808
Posted By saps19
use test operator. man test -s file ...
use test operator.
man test
-s file True if file exists and has a
size greater than zero.



if [ ! -s...
10,981
Posted By saps19
Yes It's Autosys (CA is the owner). To...
Yes It's Autosys (CA is the owner).

To modify/update/insert JIL, use command --> jil
Jil supports below commands:
update_job --> to update job
e.g. update_job: Job_nm

insert_job --> to...
901
Posted By saps19
Please try to execute the script in debug mode...
Please try to execute the script in debug mode and share the o/p.

sh -x <script_nm.sh>

...and RudiC is correct.
5,663
Posted By saps19
Required help on a Generic File-watcher script
Hi All,

Good morning...

I have prepared a shell script which will monitor files in a certain folder and if available, SCP it to a destination path.

Now the challenge I'm facing is my script...
2,279
Posted By saps19
If I understand correctly, I think you want to...
If I understand correctly, I think you want to store the output in a variable.

Use like below:
vSQLResult=`sqlplus -s DBUID/DBPASS@SCHEMA <<EOF
set pages 0
set head off
set feed off
<<Your DB...
1,450
Posted By saps19
Try these below and do more R&D with your current...
Try these below and do more R&D with your current work:

to check empty dir:

if find /path/to/some/dir -maxdepth 0 -empty | read v; then echo "Empty dir"; fi

OR check: This in UNIX(dot)com...
5,893
Posted By saps19
These queries should help you... select...
These queries should help you...

select owner, table_name from all_tables;
select table_name from user_tables;

Use where clauses, store the result in variable. take table as user input and...
Showing results 1 to 25 of 82

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