10-09-2008
Try this
lslpp -l |grep -i xlc
$lslpp -l |grep -i xlc
xlC.adt.include 8.0.0.0 COMMITTED C Set ++ Application
xlC.aix50.rte 9.0.0.1 COMMITTED XL C/C++ Runtime for AIX 5.2
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 9.0.0.1 COMMITTED XL C/C++ Runtime
xlC.rte 9.0.0.1 COMMITTED XL C/C++ Runtime
$which cc
/usr/vac/bin/cc
If you type in :
$cc -version
exec: export(export,XL_CONFIG=/etc/vac.cfg:cc,NULL)
exec: /usr/bin/pg(/usr/bin/pg,/usr/lib/nls/msg/en_US/vac.txt,NULL)
xlc(1) IBM (October 2005) xlc(1)
NAME
xlc, cc, c89, c99 and related commands - invoke the IBM XL
C compiler
SYNTAX
<invocation-command> [ <option> | <inputfile> ] ...
The invocation commands are:
xlc, cc, c89, c99, xlc128, cc128, c89_128, c99_128,
optionally followed by _r, _r4, or _r7.
DESCRIPTION
xlc and related commands compile C source files. They
also process assembler source files and object files. The
compiler calls the link editor to produce a single
executable or shared library, unless you specify the
This is a partial listing.. but you should see the full listing if you have c installed.
10 More Discussions You Might Find Interesting
1. Programming
when i compile with Xlc i sometimes get the following Error:
(S) Initialization between types "int" and "struct MskTtimerData*" is not allowed.
when i compile with cc with the same Flags, i only get a (W) with the same message, but it compiles fine.
How can i get the Xlc to 'ignore' the... (3 Replies)
Discussion started by: Lazzar
3 Replies
2. AIX
Please tell me how to install AIX 5.3 on P5 520 server via Console.
Please mail me at sunnyanthony@gmail.com
please CEO us standing....
sunny (0 Replies)
Discussion started by: sunnyanthony
0 Replies
3. AIX
Hi guys,
I need to compile sap libraries, installed make, automake, gcc, libstc libgcc and everything I used to install on linux when compiling
when i run make, it aborts with the error msg
/usr/bin/sh: xlc: not found.
I see the binary xlc is missing
lslpp -l | grep -i xlc
... (3 Replies)
Discussion started by: funksen
3 Replies
4. AIX
Hello all,
One of the application we port to Aix from linux Segmentation faults when it exits. Here is part of backtrace of SEGV:
(dbx) where
splay(??, ??, ??) at
free_y(??, ??) at
free_common(??) at
....
exit(??) at
...
Application seem to perform everything expected well and... (1 Reply)
Discussion started by: qrio.qrio
1 Replies
5. AIX
Hi,
anybody knows how to configure and install jboss on aix.
Regards,
Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies
6. AIX
Hi Team
I have a native applicaiton built on AIX using the xLC v8
Which could be the possible impacts from a code change point of view if I'll compile with the xLC v10?
Thanks
Marco (0 Replies)
Discussion started by: antcos
0 Replies
7. AIX
Problem
when compiling c-source with xlc it will generate some other files .lst .call. This kind of files is generated on the current directory.
Question
Can I influence the directory where the .lst and .call is generated.
What i want is a dir stucture like this:
project
|---c-source... (0 Replies)
Discussion started by: corley
0 Replies
8. UNIX for Advanced & Expert Users
Who can explain in a few words the difference between XLC for AIX and XLC enterprise Edition for AIX (0 Replies)
Discussion started by: fvaltat1
0 Replies
9. AIX
Hello,
We are migrating some applications from previously running on an AIX system to a Linux RedHat system.
I was tasked with recompiling some of the code. Unfortunatly I am a big novice on this.
So i have the commands used to compile the code with xlc compiler in the AIX environment and i am... (0 Replies)
Discussion started by: spooksman
0 Replies
10. AIX
Hello,
I am trying to update Samba on my AIX 7.1 system as there is an issues with it, the smbd process coredumps and I have had no luck figuring it out why.
My approach is to try to re-install a newer samba and I have found the latest 3.x package for samba in ppc.rpm format at perlz.org
... (6 Replies)
Discussion started by: c3rb3rus
6 Replies
LEARN ABOUT SUSE
set_transaction
SET
TRANSACTION(7) SQL Commands SET TRANSACTION(7)
NAME
SET TRANSACTION - set the characteristics of the current transaction
SYNOPSIS
SET TRANSACTION transaction_mode [, ...]
SET SESSION CHARACTERISTICS AS TRANSACTION transaction_mode [, ...]
where transaction_mode is one of:
ISOLATION LEVEL { SERIALIZABLE | REPEATABLE READ | READ COMMITTED | READ UNCOMMITTED }
READ WRITE | READ ONLY
DESCRIPTION
The SET TRANSACTION command sets the characteristics of the current transaction. It has no effect on any subsequent transactions. SET SES-
SION CHARACTERISTICS sets the default transaction characteristics for subsequent transactions of a session. These defaults can be overrid-
den by SET TRANSACTION for an individual transaction.
The available transaction characteristics are the transaction isolation level and the transaction access mode (read/write or read-only).
The isolation level of a transaction determines what data the transaction can see when other transactions are running concurrently:
READ COMMITTED
A statement can only see rows committed before it began. This is the default.
SERIALIZABLE
All statements of the current transaction can only see rows committed before the first query or data-modification statement was exe-
cuted in this transaction.
The SQL standard defines two additional levels, READ UNCOMMITTED and REPEATABLE READ. In PostgreSQL READ UNCOMMITTED is treated as READ
COMMITTED, while REPEATABLE READ is treated as SERIALIZABLE.
The transaction isolation level cannot be changed after the first query or data-modification statement (SELECT, INSERT, DELETE, UPDATE,
FETCH, or COPY) of a transaction has been executed. See in the documentation for more information about transaction isolation and concur-
rency control.
The transaction access mode determines whether the transaction is read/write or read-only. Read/write is the default. When a transaction is
read-only, the following SQL commands are disallowed: INSERT, UPDATE, DELETE, and COPY FROM if the table they would write to is not a tem-
porary table; all CREATE, ALTER, and DROP commands; COMMENT, GRANT, REVOKE, TRUNCATE; and EXPLAIN ANALYZE and EXECUTE if the command they
would execute is among those listed. This is a high-level notion of read-only that does not prevent all writes to disk.
NOTES
If SET TRANSACTION is executed without a prior START TRANSACTION or BEGIN, it will appear to have no effect, since the transaction will
immediately end.
It is possible to dispense with SET TRANSACTION by instead specifying the desired transaction_modes in BEGIN or START TRANSACTION.
The session default transaction modes can also be set by setting the configuration parameters default_transaction_isolation and
default_transaction_read_only. (In fact SET SESSION CHARACTERISTICS is just a verbose equivalent for setting these variables with SET.)
This means the defaults can be set in the configuration file, via ALTER DATABASE, etc. Consult in the documentation for more information.
COMPATIBILITY
Both commands are defined in the SQL standard. SERIALIZABLE is the default transaction isolation level in the standard. In PostgreSQL the
default is ordinarily READ COMMITTED, but you can change it as mentioned above. Because of lack of predicate locking, the SERIALIZABLE
level is not truly serializable. See in the documentation for details.
In the SQL standard, there is one other transaction characteristic that can be set with these commands: the size of the diagnostics area.
This concept is specific to embedded SQL, and therefore is not implemented in the PostgreSQL server.
The SQL standard requires commas between successive transaction_modes, but for historical reasons PostgreSQL allows the commas to be omit-
ted.
SQL - Language Statements 2010-05-14 SET TRANSACTION(7)