COBOL Code Samples

Navigate back to home page
z/OS related collateral
Windows related collateral
SQL/mySQL related collateral
Link to code that can be used on websites.
Link to ASL Program Documentation
All our latest news
Contacting Abbydale Systems
Obtain product support/suggestions
https://www.abbydalesystems.com/Terms and con
General disclaimer
All about Abbydale Systems
How we got our company name
Our privacy policy
Our development strategy
Visit our guestbook

This page shows a list of some of our COBOL programs (and samples) that we want to make available.

Some of them will need tailoring to meet your own site requirements.

As ever you are free to use this code but please read our disclaimers and copyright information.



Page #1  
Notice: Undefined index: ManLink in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 36

Notice: Undefined index: SourceCode in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 37

Notice: Undefined index: ManLink in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 58

Notice: Undefined index: ManLink in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 36

Notice: Undefined index: SourceCode in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 37

Notice: Undefined index: ManLink in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 58

Notice: Undefined index: ManLink in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 36

Notice: Undefined index: SourceCode in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 37

Notice: Undefined index: ManLink in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 58

Notice: Undefined index: ManLink in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 36

Notice: Undefined index: SourceCode in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 37

Notice: Undefined index: ManLink in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 58

Notice: Undefined index: ManLink in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 36

Notice: Undefined index: SourceCode in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 37

Notice: Undefined index: ManLink in /home/u894969250/domains/abbydalesystems.com/public_html/COPaging.php on line 58
Name
Description
  This program demonstrates how to process parameters passed to a COBOL program.

This avoids the need to change code as it gets rolled out from development through to production it is recommended that the name of the target Queue manager and target queue(s) be passed to the program via the EXEC DD card rather than be hardcoded into the program.


  This code demonstrates how to gather system information from within a Cobol program.

The code really doesn't do anything useful, but it serves as an example of how to navigate down system control blocks and extract information from within them.

To see what information is maintained with system control blocks you will need to see the IBM documentation.

Getting the LPAR name of the system that the program is running on will allow the program to take decisions based upon it. For example, if the program is running on a development LPAR then you may want to write trace messages or take a different logic flow based on the LPAR.


  This code demonstrates how to gather system information from within a Cobol program.

The code really doesn't do anything useful, but it serves as an example of how to navigate down system control blocks and extract information from within them.

To see what information is maintained with system control blocks you will need to see the IBM documentation.

Getting the LPAR name of the system that the program is running on will allow the program to take decisions based upon it. For example, if the program is running on a development LPAR then you may want to write trace messages or take a different logic flow based on the LPAR.


  This is a little program that will display all of the MQ systems that are defined to a z/OS system.

It will show the status of the systems (i.e Active or Inactive), the MQ version and the PTF level.

The output from MQVERC is written to the output stream.

Link to information page click here.


  How to obtain the userid of the user running the program

This could be useful when creating dynamic reply queues or for allocating and using user datasets within a Cobol program

Link to information page click here.


Page #1  


If you need any support or assistance with any of the code on this site
or
if you would just like to contact us, please click here

follow us on facebook
Follow us on Facebook






Subscribe to our YouTube Channel Subscribe to our YouTube channel


CBT Tape Home Page MVS and OS/390 Freeware Link to the CBT website


Copyright © Abbydale Systems LLC 2015-2026

Abbydale Systems LLC Lic. 802696149. All rights reserved.