FAQ Database Discussion Community


check chlauth for a MQ channel

ibm,websphere-mq,mq
I want to check if any chlauth method is deployed for a channel or not in my MQ. So I run this command: dis chlauth(MY.CHANNEL.NAME) But I've got this message: AMQ8884: Channel authentication record not found. So, does it mean that I run a wrong command or it means that...

How to disable the button if some input field is not filled?

dojo,ibm
IBM web experience factory uses dojo library, I am wondering if the I set <input type="text" name="usrname" required> in the consumer model, does the button still work if the input is not filled?

Best place to store db parameters in IBM Integration bus

integration,ibm,bus
I am wondering where is the best place to store db parameters in IBM Integration Bus. For example if we have dev, test and prod environment, each one with separate database (of course) how to best organize the changing of the db connection properties? User variables? Some external service? Decision...

WMQ: Distributing MQ readers over several machines

c#,transactions,ibm,websphere-mq
I am using WMQ to access an IBM WebSphere MQ on a mainframe - using c#. We are considering spreading out our service on several machines, and we then need to make sure that two services on two different machines cannot read/get the same MQ message at the same time....

What is the difference between the Mobile web app and Desktop Browser web page environments in MobileFirst Platform?

worklight,ibm,mobilefirst
There are two environments that one can add to an IBM MobileFirst Platform Foundation 6.3 project, Mobile web app and Desktop Browser web page: The intended purpose is obvious - they can be used to add a mobile browser web page and a desktop browser web page respectively. As I...

Develop Windows 8.0/8.1 app from already existing IBM Worklight Project

worklight,ibm,worklight-studio
I need to create a Windows Phone 8.0 as well as Windows Phone 8.1 app from already developed IBM Worklight(6.1) Project. Is there any document that elucidates end to end solution to do that? Also could you please elucidate tools/plugins required?

Can I use Java 8 on IBM's Bluemix Application Platform

java-8,ibm,bluemix
I would like to use Java 8 features in Bluemix standalone java application, is this supported by default or do I need to alter some configuration?

How to get part description for catalogentryID

