473,847 Members | 1,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to update sqlj routine source in catalogs ?

Hi,

The dev center calls sqlj.DB2_UPDATE JARINFO
('JMARC.JMB','J MB','file:JMB.s qlj') to update the sqlj routine source.

I tried in CLP from the directory containing jar and sqlj files (Windows 8.2
FP9):

db2 connect to sample
db2 call sqlj.DB2_UPDATE JARINFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0444N Routine "SQLJ.DB2_UPDAT EJARINFO" (specific name "") is
implemented with
code in library or path "", function "" which cannot be accessed. Reason
code: "". SQLSTATE=42724

db2 call sqlj.UPDATEJARI NFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0804N The application program parameters for the current request are
not
valid. Reason code "109". If a host variable or SQLVAR in the SQLDA is
invalid then: host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "",
host variable/SQLVAR type = "". SQLSTATE=07002

Basically, I have lost half a day trying to get rid of the deployment tool
and do scripting ... and I'm again fighting against the lack of
documentation in this area.
All I have found on googles is related to OS/390 and this is very non
explicit in terms of SQL codes !!!

:-((((((((((((((( (((

Regards,

JM
Nov 12 '05 #1
7 2365
Did you try qualifying the path to the file?

Jean-Marc Blaise wrote:
Hi,

The dev center calls sqlj.DB2_UPDATE JARINFO
('JMARC.JMB','J MB','file:JMB.s qlj') to update the sqlj routine source.

I tried in CLP from the directory containing jar and sqlj files (Windows 8.2
FP9):

db2 connect to sample
db2 call sqlj.DB2_UPDATE JARINFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0444N Routine "SQLJ.DB2_UPDAT EJARINFO" (specific name "") is
implemented with
code in library or path "", function "" which cannot be accessed. Reason
code: "". SQLSTATE=42724

db2 call sqlj.UPDATEJARI NFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0804N The application program parameters for the current request are
not
valid. Reason code "109". If a host variable or SQLVAR in the SQLDA is
invalid then: host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "",
host variable/SQLVAR type = "". SQLSTATE=07002

Basically, I have lost half a day trying to get rid of the deployment tool
and do scripting ... and I'm again fighting against the lack of
documentation in this area.
All I have found on googles is related to OS/390 and this is very non
explicit in terms of SQL codes !!!

:-((((((((((((((( (((

Regards,

JM

Nov 12 '05 #2
Hi Sean, yes I did:

H:\jmarc\testDB 2\sqlj>db2 call sqlj.UPDATEJARI NFO
('JMARC.JMB','J MB','file:///h:
\jmarc\testDB2\ sqlj\JMB.sqlj')
SQL0804N The application program parameters for the current request are not
valid. Reason code "109". If a host variable or SQLVAR in the SQLDA is
invalid then: host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "",
host variable/SQLVAR type = "". SQLSTATE=07002

H:\jmarc\testDB 2\sqlj>db2 call sqlj.DB2_UPDATE JARINFO
('JMARC.JMB','J MB','file:/
//h:\jmarc\testDB 2\sqlj\JMB.sqlj ')
SQL0444N Routine "SQLJ.DB2_UPDAT EJARINFO" (specific name "") is implemented
with code in library or path "", function "" which cannot be accessed.
Reason
code: "". SQLSTATE=42724

I don't understand why the later gives a SQL0444N ... it should work isn't
it ?

Regards,

Jean-Marc

"Sean McKeough" <mc******@nospa m.ibm.com> a écrit dans le message de
news:42******** @news3.prserv.n et...
Did you try qualifying the path to the file?

Jean-Marc Blaise wrote:
Hi,

The dev center calls sqlj.DB2_UPDATE JARINFO
('JMARC.JMB','J MB','file:JMB.s qlj') to update the sqlj routine source.

I tried in CLP from the directory containing jar and sqlj files (Windows 8.2 FP9):

db2 connect to sample
db2 call sqlj.DB2_UPDATE JARINFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0444N Routine "SQLJ.DB2_UPDAT EJARINFO" (specific name "") is
implemented with
code in library or path "", function "" which cannot be accessed. Reason code: "". SQLSTATE=42724

db2 call sqlj.UPDATEJARI NFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0804N The application program parameters for the current request are not
valid. Reason code "109". If a host variable or SQLVAR in the SQLDA is
invalid then: host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "", host variable/SQLVAR type = "". SQLSTATE=07002

Basically, I have lost half a day trying to get rid of the deployment tool and do scripting ... and I'm again fighting against the lack of
documentation in this area.
All I have found on googles is related to OS/390 and this is very non
explicit in terms of SQL codes !!!

:-((((((((((((((( (((

Regards,

JM

Nov 12 '05 #3
These two things are slightly different versions of each other...I'm
following up with the developer that wrote the DB2_ version of this
recently...will let you know what I hear.

Jean-Marc Blaise wrote:
Hi Sean, yes I did:

H:\jmarc\testDB 2\sqlj>db2 call sqlj.UPDATEJARI NFO
('JMARC.JMB','J MB','file:///h:
\jmarc\testDB2\ sqlj\JMB.sqlj')
SQL0804N The application program parameters for the current request are not
valid. Reason code "109". If a host variable or SQLVAR in the SQLDA is
invalid then: host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "",
host variable/SQLVAR type = "". SQLSTATE=07002

H:\jmarc\testDB 2\sqlj>db2 call sqlj.DB2_UPDATE JARINFO
('JMARC.JMB','J MB','file:/
//h:\jmarc\testDB 2\sqlj\JMB.sqlj ')
SQL0444N Routine "SQLJ.DB2_UPDAT EJARINFO" (specific name "") is implemented
with code in library or path "", function "" which cannot be accessed.
Reason
code: "". SQLSTATE=42724

I don't understand why the later gives a SQL0444N ... it should work isn't
it ?

Regards,

Jean-Marc

"Sean McKeough" <mc******@nospa m.ibm.com> a écrit dans le message de
news:42******** @news3.prserv.n et...
Did you try qualifying the path to the file?

Jean-Marc Blaise wrote:
Hi,

The dev center calls sqlj.DB2_UPDATE JARINFO
('JMARC.JMB' ,'JMB','file:JM B.sqlj') to update the sqlj routine source.

I tried in CLP from the directory containing jar and sqlj files (Windows
8.2
FP9):

db2 connect to sample
db2 call sqlj.DB2_UPDATE JARINFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0444N Routine "SQLJ.DB2_UPDAT EJARINFO" (specific name "") is
implemente d with
code in library or path "", function "" which cannot be accessed.
Reason
code: "". SQLSTATE=42724

db2 call sqlj.UPDATEJARI NFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0804N The application program parameters for the current request
are
not
valid. Reason code "109". If a host variable or SQLVAR in the SQLDA is
invalid then: host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN =
"",
host variable/SQLVAR type = "". SQLSTATE=07002

Basically, I have lost half a day trying to get rid of the deployment
tool
and do scripting ... and I'm again fighting against the lack of
documentatio n in this area.
All I have found on googles is related to OS/390 and this is very non
explicit in terms of SQL codes !!!

:-((((((((((((((( (((

Regards,

JM


Nov 12 '05 #4
I'm going to start by saying that noone should be using those functions
outside of the development center. Those functions are implemented
specifically for their use (with the debugger), and DB2 does not support
their use outside of their intended use within the development center.
Customers should not use this function directly because they will not be
supported.

With that said, SQLJ.UPDATEJARI NFO is functionality that is built into
the JDBC driver. The CALL is intercepted and interpreted into an API
call, and the specified file is read into a BLOB parameter before
sending it over to the server. This functionality is not implemented in
the CLP because it is not intended for use from the CLP.

SQLJ.DB2_UPDATE JARINFO is an actual cataloged procedure that directly
takes a BLOB as a parameter, and then calls the API inside the
procedure's body. That is, you must pass a BLOB directly into the
procedure call -- specifying a filename will pass the string value in as
a VARCHAR, as it doesn't know you're trying to pass in a BLOB. It's not
actually possible to open a file as a BLOB in CLP. From a JAVA
application, it would look something like this:

stmt = conn.prepareCal l("CALL SQLJ.DB2_UPDATE JARINFO(?, ?, ?)");
stmt.setString( 1, jar_id);
stmt.setString( 2, className);
fileStream = new FileInputStream (classFilename) ;
stmt.setBinaryS tream(3, fileStream, fileStream.avai lable());
stmt.execute();

Again, I reiterate, these functions are not supported outside of the
development center environment.
Hi,

The dev center calls sqlj.DB2_UPDATE JARINFO
('JMARC.JMB','J MB','file:JMB.s qlj') to update the sqlj routine source.

I tried in CLP from the directory containing jar and sqlj files (Windows 8.2
FP9):

db2 connect to sample
db2 call sqlj.DB2_UPDATE JARINFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0444N Routine "SQLJ.DB2_UPDAT EJARINFO" (specific name "") is
implemented with
code in library or path "", function "" which cannot be accessed. Reason
code: "". SQLSTATE=42724

db2 call sqlj.UPDATEJARI NFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0804N The application program parameters for the current request are
not
valid. Reason code "109". If a host variable or SQLVAR in the SQLDA is
invalid then: host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "",
host variable/SQLVAR type = "". SQLSTATE=07002

Basically, I have lost half a day trying to get rid of the deployment tool
and do scripting ... and I'm again fighting against the lack of
documentation in this area.
All I have found on googles is related to OS/390 and this is very non
explicit in terms of SQL codes !!!

:-((((((((((((((( (((

Regards,

JM

Nov 12 '05 #5
Thanks a lot for your detailed explanations.

Jean-Marc

"amurchis" <am******@ca.ib m.com> a écrit dans le message de
news:42******** @news3.prserv.n et...
I'm going to start by saying that noone should be using those functions
outside of the development center. Those functions are implemented
specifically for their use (with the debugger), and DB2 does not support
their use outside of their intended use within the development center.
Customers should not use this function directly because they will not be
supported.

With that said, SQLJ.UPDATEJARI NFO is functionality that is built into
the JDBC driver. The CALL is intercepted and interpreted into an API
call, and the specified file is read into a BLOB parameter before
sending it over to the server. This functionality is not implemented in
the CLP because it is not intended for use from the CLP.

SQLJ.DB2_UPDATE JARINFO is an actual cataloged procedure that directly
takes a BLOB as a parameter, and then calls the API inside the
procedure's body. That is, you must pass a BLOB directly into the
procedure call -- specifying a filename will pass the string value in as
a VARCHAR, as it doesn't know you're trying to pass in a BLOB. It's not
actually possible to open a file as a BLOB in CLP. From a JAVA
application, it would look something like this:

stmt = conn.prepareCal l("CALL SQLJ.DB2_UPDATE JARINFO(?, ?, ?)");
stmt.setString( 1, jar_id);
stmt.setString( 2, className);
fileStream = new FileInputStream (classFilename) ;
stmt.setBinaryS tream(3, fileStream, fileStream.avai lable());
stmt.execute();

Again, I reiterate, these functions are not supported outside of the
development center environment.
Hi,

The dev center calls sqlj.DB2_UPDATE JARINFO
('JMARC.JMB','J MB','file:JMB.s qlj') to update the sqlj routine source.

I tried in CLP from the directory containing jar and sqlj files (Windows 8.2 FP9):

db2 connect to sample
db2 call sqlj.DB2_UPDATE JARINFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0444N Routine "SQLJ.DB2_UPDAT EJARINFO" (specific name "") is
implemented with
code in library or path "", function "" which cannot be accessed. Reason code: "". SQLSTATE=42724

db2 call sqlj.UPDATEJARI NFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0804N The application program parameters for the current request are not
valid. Reason code "109". If a host variable or SQLVAR in the SQLDA is
invalid then: host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "", host variable/SQLVAR type = "". SQLSTATE=07002

Basically, I have lost half a day trying to get rid of the deployment tool and do scripting ... and I'm again fighting against the lack of
documentation in this area.
All I have found on googles is related to OS/390 and this is very non
explicit in terms of SQL codes !!!

:-((((((((((((((( (((

Regards,

JM

Nov 12 '05 #6
Hi,

There is this technote "Steps to create a procedure from a JAR file" that
explains all steps ... except how not to loose the source ...
http://www-1.ibm.com/support/docview...=utf-8&lang=en

I don't find very consistent the fact to be able to CALL SQLJ.INSTALL_JA R
from CLP and not be able to update the source from CLP.
The reason I have to go outside the Development Center is we've got serious
problems with the deployment tool GUI. Today, we tried deploying about 128
SQLJ procs, not much. We exported as a export zip file, then deployed all
jar files with sources. The GUI was stuck around 79 procs (30 minutes later
!!!), we got an empty javacore...txt on the server. On the client, I checked
the JVM that was more than 210 MB (customer is on FP8 client / FP8 or FP9
for server, Windows 2003).

Problems encountered with the Dev Center deploy tool:

* deployment wizard / options / error handling section: you cannot select
"Ignore errors" unless you select any "Duplicate handling button first".
Basically this makes the design non understandable.

* you can deploy with binaries if available and input the source. But you
cannot simply deploy and skip this sqlj phase and customization. My script
is intended to start from a exported zip file, then for each proc, call
sqlj.install_ja r, reference proc, input source, generate binds from the .ser
file using db2sqljbind.

* in the output window, deploy is too much verbose ... you cannot event
redirect this output to a file. Why not input a single line for each proc
deployed successfully, and the all package for each proc that has failed ?

I even tested at home on FP9 and this fixpack seems to break the client
deployment tool: I get the message "No project file found" ... I started
from scratch, removing all DC files to see if it changes anything and it
didn't.

Thanks again for your detailed explanation.

Jean-Marc
"amurchis" <am******@ca.ib m.com> a écrit dans le message de
news:42******** @news3.prserv.n et...
I'm going to start by saying that noone should be using those functions
outside of the development center. Those functions are implemented
specifically for their use (with the debugger), and DB2 does not support
their use outside of their intended use within the development center.
Customers should not use this function directly because they will not be
supported.

With that said, SQLJ.UPDATEJARI NFO is functionality that is built into
the JDBC driver. The CALL is intercepted and interpreted into an API
call, and the specified file is read into a BLOB parameter before
sending it over to the server. This functionality is not implemented in
the CLP because it is not intended for use from the CLP.

SQLJ.DB2_UPDATE JARINFO is an actual cataloged procedure that directly
takes a BLOB as a parameter, and then calls the API inside the
procedure's body. That is, you must pass a BLOB directly into the
procedure call -- specifying a filename will pass the string value in as
a VARCHAR, as it doesn't know you're trying to pass in a BLOB. It's not
actually possible to open a file as a BLOB in CLP. From a JAVA
application, it would look something like this:

stmt = conn.prepareCal l("CALL SQLJ.DB2_UPDATE JARINFO(?, ?, ?)");
stmt.setString( 1, jar_id);
stmt.setString( 2, className);
fileStream = new FileInputStream (classFilename) ;
stmt.setBinaryS tream(3, fileStream, fileStream.avai lable());
stmt.execute();

Again, I reiterate, these functions are not supported outside of the
development center environment.
Hi,

The dev center calls sqlj.DB2_UPDATE JARINFO
('JMARC.JMB','J MB','file:JMB.s qlj') to update the sqlj routine source.

I tried in CLP from the directory containing jar and sqlj files (Windows 8.2 FP9):

db2 connect to sample
db2 call sqlj.DB2_UPDATE JARINFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0444N Routine "SQLJ.DB2_UPDAT EJARINFO" (specific name "") is
implemented with
code in library or path "", function "" which cannot be accessed. Reason code: "". SQLSTATE=42724

db2 call sqlj.UPDATEJARI NFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0804N The application program parameters for the current request are not
valid. Reason code "109". If a host variable or SQLVAR in the SQLDA is
invalid then: host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "", host variable/SQLVAR type = "". SQLSTATE=07002

Basically, I have lost half a day trying to get rid of the deployment tool and do scripting ... and I'm again fighting against the lack of
documentation in this area.
All I have found on googles is related to OS/390 and this is very non
explicit in terms of SQL codes !!!

:-((((((((((((((( (((

Regards,

JM

Nov 12 '05 #7
I just wanted to expand on this to state that my statement on the use of
the SQLJ-schema'd procedures ONLY applies to the updatejarinfo
functions. This function has never been documented (that I am aware
of). It's specific use is for the development center.

Currently, none of the SQLJ.DB2_* procedures are documented, but given
that there is currently no other alternative for those who want to use
JCC, DB2 will have to document them at some point unless an SQLJ
standard for use in JCC is decided upon.

I am not involved in any development with the development center, so I
cannot help with any problems you are experiencing while using it. I am
familiar with the DB2 SP/UDF infrastructure itself -- that is, what goes
on in the actual DB2 engine. I have not personally used the development
center.

amurchis wrote:
I'm going to start by saying that noone should be using those functions
outside of the development center. Those functions are implemented
specifically for their use (with the debugger), and DB2 does not support
their use outside of their intended use within the development center.
Customers should not use this function directly because they will not be
supported.

With that said, SQLJ.UPDATEJARI NFO is functionality that is built into
the JDBC driver. The CALL is intercepted and interpreted into an API
call, and the specified file is read into a BLOB parameter before
sending it over to the server. This functionality is not implemented in
the CLP because it is not intended for use from the CLP.

SQLJ.DB2_UPDATE JARINFO is an actual cataloged procedure that directly
takes a BLOB as a parameter, and then calls the API inside the
procedure's body. That is, you must pass a BLOB directly into the
procedure call -- specifying a filename will pass the string value in as
a VARCHAR, as it doesn't know you're trying to pass in a BLOB. It's not
actually possible to open a file as a BLOB in CLP. From a JAVA
application, it would look something like this:

stmt = conn.prepareCal l("CALL SQLJ.DB2_UPDATE JARINFO(?, ?, ?)");
stmt.setString( 1, jar_id);
stmt.setString( 2, className);
fileStream = new FileInputStream (classFilename) ;
stmt.setBinaryS tream(3, fileStream, fileStream.avai lable());
stmt.execute();

Again, I reiterate, these functions are not supported outside of the
development center environment.
Hi,

The dev center calls sqlj.DB2_UPDATE JARINFO
('JMARC.JMB','J MB','file:JMB.s qlj') to update the sqlj routine source.

I tried in CLP from the directory containing jar and sqlj files
(Windows 8.2
FP9):

db2 connect to sample
db2 call sqlj.DB2_UPDATE JARINFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0444N Routine "SQLJ.DB2_UPDAT EJARINFO" (specific name "") is
implemented with
code in library or path "", function "" which cannot be accessed. Reason
code: "". SQLSTATE=42724

db2 call sqlj.UPDATEJARI NFO ('JMARC.JMB','J MB','file:JMB.s qlj')
==> SQL0804N The application program parameters for the current
request are
not
valid. Reason code "109". If a host variable or SQLVAR in the SQLDA is
invalid then: host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN
= "",
host variable/SQLVAR type = "". SQLSTATE=07002

Basically, I have lost half a day trying to get rid of the deployment
tool
and do scripting ... and I'm again fighting against the lack of
documentation in this area.
All I have found on googles is related to OS/390 and this is very non
explicit in terms of SQL codes !!!

:-((((((((((((((( (((

Regards,

JM

Nov 12 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5088
by: Paul Reddin | last post by:
Hi, (V8.1 FP2) Trying to run SQLJ.INSTALL_JAR, we get the following error SQL1131N DARI (Stored Procedure) process has been terminated abnormally. SQLSTATE=38503 Not sure why this has started failing now (we did upgrade to fp2 fairly
7
3264
by: Alex | last post by:
Hi all, I am trying to install a java stored procedure via the windows development centre. The linux box is running 8.1 FP4 as is the windoze platform. If I am on the linux box i can install the sample jdbc stored procedures o.k. For the purpose of this test I created a sample procedure that executes "select * from department" when conected to the sample database on the linux box.
1
3145
by: chaos | last post by:
Hello, i have problems using sqlj in the following environment. I use type 4 driver com.ibm.db2.jcc.DB2Driver and connect succesful to 8.1. db2-Database(DRDA)(Informational tokens are "DB2 v8.1.0.32", "s031027", "MI00060", and FixPak "4".Product is installed at "/opt/IBM/db2/V8.1"). It runs in an applicationcontainer (jdk1.4, linux). I tried all other drivers without success.
9
2995
by: Janick | last post by:
With DB2 7.2 we used to call methods from other SQLJ Stored Procedures, as it was not possible to call SPs via the SQL Call-statement from within SPs. So we always had a method like this: protected static void execute(Connection con, (...)) Where we passed a Connection object for dynamic SQL (which we got using the getConnection() method of the DefaultContext). Static SQL was always executed on the DefaultContext.
10
4142
by: Raquel | last post by:
UDB PE 8.1 on Win XP. ok, this function caused a lot of grief today. My stored procedures are java stored procedures, all FENCED and directly placed in \sqllib\function directory (not built into JAR files). While the manuals state that SQLJ.REFRESH_CLASSES() only refreshes the routines built into JAR files, I have been successfully refreshing my JDBC stored procedures with this function.
2
1546
by: Raquel | last post by:
UDB V8.1.3 on XP. While trying out SQLj procedures, I just 'compile' my stored procedure code (by command sqlj program-name.sqlj) and run it. That's it. So, how and when is db2profc and all the other commands needed? The stored procedure seems to run without executing these commands as well. In fact, I experience no difference between methods of preparing JDBC or SQLj procedures other than the fact that JDBC procedures are compiled with...
12
5394
by: Rhino | last post by:
I am having an odd problem: the sqlj command on my system doesn't work. I am running DB2 (LUW) V8 (FP8) on WinXP. I haven't done an sqlj program since Version 6 of DB2 (LUW) so I checked the manuals for the proper techniques to prepare an sqlj program. When I went to try the sqlj command, I got this: Exception in thread "main" java.lang.NoClassDefFoundError: sqlj/tools/Sqlj
0
1744
by: shibubaby | last post by:
Hi All, I am trying to compile some embedded SQL using the SQLJ in DB2 environment. My setup is as follows. 1) Fedora Core 5 2)IBM DB2 V8.2 I installed both the client/admin tools in the DB2 and created data base instance. I am able sucessfully play with the DB2 related commands.
1
3494
by: vasilip | last post by:
I'm trying to insert large polygon data via sql statement. since the data was over 32k I had to use sqlj to insert my data. I made a class that inserts the data. ran sqlj, generated the .java and .ser files then used db2profc to bind the ser file.. not exacly 100% sure what this is about.. but I kind of get the idea.. I imported the java file into my project and attempted to use it..
0
9732
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10987
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10652
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10709
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10343
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7058
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5723
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5914
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4125
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.