I 100% supplied the -b parameter. I did exactly as you suggested.
mqbrkruser@SATELLITE-L50D-B:~$ mqsiapplybaroverride -b JCN_Multiple_Line_Transformtion.msgflow.generated.bar -p override.properties
BIP1049E: The BAR file does not exist.
The bar file 'JCN_Multiple_Line_Transformtion.msgflow.generated.bar' could not be found on the file system.
Reissue the command specifying the location of a valid bar file.
BIP1136I: This command overrides properties in a BAR file.
Syntax:
mqsiapplybaroverride -b barFileName [-p overridesFile] [-m manualOverrides] [-k applicationName] [-y libraryName] [-r] [-o outputFile] [-v traceFileName] Command options:
'-b barFileName' The name of the BAR file (in zip format) to be overridden.
'-p overridesFile' The file name of the plain text file that contains one of these items: the integration node properties to be overwritten, the entire new deployment descriptor, or a BAR file that contains the entire new deployment descriptor.
'-m manualOverrides' A comma separated list of key=value pairs that describe the overrides to apply. On Windows systems, the list must be enclosed in quotation marks (""). If used in conjunction with -p, the overrides that are specified with the -m parameter are performed after all overrides that are specified by the -p parameter have been made.
'-k applicationName' The name of the application to which the overrides will be applied.
'-y libraryName' The name of the static library or shared library to which the overrides will be applied.
'-r' requests that overrides are applied recursively through applications and libraries.
'-o outputFile' The name of the output bar file to which the bar file changes are to be made. If this name is not specified, the input file is overwritten.
'-v traceFileName' Verbose internal trace is sent to the specified file.
Note: Overrides must be supplied either in the form FLOW#NODE.PROPERTY=NEWVALUE or in the form OLDVALUE=NEWVALUE. If the latter form is used, OLDVALUE must already be an overridden value in the deployment descriptor. Specify FLOW#NODE.PROPERTY on its own to remove an override.
mqbrkruser@SATELLITE-L50D-B:~$ mqsiapplybaroverride -b JCN_Multiple_Line_Transformtion.msgflow.generated.bar -p override.properties -r
BIP1049E: The BAR file does not exist.
The bar file 'JCN_Multiple_Line_Transformtion.msgflow.generated.bar' could not be found on the file system.
Reissue the command specifying the location of a valid bar file.
BIP1136I: This command overrides properties in a BAR file.
Syntax:
mqsiapplybaroverride -b barFileName [-p overridesFile] [-m manualOverrides] [-k applicationName] [-y libraryName] [-r] [-o outputFile] [-v traceFileName] Command options:
'-b barFileName' The name of the BAR file (in zip format) to be overridden.
'-p overridesFile' The file name of the plain text file that contains one of these items: the integration node properties to be overwritten, the entire new deployment descriptor, or a BAR file that contains the entire new deployment descriptor.
'-m manualOverrides' A comma separated list of key=value pairs that describe the overrides to apply. On Windows systems, the list must be enclosed in quotation marks (""). If used in conjunction with -p, the overrides that are specified with the -m parameter are performed after all overrides that are specified by the -p parameter have been made.
'-k applicationName' The name of the application to which the overrides will be applied.
'-y libraryName' The name of the static library or shared library to which the overrides will be applied.
'-r' requests that overrides are applied recursively through applications and libraries.
'-o outputFile' The name of the output bar file to which the bar file changes are to be made. If this name is not specified, the input file is overwritten.
'-v traceFileName' Verbose internal trace is sent to the specified file.
Note: Overrides must be supplied either in the form FLOW#NODE.PROPERTY=NEWVALUE or in the form OLDVALUE=NEWVALUE. If the latter form is used, OLDVALUE must already be an overridden value in the deployment descriptor. Specify FLOW#NODE.PROPERTY on its own to remove an override.
mqbrkruser@SATELLITE-L50D-B:~$
------------------------------
Amit Kapila
Integration Developer
eComm Europe Limited
London
UK
amitkapila@hotmail.com+44 (0)2085707240
+44 (0)7976529902
------------------------------
Original Message:
Sent: Tue January 26, 2021 02:31 AM
From: Lars Dehli
Subject: mqsiapplybaroverride
Hi!
Do you have a copy/paste error in your post? Or did you not specify the barfile with the "-b" argument? That's also what the error message that you posted are saying: " BIP8005E: Flag or argument '-b barFileName' missing."
Please try again using the "-b" argument. Something like this in your case:
"mqsiapplybaroverride -b JCN_Multiple_Line_Transformtion.msgflow.generated.bar -p override.properties"
If you get an error like this:
"BIP1138I: Applying overrides using runtime mqsiapplybaroverride...
BIP1055W: The BAR file did not contain a top-level deployment descriptor."
Then adding a "-r" will likely solve that last thing.
------------------------------
Lars Dehli
Original Message:
Sent: Mon January 25, 2021 07:41 AM
From: Amit Kapila
Subject: mqsiapplybaroverride
I am having a problem with an IIB message flow.
I have been sent a message flow that has promoted properties. I tried to change the queue names but it is not working.
mqbrkruser@myLinuxServer:~$ ls -lrt override.properties
-rw-r--r-- 1 mqbrkruser mqbrkruser 58 Jan 23 22:12 override.properties
mqbrkruser@myLinuxServer:~$
mqbrkruser@myLinuxServer:~$ cat override.properties
JCN_Multiple_Line_Transformtion#MQOutput.queueName=OUTCSV
mqbrkruser@myLinuxServer:~$
mqbrkruser@SATELLITE-L50D-B:~$ mqsiapplybaroverride \u2013b JCN_Multiple_Line_Transformtion.msgflow.generated.bar -p override.properties BIP8005E: Flag or argument '-b barFileName' missing.
I have followed the rules to ensure the override.properties format is correct. What am I missing?
The command will result in no action being taken, a required flag or a flag's argument is missing.
Correct and reissue the command.
BIP1136I: This command overrides properties in a BAR file.
------------------------------
Amit Kapila
Integration Developer
eComm Europe Limited
London
UK
amitkapila@hotmail.com
+44 (0)2085707240
+44 (0)7976529902
------------------------------