FILE_DATE=$(date +"%Y%m%d_%H%M")_
FILE_PREFIX=${FILE_DATE}
echo $FILE_PREFIX
JS_LOG_DIR="E:\DecisionStream Jobs\Invoice Balance Fact Jobs"
echo $JS_LOG_DIR
--This is where the problem surfaces. The last line of this script does a rsh to an NT machine and one of the parameters is the... (2 Replies)
Hi, I'm quite new at unix and was wondering if anyone could help me with this.
I have 2 arrays:
eg. STAT=online, STAT=offline, STAT=online
WWN=xxxx1, WWN=xxxx2, WWN=xxxx3
I got these information from a script using fcinfo hba-port that runs through a loop.
Now, I want to store... (2 Replies)
Hi all,
I'm trying to do a very simple script, as you can see as follow:
#!/bin/bash
#Valorizzazione Token presenti nel file di properties
var_path_weblogic="`cat weblogic.properties | grep "dir_wl" | /usr/xpg4/bin/awk '{print $3}'`"
var_ip_address="`cat... (5 Replies)
Hi
This is a simple one but I got a lost in translation when doing.
What I want to do, given both variables in the example below, to get one value at the time from both variables, for example:
1:a
2:b
etc...
I need to get this in bash scripting
code:
varas="1 2 3 4"
varbs="a b c d"... (4 Replies)
I have a peculiar file with record format like given below. Each line is wrapped to next lines after certain number of characters. I want to concatenate all wrapped lines into 1.
Input:(wrapped after 10 columns)
This is li
ne1
This is li
ne2 and
this line
is too lo
ng
Shortline
... (8 Replies)
hi,
i have a shell script which calls another shell which in turn calls another shell script.
Main_shell_script.sh
echo "In Main_shell_script.sh"
FILENAME="original.txt" # LINE 1
DST_FILENAME=$FILENAME # LINE 2
echo "FILENAME = {$FILENAME}"
echo "DST_FILENAME =... (3 Replies)
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Hi All,
I am having a situation where am capturing results in two variables from an xml file. However, I am looking to print those two variables with pipe in between them and these variable are multi-line.
This is how my 1st variable looks like:
20181225010
20190224010
20190224010... (8 Replies)
Discussion started by: svks1985
8 Replies
LEARN ABOUT SUNOS
get
asadmin-get(1AS) User Commands asadmin-get(1AS)NAME
asadmin-get, get - gets the values of the monitorable or configurable attributes
SYNOPSIS
get --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename] [--terse=false]
[--echo=false] [--interactive=true] [--monitor=false] dotted_attribute_name
Gets the values of attributes. If the --monitor option is set to true, the monitorable attributes are returned. If the --monitor option is
set to false, the configurable attribute values are returned. On Solaris, quotes are needed when executing commands with * as the option
value or operand.
OPTIONS --user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--monitor defaults to false; if set to false, the configurable attribute values are returned. If set to true, the monitorable
attribute values are returned.
OPERANDS
attributename attribute name in the dotted notation.
Example 1: Using get
asadmin> get --user admin --password adminadmin --host localhost --port 4848
"server.resources.jdbc-resource.jdbc/PointBase.*"
server.resources.jdbc-resource.jdbc/PointBase.description=<null>
server.resources.jdbc-resource.jdbc/PointBase.enabled=true
server.resources.jdbc-resource.jdbc/PointBase.jndi-name=jdbc/PointBase
server.resources.jdbc-resource.jdbc/PointBase.object-type=user
server.resources.jdbc-resource.jdbc/PointBase.pool-name=PointBasePool
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-set(1AS), asadmin-list(1AS)J2EE 1.4 SDK March 2004 asadmin-get(1AS)