Similar to question 1171663, AIX appears to not have the $HOSTNAME option available. $hname and $hostname are also non-existent. Other than doing the following within .profile -
export HOSTNAME=`hostname`
Is there an official manner where AIX users should be capable of getting the proper results when using:
PS1="${HOSTNAME}:\${PWD...
Hi,
I am using the follwing command and my intention is to extract only DYEDistinctAppServer.topology from
discovery1-full-8.1.0-07-10-2010_1055.jar at data/product/template-topologies/DYEDistinctAppServer.topology path.
Command:
jar -xf discovery1-full-8.1.0-07-10-2010_1055.jar -C data/product/template-topologies/DYEDistinctAppServ...
This is definitely going to be one of my more arcane questions, but I hope someone has had to deal with this pain.
I am porting some software to IBM AIX 5.3, using IBM VisualAge C++ 7.0 compiler. The source code depends on boost.asio for networking, and when I was building the code, I got an error from the source:
include/boost/asio...
Hi,
I want to clone a AIX LPAR and was wondering if the physical machine could be converted into a VM Image?
I have used the VMWare Converter to create a VM Image of a physical windows box and the documentation states that you can do that for Linux Boxes too.
http://www.vmware.com/products/converter/
I don't see information on AIX ...
Below program runs fine on solaris/linux various flavor, but not on AIX.
on AIX while(c!=EOF) if i replace by while(c!=0xff) it just run fine completely
Any thought ? i checked the man page of fgetc on aix, and it should return EOF constant !
#include <stdio.h>
#include<unistd.h>
#include <string.h>
int main() {
char c;
FI...
This is for AIX5.2, xlC compiler.
Lets imagine we have two static libraries:
A.a (contains funcA() function definition)
B.a (contains funcB() and funcC() functions)
Major thing is that funcB() in its body calls funcA() from A.a. But funcC() has independent code from A.a.
Needs to create a shared library, libX.so, which calls funcC() fro...
Creating a volume group using mkvg -y trialvg xyz works but
the same line represented like this mkvg -y $vg_name $dev_name in a shell script
causes the following problem :
bash-4.0# ./execute_AIX.sh
Creating VG trialvg with device xyz
Executing Command: mkvg -y trialvg xyz
0519-100 libodm: Cannot open the object class collection file.
...
I should create several packages of our application using make(on AIX).
Content of packages should be different depending on one environment variable.
Somethink like - if environment variable WITH_CPP set to "Y" then c++ part of application should be built and packed to installation package.
If environment variable WITH_CPP set to "N" th...
Hi
i am writing program where C will call Java static method using JNI.
Program works well on Solaris, Linux but on AIX it dumps the core
Analyzing the core is not giving any info unfortunately, crash is happend in below function.
any clue ? Anyone has successfully called this stuff on aix ? (i am using jdk 1.4)
res = JNI_CreateJava...