Sponsored Content
Full Discussion: PERL MQSeries MQCONN issue
Top Forums Programming PERL MQSeries MQCONN issue Post 303002339 by mrn6430 on Tuesday 22nd of August 2017 12:35:06 PM
Old 08-22-2017
I am using cpan now to install it and to compile which is more cleaner. However, I have this error still:
Code:
LD_RUN_PATH="/opt/mqm/lib" gcc  -shared -Wl,-rpath -Wl,/opt/mqm/lib MQSeries.o constants.o  -o ../blib/arch/auto/MQClient/MQSeries/MQSeries.so     \
           -L/opt/mqm/lib -lmqic        \
 MQSeries.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [../blib/arch/auto/MQClient/MQSeries/MQSeries.so] Error 1
make[1]: Leaving directory `/u01/app/home/asmsadm/.cpan/build/MQSeries-1.34-WaLtYh/MQClient'
make: *** [subdirs] Error 2
  MQSERIES/MQSeries-1.34.tar.gz
  /usr/bin/make -- NOT OK

Please help !

Last edited by mrn6430; 08-23-2017 at 06:55 PM..
 

10 More Discussions You Might Find Interesting

1. Programming

Shellscript for MQSeries

Iam new to shellscript. 1)How to strart QUERYMANAGER using shellscript. 2)How to put and get messages in MQSeries using shellscripts. 3)iam using local queues . Thanks lot. (0 Replies)
Discussion started by: ram2s2001
0 Replies

2. Shell Programming and Scripting

Is there a way to find the version of my MQSeries?

Is there a way to find the version of my MQSeries? Thanks, Vijay. (0 Replies)
Discussion started by: Vijay06
0 Replies

3. Shell Programming and Scripting

perl issue ..

hi one perl issue i have xml file with 2 values and one condition b.w them <rule> <val1>12</val1> <cond>and</cond> <val2>13</val2> </rule> i read these values in hash in perl code $one{val1} = 12 $one{cond} = and $one{val2} = 13 now i want to form... (3 Replies)
Discussion started by: zedex
3 Replies

4. Shell Programming and Scripting

Perl Script Issue - Please Help * Thanks!!!

Please help me with my script please. I am trying to do the following: 1. Read files for the current directory 2. Open and read from nbe files files only 3. Read only the lines with the results pattern 4. Split the line and print 3rd field Please indicate what line I need to modify. ... (8 Replies)
Discussion started by: jroberson
8 Replies

5. Shell Programming and Scripting

Perl Issue

Hi, I got this script from the web, this generates an LDAP report in CSV format. #!/usr/bin/perl # # Copyright (c) 2004 # Ali Onur Cinar &060;cinar&064;zdo.com&062; # # License: # # Permission to use, copy, modify, and distribute this software and its # documentation for... (23 Replies)
Discussion started by: raj001
23 Replies

6. Shell Programming and Scripting

using MQCONN

Hi, I am trying to connect to a queue manager, but I am not able to use the MQCONN command . If anyone have sample program , please help thanks in davance Satya (2 Replies)
Discussion started by: Satyak
2 Replies

7. Shell Programming and Scripting

Perl issue - please help!

Hello. I've been writing some code in Perl to read in strings from html files and have been having issues. In the html file, each "paragraph" is a certain file on the website. I need to find every one of the files that is a certain type, in this case, having green color....therefore... (7 Replies)
Discussion started by: akreibich07
7 Replies

8. Shell Programming and Scripting

wc -l command issue with perl

Hi Team, the Following program execute with out error but the out is not save with create2.txt. kindly help me!!! print "Enter your Number \n"; my $name = <STDIN>; if ($name =="*91111*") { @dirlist1 = `wc -l $name > create2.txt`; } else {print "do not match";} (3 Replies)
Discussion started by: adaleru
3 Replies

9. Shell Programming and Scripting

Out of memory issue in perl

I am getting a out of memory issue while executing the perl program. Per version : /opt/acc_perl/lib/site_perl/5.14.2 Read in 54973 total records Read in 54973 table records from table. Out of memory! so the job get failed due to out of memory. need to get rid of the out of memory... (3 Replies)
Discussion started by: ramkumar15
3 Replies

10. Programming

Perl - EMail issue - NEED Help

I have a perl that is sending emails in a bad format: "begin 644 Included.doc M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ M*BHJ*BHJ*BHJ*BH*4U5#0T534T953"!-1$XG<R!F;W(@07)C:&EV92!022`M M($-A;F-E;`HJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ... (1 Reply)
Discussion started by: mrn6430
1 Replies
MQSERIES_PUT(3) 							 1							   MQSERIES_PUT(3)

mqseries_put - MQSeries MQPUT

SYNOPSIS
void mqseries_put (resource $hConn, resource $hObj, array &$md, array &$pmo, string $message, resource &$compCode, resource &$rea- son) DESCRIPTION
The mqseries_put(3) (MQPUT) call puts a message on a queue or distribution list. The queue or distribution list must already be open. PARAMETERS
o $hConn -Connection handle.This handle represents the connection to the queue manager. o $hObj -Object handle.This handle represents the object to be used. o $md -Message descriptor (MQMD). o $pmo -Put message options (MQPMO). o $message -The actual message to put onto the queue. o $compCode -Completion code. o $reason -Reason code qualifying the compCode. RETURN VALUES
No value is returned. EXAMPLES
Example #1 mqseries_put(3) example <?php // open connection to the queue manager mqseries_conn('WMQ1', $conn, $comp_code, $reason); // $conn now hold the reference to the connection to the queue manager. // open the connectio to the testq queueu mqseries_open( $conn, array('ObjectName' => 'TESTQ'), MQSERIES_MQOO_INPUT_AS_Q_DEF | MQSERIES_MQOO_FAIL_IF_QUIESCING | MQSERIES_MQOO_OUTPUT, $obj, $comp_code, $reason); // $obj now holds the reference to the object (TESTQ) // setup the message descriptor array. Check MQSeries reference manuals. $md = array( 'Version' => MQSERIES_MQMD_VERSION_1, 'Expiry' => MQSERIES_MQEI_UNLIMITED, 'Report' => MQSERIES_MQRO_NONE, 'MsgType' => MQSERIES_MQMT_DATAGRAM, 'Format' => MQSERIES_MQFMT_STRING, 'Priority' => 1, 'Persistence' => MQSERIES_MQPER_PERSISTENT); // setup the put message options. $pmo = array('Options' => MQSERIES_MQPMO_NEW_MSG_ID|MQSERIES_MQPMO_SYNCPOINT); // put the message 'Ping' on the queueu. mqseries_put($conn, $obj, $md, $pmo, 'Ping', $comp_code, $reason); if ($comp_code !== MQSERIES_MQCC_OK) { printf("put CompCode:%d Reason:%d Text:%s<br> ", $comp_code, $reason, mqseries_strerror($reason)); } // close the object reference $obj mqseries_close($conn, $obj, MQSERIES_MQCO_NONE, $comp_code, $reason); // disconnect from the queue manager. mqseries_disc($conn, $comp_code, $reason); ?> SEE ALSO
mqseries_conn(3), mqseries_connx(3), mqseries_open(3), mqseries_get(3). PHP Documentation Group MQSERIES_PUT(3)
All times are GMT -4. The time now is 10:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy