Re: MQ For z/os
The MQ backwards migration process has changed in V9.2, so that there is no need to apply a backwards migration PTF. See https://www.ibm.com/docs/en/ibm-mq/9.2?topic=wnim9-whats-new-in-mq-zos-920-base-advanced-vue-entitlement#q134150___simpback. The V9.2 documentation should not say that there is a need for a backwards migration PTF. If you find a page that says that, please tell IBM ( or tell me and I'll pass it on) The CSQY039I and CSQY040I messages are new in V9.2, and were added as part of the migration enhancements to clarify whether backwards migration is possible, and to which version. Colin On Wed, 28 Apr 2021 at 17:36, Steely.Mark wrote: > Thanks for the response - I do have a question about the backwards > migration PTF. I found conflicting documentation that this is required: > > > https://www.ibm.com/docs/en/ibm-mq/9.1?topic=tasks-backward-migration-earlier-supported-releases-mq-zos > The backward migration APARs are PI95928 for IBM MQ 8.0.0, and PI95939 for > IBM MQ 9.0.0. > > This was documentation for reverting back from 9.1. But I seemed to > recall this same statement from reverting back from 9.2. > Also found documentation that states nothing needs to be done for > backwards compatibility from 9.2. > > I also found this: > > Backwards migration is normally only performed immediately after a > migration fails for some reason. > However, it is possible to perform backwards migration at any time if the > CSQY039I message is output at queue manager start up. > > If a queue manager issues the CSQY040I message at start up, backwards > migration is not supported, and the procedure described in the following > text is not applicable. > If you have a back up of the queue manager data, prior to the migration, > you could use that data to start the queue manager up at the earlier > release. > > I assume these messages are displayed during start of MQ 9.2 because I > don’t see these messages in the startup of MQ 9.0. > > Is this correct ? > > Thank You > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of Colin Paice > Sent: Wednesday, April 28, 2021 6:06 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: MQ For z/os > > ATTENTION: This e-mail came from an external source. Do not open > attachments or click on links from unknown or unexpected emails. > > > Mark, > > Backwards migration is supported between LTS releases (i.e. 9.0.0, 9.1.0, > 9.2.0), so it's not correct that the upgrade process is not reversible, > unless the question is about a CD release. > > IBM always suggested being up-to-date with all maintenance before > migrating to a new release. The backwards migration process has changed in > 9.2, and there is no need to apply a specific backwards migration PTF > before migrating. The backwards migration process in 9.2 is documented here: > > https://www.ibm.com/docs/en/ibm-mq/9.2?topic=92-reverting-queue-manager-previous-version-zos > . > > All the MQ on z/OS migration information is documented under this topic: > https://www.ibm.com/docs/en/ibm-mq/9.2?topic=mq-migrating-zos > > > The question about backing up your page sets and logs is an interesting > one. > > If you backed up your page sets, and restored a pageset, (and did not > restore your logs from backup) then when you restart the queue manager it > would replay the logs and bring the restored page set(s) up to date. > > If you back them up, go to the next release, run for a day and then decide > to use your backups of page sets AND LOGS ( so your logs now do not have > any updates since the backup) This causes problems like Messages which had > been in the system, and processed - now appear again (from the backup) - so > where the message said "PAY COLIN $100" would get processed twice. > Any new messages which were not processed before shutting down and > restoring would be overwritten by the restore. > Any channels going to other queue managers which had sent messages, will > get sequence number mismatches and you will have to reset the channels. > > So the lesson is, you can ( and should backup) your pages sets, but *do > not try to restore the logs from backups* except under IBM's guidance. > (As a good sysprog you will have tested the backup and restore of a page > set - and have JCL already written to do this!) > > regards > > Colin > > > > > > If you were on LTS, you could go from 9.0 to 9.1 and back to 9.0 without > losing any messages. > > > > > > > On Tue, 27 Apr 2021 at 16:52, Steely.Mark > wrote: > > > Has anyone upgraded from MQ 9.0 to 9.2 ? > > > > Is there any PTF's that need to be applied to 9.0 before going to 9.2. > > This is t
Re: MQ For z/os
Thanks for the response - I do have a question about the backwards migration PTF. I found conflicting documentation that this is required: https://www.ibm.com/docs/en/ibm-mq/9.1?topic=tasks-backward-migration-earlier-supported-releases-mq-zos The backward migration APARs are PI95928 for IBM MQ 8.0.0, and PI95939 for IBM MQ 9.0.0. This was documentation for reverting back from 9.1. But I seemed to recall this same statement from reverting back from 9.2. Also found documentation that states nothing needs to be done for backwards compatibility from 9.2. I also found this: Backwards migration is normally only performed immediately after a migration fails for some reason. However, it is possible to perform backwards migration at any time if the CSQY039I message is output at queue manager start up. If a queue manager issues the CSQY040I message at start up, backwards migration is not supported, and the procedure described in the following text is not applicable. If you have a back up of the queue manager data, prior to the migration, you could use that data to start the queue manager up at the earlier release. I assume these messages are displayed during start of MQ 9.2 because I don’t see these messages in the startup of MQ 9.0. Is this correct ? Thank You -Original Message- From: IBM Mainframe Discussion List On Behalf Of Colin Paice Sent: Wednesday, April 28, 2021 6:06 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: MQ For z/os ATTENTION: This e-mail came from an external source. Do not open attachments or click on links from unknown or unexpected emails. Mark, Backwards migration is supported between LTS releases (i.e. 9.0.0, 9.1.0, 9.2.0), so it's not correct that the upgrade process is not reversible, unless the question is about a CD release. IBM always suggested being up-to-date with all maintenance before migrating to a new release. The backwards migration process has changed in 9.2, and there is no need to apply a specific backwards migration PTF before migrating. The backwards migration process in 9.2 is documented here: https://www.ibm.com/docs/en/ibm-mq/9.2?topic=92-reverting-queue-manager-previous-version-zos . All the MQ on z/OS migration information is documented under this topic: https://www.ibm.com/docs/en/ibm-mq/9.2?topic=mq-migrating-zos The question about backing up your page sets and logs is an interesting one. If you backed up your page sets, and restored a pageset, (and did not restore your logs from backup) then when you restart the queue manager it would replay the logs and bring the restored page set(s) up to date. If you back them up, go to the next release, run for a day and then decide to use your backups of page sets AND LOGS ( so your logs now do not have any updates since the backup) This causes problems like Messages which had been in the system, and processed - now appear again (from the backup) - so where the message said "PAY COLIN $100" would get processed twice. Any new messages which were not processed before shutting down and restoring would be overwritten by the restore. Any channels going to other queue managers which had sent messages, will get sequence number mismatches and you will have to reset the channels. So the lesson is, you can ( and should backup) your pages sets, but *do not try to restore the logs from backups* except under IBM's guidance. (As a good sysprog you will have tested the backup and restore of a page set - and have JCL already written to do this!) regards Colin If you were on LTS, you could go from 9.0 to 9.1 and back to 9.0 without losing any messages. On Tue, 27 Apr 2021 at 16:52, Steely.Mark wrote: > Has anyone upgraded from MQ 9.0 to 9.2 ? > > Is there any PTF's that need to be applied to 9.0 before going to 9.2. > This is the only thing I have found: > > While at MQ 9.0, take a full backup of the queue managers. Why? > Because the upgrade process is NOT reversible. If you need to revert > back from MQ > 9.1 to 9.0, then you must delete the queue managers and restore the > backup taken at MQ 9.0. > > I know this statement is talking about 9.1 but I think it would also > relate going to 9.2. > > Any information relating to upgrading MQ would be appreciated. > > Thank You > > > > > *** Disclaimer *** > This communication (including all attachments) is solely for the use > of the person to whom it is addressed and is a confidential AAA communication. > If you are not the intended recipient, any use, distribution, > printing, or copying is prohibited. If you received this email in > error, please immediately delete it and notify the sender. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN >
Re: MQ For z/os
Mark, Backwards migration is supported between LTS releases (i.e. 9.0.0, 9.1.0, 9.2.0), so it's not correct that the upgrade process is not reversible, unless the question is about a CD release. IBM always suggested being up-to-date with all maintenance before migrating to a new release. The backwards migration process has changed in 9.2, and there is no need to apply a specific backwards migration PTF before migrating. The backwards migration process in 9.2 is documented here: https://www.ibm.com/docs/en/ibm-mq/9.2?topic=92-reverting-queue-manager-previous-version-zos . All the MQ on z/OS migration information is documented under this topic: https://www.ibm.com/docs/en/ibm-mq/9.2?topic=mq-migrating-zos The question about backing up your page sets and logs is an interesting one. If you backed up your page sets, and restored a pageset, (and did not restore your logs from backup) then when you restart the queue manager it would replay the logs and bring the restored page set(s) up to date. If you back them up, go to the next release, run for a day and then decide to use your backups of page sets AND LOGS ( so your logs now do not have any updates since the backup) This causes problems like Messages which had been in the system, and processed - now appear again (from the backup) - so where the message said "PAY COLIN $100" would get processed twice. Any new messages which were not processed before shutting down and restoring would be overwritten by the restore. Any channels going to other queue managers which had sent messages, will get sequence number mismatches and you will have to reset the channels. So the lesson is, you can ( and should backup) your pages sets, but *do not try to restore the logs from backups* except under IBM's guidance. (As a good sysprog you will have tested the backup and restore of a page set - and have JCL already written to do this!) regards Colin If you were on LTS, you could go from 9.0 to 9.1 and back to 9.0 without losing any messages. On Tue, 27 Apr 2021 at 16:52, Steely.Mark wrote: > Has anyone upgraded from MQ 9.0 to 9.2 ? > > Is there any PTF's that need to be applied to 9.0 before going to 9.2. > This is the only thing I have found: > > While at MQ 9.0, take a full backup of the queue managers. Why? Because > the upgrade process is NOT reversible. If you need to revert back from MQ > 9.1 to 9.0, then you must delete the queue managers and restore the backup > taken at MQ 9.0. > > I know this statement is talking about 9.1 but I think it would also > relate going to 9.2. > > Any information relating to upgrading MQ would be appreciated. > > Thank You > > > > > *** Disclaimer *** > This communication (including all attachments) is solely for the use of > the person to whom it is addressed and is a confidential AAA communication. > If you are not the intended recipient, any use, distribution, printing, or > copying is prohibited. If you received this email in error, please > immediately delete it and notify the sender. > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: MQ For z/os
Remember to install UI57545 on your MQ 9.0 system. It is a compatibility PTF that would help with a fall back (I think) Lizette -Original Message- From: IBM Mainframe Discussion List On Behalf Of Steely.Mark Sent: Tuesday, April 27, 2021 8:53 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: MQ For z/os Has anyone upgraded from MQ 9.0 to 9.2 ? Is there any PTF's that need to be applied to 9.0 before going to 9.2. This is the only thing I have found: While at MQ 9.0, take a full backup of the queue managers. Why? Because the upgrade process is NOT reversible. If you need to revert back from MQ 9.1 to 9.0, then you must delete the queue managers and restore the backup taken at MQ 9.0. I know this statement is talking about 9.1 but I think it would also relate going to 9.2. Any information relating to upgrading MQ would be appreciated. Thank You *** Disclaimer *** This communication (including all attachments) is solely for the use of the person to whom it is addressed and is a confidential AAA communication. If you are not the intended recipient, any use, distribution, printing, or copying is prohibited. If you received this email in error, please immediately delete it and notify the sender. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Re: MQ For z/os
Hi Mark, I recently upgraded 9.0-9.1 on z/OS V2.3 One thing to know is that (ZPARM ) OPMODE (in CSQ6SYSP Macro) no longer available, chooses between COMPAT and NEWFUNC. (As of 9.1, it's all effectively NEWFUNC). This also (besides not allowing going backwards) means that you should set your REGION=0M and MEMLIMIT=3G. Before upgrading, I would backup all of the VSAMs // JOB //STEP001 EXEC PGM=ADRDSSU //SYSPRINT DD SYSOUT=* //ODD DD DISP=(.CATLG,DELETE), // UNIT=TAPE, // RECFM=U,BLKSIZE=27998, // DSN=VSAMBKUP //SYSIN DD * DUMP DS( - INCL( - PSID00 - BSDS01 - BSDS02 - LOGCOPY1.DS01 - LOGCOPY2.DS01 - ) - ODD(ODD) - OPT(4) - SHR - SPHERE - TOL(ENQF) and also generate the definitions (as commands) via MAKEDEF Commands: //PS00 EXEC PGM=CSQUTIL,PARM=CSQ1 //STEPLIB DD DISP=SHR,DSN=.SCSQAUTH // DD DISP=SHR,DSN=.SCSQANLE //OUTPUT1 DD DISP=OLD,DSN=COMMANDS(CFSTRUCT) //OUTPUT2 DD DISP=OLD,DSN=COMMANDS(CHANNEL) //OUTPUT3 DD DISP=OLD,DSN=COMMANDS(CHLAUTH) //OUTPUT4 DD DISP=OLD,DSN=COMMANDS(AUTHINFO) //OUTPUT5 DD DISP=OLD,DSN=COMMANDS(NAMELIST) //OUTPUT6 DD DISP=OLD,DSN=COMMANDS(PROCESS) //OUTPUT7 DD DISP=OLD,DSN=COMMANDS(QALIAS) //OUTPUT8 DD DISP=OLD,DSN=COMMANDS(QLOCAL) //OUTPUT9 DD DISP=OLD,DSN=COMMANDS(QMODEL) //OUTPUT0 DD DISP=OLD,DSN=COMMANDS(QREMOTE) //OUTPUTA DD DISP=OLD,DSN=COMMANDS(QUEUE) //OUTPUTB DD DISP=OLD,DSN=COMMANDS(STGCLASS) //OUTPUTC DD DISP=OLD,DSN=.COMMANDS(TOPIC) //OUTPUTD DD DISP=OLD,DSN=COMMANDS(QMGRALL) //OUTPUTE DD DISP=OLD,DSN=COMMANDS(CHLAUTH) //SYSPRINT DD SYSOUT=* //SYSIN DD * COMMAND DDNAME(CMDINP1) MAKEDEF(OUTPUT1) COMMAND DDNAME(CMDINP2) MAKEDEF(OUTPUT2) COMMAND DDNAME(CMDINP3) MAKEDEF(OUTPUT3) COMMAND DDNAME(CMDINP4) MAKEDEF(OUTPUT4) COMMAND DDNAME(CMDINP5) MAKEDEF(OUTPUT5) COMMAND DDNAME(CMDINP6) MAKEDEF(OUTPUT6) COMMAND DDNAME(CMDINP7) MAKEDEF(OUTPUT7) COMMAND DDNAME(CMDINP8) MAKEDEF(OUTPUT8) COMMAND DDNAME(CMDINP9) MAKEDEF(OUTPUT9) COMMAND DDNAME(CMDINP0) MAKEDEF(OUTPUT0) COMMAND DDNAME(CMDINPA) MAKEDEF(OUTPUTA) COMMAND DDNAME(CMDINPB) MAKEDEF(OUTPUTB) COMMAND DDNAME(CMDINPC) MAKEDEF(OUTPUTC) COMMAND DDNAME(CMDINPD) MAKEDEF(OUTPUTD) COMMAND DDNAME(CMDINPE) MAKEDEF(OUTPUTE) //CMDINP1 DD * DISPLAY CFSTRUCT(*) ALL //CMDINP2 DD * DISPLAY CHANNEL(*) ALL //CMDINP3 DD * DISPLAY CHLAUTH(*) ALL //CMDINP4 DD * DISPLAY AUTHINFO(*) ALL //CMDINP5 DD * DISPLAY NAMELIST(*) ALL //CMDINP6 DD * DISPLAY PROCESS(*) ALL //CMDINP7 DD * DISPLAY QALIAS(*) ALL //CMDINP8 DD * DISPLAY QLOCAL(*) ALL //CMDINP9 DD * DISPLAY QMODEL(*) ALL //CMDINP0 DD * DISPLAY QREMOTE(*) ALL //CMDINPA DD * DISPLAY QUEUE(*) ALL //CMDINPB DD * DISPLAY STGCLASS(*) ALL //CMDINPC DD * DISPLAY TOPIC(*) ALL //CMDINPD DD * DISPLAY QMGR ALL //CMDINPE DD * DISPLAY CHLAUTH(*) ALL Once it comes up, run a Batch Job: // JOB //STEP001 EXEC PGM=CSQUTIL,PARM=CSQ1 (where CSQ1 is the "name" of your Queue Manager) //STEPLIB DD DISP=SHR,DSN=.SCSQAUTH // DISP=SHR,DSN=.SCSQANLE //SYSPRINT DD SYSOUT=* //SYSIN DD * ALTER BUFFERPOOL(0) LOCATION(ABOVE) ALTER BUFFERPOOL(1) LOCATION(ABOVE) ALTER BUFFERPOOL(2) LOCATION(ABOVE) ALTER BUFFERPOOL(30 LOCATION(ABOVE) Regards, David On 2021-04-27 11:52, Steely.Mark wrote: Has anyone upgraded from MQ 9.0 to 9.2 ? Is there any PTF's that need to be applied to 9.0 before going to 9.2. This is the only thing I have found: While at MQ 9.0, take a full backup of the queue managers. Why? Because the upgrade process is NOT reversible. If you need to revert back from MQ 9.1 to 9.0, then you must delete the queue managers and restore the backup taken at MQ 9.0. I know this statement is talking about 9.1 but I think it would also relate going to 9.2. Any information relating to upgrading MQ would be appreciated. Thank You *** Disclaimer *** This communication (including all attachments) is solely for the use of the person to whom it is addressed and is a confidential AAA communication. If you are not the intended recipient, any use, distribution, printing, or copying is prohibited. If you received this email in error, please immediately delete it and notify the sender. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN . -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
MQ For z/os
Has anyone upgraded from MQ 9.0 to 9.2 ? Is there any PTF's that need to be applied to 9.0 before going to 9.2. This is the only thing I have found: While at MQ 9.0, take a full backup of the queue managers. Why? Because the upgrade process is NOT reversible. If you need to revert back from MQ 9.1 to 9.0, then you must delete the queue managers and restore the backup taken at MQ 9.0. I know this statement is talking about 9.1 but I think it would also relate going to 9.2. Any information relating to upgrading MQ would be appreciated. Thank You *** Disclaimer *** This communication (including all attachments) is solely for the use of the person to whom it is addressed and is a confidential AAA communication. If you are not the intended recipient, any use, distribution, printing, or copying is prohibited. If you received this email in error, please immediately delete it and notify the sender. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
IBM STSM Pete Siddall for MQ on z/OS is on Reddit doing an AMA (Ask Me Anything) right now for 2 hours
Hi all, We have Pete Siddall, IBM STSM for MQ for z/OS doing an AMA (Ask Me Anything) on Reddit's /r/mainframe right now (5p GMT / 1p ET) for the next 2 hours. If you want to join the discussion the details are right here: https://www.reddit.com/r/mainframe/comments/4aitm8/i_am_pete_siddall_ibm_stsm_for_mq_on_zos_please/ It's a great opportunity to ask Pete anything you like. Be that getting started with MQ or that problem that has been troubling you for months. There are already a few questions up. Hope to see you there! Chris Hodgins CICSPlex System Manager Developer MP208, IBM United Kingdom Limited, Hursley Park, Winchester, Hants, SO21 2JN. Tel External: +44 (0)1962 819892 Internal: 249892 The CICS blog: https://www.ibm.com/developerworks/community/blogs/ChrisHodgins/ -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Sample Programs for WebSphere MQ for z/OS V8.0.0?
Hello, I am looking for a sample program for MQ. I can find a lot of CICS COBOL samples for programs that prompt and get back text. For MQ I found the examples in the Application Programming Guide, but it looks like they are batch jobs. One will connect, but a different one disconnects. Q). Is there a sample program for MQ that is a CICS online program instead of MQ batch? I'd take Assembler if there is a good example (they don't even load the sample libraries for Assembler here). Thanks to everybody for all there help through the year, Dave -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN