Home > Ask the Data management / BI Experts > Questions & Answers > Yes you can use IBM Assembler language to access DB2 data
Ask The Data Management Expert: Questions & Answers
EMAIL THIS

Yes you can use IBM Assembler language to access DB2 data

Craig Mullins, Years 2005-2006 EXPERT RESPONSE FROM: Craig Mullins, Years 2005-2006

Pose a Question
Other Data Management Categories
Meet all Data Management Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 26 March 2004
I need to create some extract programs to read a set of DB2 tables in our mainframe environment? I don't have time to learn COBOL but I have 18 years of experience with MVS Assembler. Is there a way to connect the two (DB2 and Assembler)?

>
Although there is good news on your specific question, I first want to make sure you have exhausted all of the easier options. I am assuming that you have examined using DSNTIAUL or an UNLOAD utility to extract the needed data and that these options are not sufficient (perhaps due to complex processing requirements that need special programming logic). Also, I am going to assume that you do not have any 3GL that is better-suited to this type of task.

That being the case, yes you can use IBM Assembler language to access DB2 data. REXX maybe another option for you if you are familiar with it.

There is not sufficient space and this is not the correct forum for teaching the mechanics of how to code an Assembler program to extract DB2 data. The best place to start would be to download the IBM manual titled "Application Programming and SQL Guide" (the V8 manual number is SC18-7415) from the IBM Web site. Chapter 9 has a section to guide you through coding SQL statements in an Assembler program. Find the proper IBM DB2 manuals to download here. And good luck!

Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our discussion forums.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
IBM DB2 management
How to select an MPP database: DB2 vs. Teradata
What are the top database management systems (DBMS)?
Are there benefits to using both Teradata and a DB2 database?
Tips for evaluating top database management systems and choosing a small DBMS
Exec explains IBM's Information On Demand (IOD) initiative
IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 7
IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 6
IBM DB2 9 Fundamentals certification (Exam 730): Sample questions about tables, Part 5
DB2 basics
IBM DB2 basics

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts