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)
hey guys..
probably a simple question but i cant seem to find any info on it.
i have a small array of strings, and i want to concatenate the contents of the array into one big string.
any ideas on how i can do this?
cheers. (2 Replies)
HI
I need to concatenate two files which are having headers. the result file should contain only the header from first file only and the header in second file have to be skipped.
file1:
name age
sriram 23
file2
name age
prabu 25
result file should be
name age
sriram 23
prabu ... (6 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 All ,
i`m writing a script , i stucked in middle .
Script
echo "Please Enter the INSTANCE name"
read iName
echo "The INSTANCE name is $iName"
more /opt/IBMIHS*/conf/httpd.conf_"$iName"
script end
here i`m getting error as :
Error
/opt/IBMIHS*/conf/httpd.conf_w101:... (7 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)
Hi folks,
I am facing problem when I concat variables with the string.
Value for 'JDBC_CLASSES' variable looks malformed (/classes12.zip2.0KAGES)
But, my expected result for 'JDBC_CLASSES' is
/opt/API-R111/PACKAGES/jdbc/ORACLE9.2.0/classes12.zip
Am I missing anything here?
My... (10 Replies)
Hi,
I have file called "3rdparty.dat"
I want to concatenate current YYYYMMDD to it. Snd result should be like 3rdParty20111110.dat.
How can i do this?
Thanks in advance. (3 Replies)
Hello all
The following line :
df -h | awk '{print $5}'| head -2 |tail -1
gives me an output of '2.2G'
How can I remove the 'G' so that I can use the 2.2 for further calculations ? (8 Replies)
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 OPENSOLARIS
hba_setbindingsupport
HBA_GetBindingCapability(3HBAAPI) Common Fibre Channel HBA Information Library Functions HBA_GetBindingCapability(3HBAAPI)NAME
HBA_GetBindingCapability, HBA_GetBindingSupport, HBA_SetBindingSupport - return and sets binding capabilities on an HBA port
SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ]
#include <hbaapi.h>
HBA_HANDLE HBA_GetBindingCapability(HBA_HANDLE handle,
HBA_WWN hbaPortWWN, HBA_BIND_CAPABILITY *pFlags);
HBA_STATUS HBA_GetBindingSupport(HBA_HANDLE handle, HBA_WWN
hbaPortWWN, HBA_BIND_CAPABILITY *pFlags);
void HBA_SetBindingSupport(HBA_HANDLE handle, HBA_WWN hbaPortWWN,
HBA_BIND_CAPABILITY Flags);
PARAMETERS
handle an open handle returned from HBA_OpenAdapter(3HBAAPI)
hbaPortWWN the Port WWN of the local HBA through which the binding capabilities implemented by the HBA is returned
pFlags a pointer to an HBA_BIND_CAPABILITY structure that returns the persistent binding capabilites implemented by the HBA
Flags an HBA_BIND_CAPABILITY structure containing the persistent binding capabilites to enable for the HBA
DESCRIPTION
The HBA_GetBindingCapability() function returns the binding capabilities implemented by the HBA.
The HBA_GetBindingSupport() function returns the currently enabled binding capabilities for the HBA.
The HBA_SetBindingSupport() function sets the currently enabled binding capabilites for the HBA to a subset of the binding capabilities
implemented by the HBA.
RETURN VALUES
The HBA_GetBindingCapability() and HBA_GetBindingSupport() functions return the following values:
HBA_STATUS_OK
Persistent binding capabilites have been returned.
HBA_STATUS_ERROR_ILLEGAL_WWN
Port WWN hbaPortWWN is not a WWN contained by the HBA referenced by handle.
HBA_STATUS_ERROR_NOT_SUPPORTED
The HBA handle specified by handle does not support persistent binding.
HBA_STATUS_ERROR
An error occurred. The value of pFlags remains unchanged and points to the persistent binding capabilites.
The HBA_SetBindingSupport() function returns:
HBA_STATUS_OK
Persistent binding capabilites have been enabled.
HBA_STATUS_ERROR_ILLEGAL_WWN
Port WWN hbaPortWWN is not a WWN contained by the HBA referenced by handle.
HBA_STATUS_ERROR_NOT_SUPPORTED
The HBA handle specified by handle does not support persistent binding.
HBA_STATUS_ERROR_INCAPABLE
The flags argument contains a capability not implemented by the HBA.
HBA_STATUS_ERROR
An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-------------------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-------------------------------------+
|Interface Stability |Standard: FC-MI 1.92 (API version 1) |
+-----------------------------+-------------------------------------+
| |Standard: FC-HBA Version 4 (API ver- |
| |sion 2) |
+-----------------------------+-------------------------------------+
|MT-Level |Safe |
+-----------------------------+-------------------------------------+
SEE ALSO libhbaapi(3LIB), attributes(5)
T11 FC-MI Specification
SunOS 5.11 1 Sep 2003 HBA_GetBindingCapability(3HBAAPI)