ibm,websphere-commerce,wcs
I am using IBM WCS 7 aurorab2b store. I want to retrieve the description of a partNumber entered by user. I am getting catentryID = 14726 and langId as -1. I tried the following way and I am getting javax.ejb.DuplicateKeyException when creating instance of CatalogEntryDescriptionAccessBean try{ String catentID = catlogBean.getCatalogEntryReferenceNumber();...

SQL Having statement with Date Range - The grouping is inconsistent

sql,db2,ibm
I'm struggling with this script. I want to write it where it'll calculate the total of instances then add the sum of those instances, however, when I run the script with the "HAVING....AND CSH.SLS_DT BETWEEN '2015-01-01' and '2015-06-16'" I get an error stating that "the grouping is inconsistent". The script...

How to view Journal data of a Table Green screen DB2

db2,ibm,ibm-midrange,db2400
How do you view journal data from a specified table? I want to see what happended to a table in a specified time frame. I got info on the table by using the following command: DSPFD FILE(P6PRDBDB00/P6OIDPF) Got the journaled name and library but I dont know how to view...

IBM MQ ISSUE in Apache Camel because Spring JMS Listener

apache-camel,activemq,ibm,spring-jms
I am new to IBM MQ with Apache camel. below is my configuration <from IBM MQ> <parallel> <to ACTIVE MQ> <to IBM MQ> </parallel> my application is running in Spring Container. some time I am getting this below warning, hence My route is not working ( IBM MQ is not...

Run OS Commands with MQ Service object - AMQ8734- Command failed - Program could not be started

ibm,websphere-mq,mq
I want to run a test command on MQ Server Windows Machine remotely. In order to do that, I use SupportPac MO72 and I can successfully connect remotely to MQ Server with Administrator ID. Now I have MQSC console available and I want to run some OS command with creating...

can not create queue for QManager

ibm,websphere-mq,mq
I encountered a really wired problem. I have successfully install Websphere MQ on my windows machine and want to create QManager and Queue to connect to a remote Qmanager server. I have already created a QManager as you can see in the picture below. However, when I tried to create...

IBM Mobilefirst 7.0 - Difference between SAP Netweare Gateway and SAP JCo adapters

ibm,mobilefirst
What is the difference between SAP Netweaver Gateway and SAP JCo Adapters ? SAP Netweaver Gateway Adapter: IBM MobileFirst Platform Foundation applications can communicate with SAP Netweaver Gateway back-end services by using SAP adapters. Using HTTP rest calls and the OData protocol, applications can remotely create, retrieve, update, and delete...

How to Call RPGIV program from java that returns more than one record

java,ibm,ibm-midrange,rpg,jtopen
I am calling a RPGIV program from java, the rpgiv program returnes multi record as an output parameter. I tried the following to return all the rows returned from rpgiv. // Define Output Data Structure AS400DataType[] outputData = { new AS400Text(20), // parentOperationsItemId; new AS400Text(10), // parentOperationsItemType; new AS400Text(10), //...

Run Linux/MQSC commands from mq client

linux,ibm,websphere-mq,mq
Ok, I want to check if I can run some OS or MQSC commands in MQ server remotely. As long as I know, this could be done with SYSTEM.ADMIN.SVRCONN. In order to do that, I add a remote Queue Manager to my WebSphere MQ client. I put Queue Manager name...

Bluemix ZF2 change default index file

php,indexing,zend-framework2,ibm,bluemix
i'm new to bluemix, and don't know how to change the default index to look to public folder of the zend application, so have a php starter build, pushed the application to server, and when i call my_url, it's showing the default index file, and when i type my_url/public it's...

Errors with the IBM Social Business Toolkit SDK

xpages,ibm,lotus-domino,social,ibm-connections
I’ve tried to work with the Social Business Toolkit from IBM. Now I have all packages installed the update sites and so on. I want to start to work with it but I become always the error if I click on any snippet tab in the application, on my server...

How can I add value for Application Edition in manifest?

manifest,ibm,websphere-8
I'm looking for use WAS 8.5.5. Application Edition Management feature. I'd like to use the build to insert into manifest values for "Application Edition" and "Edition Descriptor" parameters, in order to be automatically valorized during ear installation. Do you know how can I named them? For example, in order to...

ibm_db cannot be installed in Ubuntu 14.04

python,ubuntu,pip,ibm
I'm trying to install ibm_db in my Ubuntu 14.04 (I did have that package before but I had to format my computer). When: pip install ibm_db I get this error looking at "tail -n100 /home/nfs/user/.pip/pip.log" copying tests/test_220_PersistentConn.py -> build/lib.linux-x86_64-2.7/tests copying tests/test_150_FetchAssocSelect_01.py -> build/lib.linux-x86_64-2.7/tests copying tests/test_041_FetchTupleMany_01.py -> build/lib.linux-x86_64-2.7/tests copying tests/test_060_Tables_01.py ->...

Run MQSC Command via SYSTEM.ADMIN.COMMAND.EVENT

ibm,websphere-mq,mq
I have connected remotely to a QMgr via MQ Explorer on Windows. The MQ server version is 7.5.0.1. I can put messages in SYSTEM.ADMIN.COMMAND.EVENT from MQ Explorer successfully and when I dump SYSTEM.ADMIN.COMMAND.EVENT, I can see my messages. As long as I know, I should be able to run PCF...

Using Java/Liberty to connect to a DB2 Database on Bluemix

java,android,ibm,websphere-liberty,bluemix
We have a DB2 Database stored in Bluemix. Because DB2 Drivers are not compatible to Android we have to set up a layer between the application and Bluemix. We choose to use the Java DB Starter boilerplate. How can we implement the create, read, update and delete functions in the...

Viewing all documents on IBM Cloudant through API

ibm,cloudant
Im trying an API that will list all values within all documents in my Cloudant database. I use '_all_docs' at the end of my API however this only shows the ids and revs of my JSON documents it does not show all values within the documents. Can an API show...

How do I add the feature to share content in an IBM MobileFirst App?

cordova,phonegap-plugins,ibm,mobilefirst
So I read this link and it allows functionality to add the share button in a phonegap application. Link : http://www.x-services.nl/phonegap-share-plugin-facebook-twitter-social-media/754 I need to do it for IBM MobileFirst App. I need a solution to Either integrate this plugin with Worklight App or Which allows to share things via IBM...

Many versions on one IBM Websphere server

java,websphere,ibm,web-deployment
Is it possible to deploy different versions of single application on one IBM Websphere Application Server (WAS)? For example I have: App1 with url binding http://app/1.0/service/ App2 with url binding http://app/2.0/service/ Is it possible? I think not due to port listening issue, but maybe there is some chance......

java.lang.NoClassDefFoundError while deploying the War in websphere which uses Couchbase cache

java,websphere,classpath,ibm,noclassdeffounderror
I am facing the below error while deploying the war file in Websphere-8.5.5 Caused by: java.lang.NoClassDefFoundError: org/apache/http/params/SyncBasicHttpParams at com.couchbase.client.ViewConnection.createConnections(ViewConnection.java:120) at com.couchbase.client.ViewConnection.<init>(ViewConnection.java:100) at com.couchbase.client.CouchbaseConnectionFactory.createViewConnection(CouchbaseConnectionFactory.java:184) at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:247) at...

How debug IBM db2 9.5 function

function,debugging,db2,ibm
I created a function and now I need to debug it. How can I do this? I'm using IBM db2 9.5 version My function declaration: CREATE FUNCTION TESTE (v_id INTEGER, v_calnum VARCHAR(16), reportdate TIMESTAMP, enddate TIMESTAMP) RETURNS BIGINT SPECIFIC TESTE DETERMINISTIC NO EXTERNAL ACTION READS SQL DATA BEGIN ATOMIC [...]...

IBM Connections 5 custom theme not getting published to second cluster node

synchronization,themes,cluster-computing,ibm,connections
we have the following small cluster setup: Server 1: DMGr, Nodeagent, Connections_server1 Server 2: Nodeagent, Connections_server2 All shared resources (including the customization dir) are on a separate file server that is linked on /opt/IBM/Connections/data/shared on both servers. I want to customize the defaultTheme, so I copied it to /customizationDir/themes/defaultTheme/custom.css After...

Deleting an IBM Bluemix Internet of things services gives an error

ibm,bluemix,iot
I'm working on a Bluemix Internet of Things (IoT) project and want to delete an IoT service. Bluemix returns: Service broker error: Calling url https://bluemix-staging.internetofthings.ibmcloud.com/broker/v2/service_instances/2a98b0e9-2d48-4fed-b66b-c20cac2f83c7?plan_id=iotf-service-free-id&service_id=iotf-service-id failed with error message getaddrinfo ENOTFOUND bluemix-staging.internetofthings.ibmcloud.com I can't create a new service as well. Any ideas how to proceed?...

Maximo - MxLoader Classification Upload with CLASSSTRUCTUREID

ibm,maximo
I'm able to upload classification to Maximo except CLASSSTRUCTUREID column, the process of MxLoader finish without any errors but the class structure field gets an Autokey value. I tried to remove the Restricted option from the integration object structure (enforced to check Override) but on third row I got this...

Filenet Document property not modifying after re-upload

java,ibm,filenet-p8,filenet-content-engine
I have tested a simple program to change class and upload a document again. When I use it normally with my admin account it works ok, but when I log from a non admin account it does't let me edit property. public void senddoc(String send,String clas){ System.out.println(send); Document docn =...

Why FtpWebRequest is adding the user login as part of the target dataset?

c#,ftp,ibm,mainframe,ftpwebrequest
I recently converted a Windows cmd to FtpWebRequest using C# to upload file to an IBM mainframe dataset. Look here. Running both I found they upload to different dataset when they should be exactly alike, FtpWebRequest is adding the user login info to the dataset. The code on cmd uploads...

IBM MobileFirst Platform 6.3 Operational Analytics Failed installation for Tomcat

ibm,mobilefirst,mobilefirst-analytics
I have installed MobileFirst 6.3 appcenter console, worklight console successfully, they are operating fine on Tomcat/7.0.57. However when I try to install Operational Analytics, the documentation has the following http://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.installconfig.doc/monitor/c_op_analytics_installation_tomcat.html I am using tomcat manager http://localhost:8080/html to deploy the war files. logging in as manager, with the manager-gui role. worklight-analytics.war...

How i can get list with names of all queues in remote websphere application server?

java,queue,jms,websphere,ibm
I connect to remote was with AdminClient and get list of queues with some code: ... AdminClient client = new AdminClientFactory.createAdminClient(props); Set<ObjectName> s = client.queryNames(new ObjectName("WebSphere:*"),null); if (!s.isEmpty()){ Iterator i = s.iterator(); while (i.hasNext){ ObjectName on = i.next(); String type = on.getKeyProperty("type"); if ("SIBQueuePoint".eqquals(type)){ System.out.println(on.getKeyProperty("name");) } } } This list...

MQ Authentication issue: SSLCAUTH is required but SSLCIPH is blank

ssl,ibm,websphere-mq,mq
I am trying to test the authentication exits in a MQ server. All the channels has the SSLCAUTH attribute set to REQUIRED. As I know, this means each client must have SSL certificate in order to put message in channel and if they don't have valid SSL certificate, the connection...

Why does the Zend server 8 has both PHP 5.5 and 5.6?

php,ibm,zend-server
I am trying to upgrade our Zend Server 6.3 IBM i free edition and researching about the new version of Zend searver. Zend server 8 looks like that it already came out from the previous Beta version to now the real version. Then it has two options as PHP5.5 and...

Nested If-Then-Else usage in DataStage

ibm,datastage
I am trying to write the following nested If-Then-else statements in Transformation Stage of DataStage but its giving me compilation error. Can anybody tell me is there any other way of doing this? If IsNotNull(DSLink16.DECISION_ID) Then ( If DSLink16.DECISION_RESULT = 1 Then ( If DSLink16.DECISION_CODE = 'ALOW' Then 'DENY' Else...

Databean to fetch CATENTDESCOVR

ibm,websphere-commerce
I need to fetch data of CATENTDESCOVR using Databean. Is there any databean provided by IBM to get the data? I am using IBM WebSphere Commerce V7.0 Feature Pack 8...

How should i proper page queries in IBM FileNet?

ibm,filenet-p8,filenet,filenet-content-engine
Are there any methods to page queries in FileNet? I have a grid control with paging so i need to get count of elements total in query and possibility to get in example page 3 of results(with any page size). I found only TOP operator, but are there any SKIP...

IBM Rational System Architect using DB2

sql-server,db2,ibm
Currently I am looking to setting up IBM Rational System Architect 11.4.3.0, however I need to get a database setup first to connect with it. I see from the system requirements it only supports SQL Server/Oracle. Due to various restrictions, I am unable to use this currently and the only...

JQueryMobile Ibm worklight

jquery,worklight,ibm
I want to use JqueryMobile for my IBM Worklight Platform Application but it's telling me the JQuery Mobile path does not exist. Please what does this mean?

Difference between ibm web sphere liberty profile and ibm web sphere liberty core

ibm,websphere-liberty
I have a lot of confusion (i am new to was ) between the liberty profile and ibm web sphere application server liberty core Ibm web sphere liberty profile tools in eclipse .. can any body explain how do they work and how to configure.. do we need both to...

How i can connect secure to remote websphere server?

java,ssl,websphere,ibm
I use AdminClient for secure connection to local websphere server: java.util.Properties props = new java.util.Properties(); props.setProperty(AdminClient.CONNECTOR_TYPE, AdminClient.CONNECTOR_TYPE_SOAP); props.setProperty(AdminClient.CONNECTOR_HOST, "localhost"); props.setProperty(AdminClient.CONNECTOR_PORT, "8880"); props.setProperty(AdminClient.CONNECTOR_SECURITY_ENABLED, "true"); props.setProperty(AdminClient.USERNAME, "admin"); props.setProperty(AdminClient.PASSWORD, "111111");...

Adding discussion forum in the existing application using SBT

sbt,ibm,connections
How to add the discussion forum in existing application? Configured with the my application running in WAS and using java snippets i can able to get connected to the connections and get the response . But with javascript snippets there is a problem .Unable to configure SBT JS and run...

How to create a subscription on the fly in a IBM MQ cluster?

java,jms,ibm,websphere-mq
When i use this code as subscriber: MQTopic QMsSubscription = qm.accessTopic("qmstop", "", CMQC.MQTOPIC_OPEN_AS_SUBSCRIPTION, CMQC.MQSO_CREATE); MQMessage recvQMsMsg = new MQMessage(); MQGetMessageOptions gmo = new MQGetMessageOptions(); gmo.options = MQConstants.MQGMO_WAIT; gmo.waitInterval = MQConstants.MQWI_UNLIMITED; QMsSubscription.get(recvQMsMsg, gmo); and this code for publisher: MQTopic QMsPublisher = qm.accessTopic("qmstop", "", CMQC.MQTOPIC_OPEN_AS_PUBLICATION, CMQC.MQOO_OUTPUT); MQMessage sendQMsMsg = new MQMessage();...

Checklist When IBM WebSphere Application server is running up

ibm,websphere-8,ibm-rad,ibm-was
I have an IBM WebSphere Application Server v8.5 (WAS) installed on Linux RedHat 6. My question: how can I check on the following by command (if exist): Is the application server running or not? Is the web application that deployed on it running or not? The database connectivity (using datasource)...

Cannot Deploy Application on Eclipse (Bluemix)

eclipse,deployment,ibm,bluemix,devops
I am trying to create my first web app on Bluemix. I created a Java Liberty Runtime and downloaded the Starter Code to work on Eclipse. I installed IBM Bluemix tools to Eclipse and imported the starter code as an archive file. When I try to run application on IBM...

Validate URL in Informix 4GL program

url,ibm,informix,4gl
In my Informix 4GL program, I have an input field where the user can insert a URL and the feed is later being sent over to the web via a script. How can I validate the URL at the time of input, to ensure that it's a live link? Can...