Home > Ask the AS/400 Experts > DB2/400 and DB2 UDB Questions & Answers > Are DDM files the best choice?
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Are DDM files the best choice?

Kent Milligan EXPERT RESPONSE FROM: Kent Milligan

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


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


>
QUESTION POSED ON: 23 July 2003
I have a RPG IV program that uses DDM files and local files at the same time. This program is being called from a CL that starts commitment control with level of record locking *CHG and scope *ACTGRP.

The program crashes when it's trying to open a local file, and the error message says that I can't place a local file under commitment control when commitment control is active at a remote, one-phase, updateable location.

The DDM files are being accessed through TCP/IP (RMTLOCNAME = IpAddress *IP). V5R1 is the release level of the system. How can I solve this problem?


>

Since DDM does not support two-phase commitment control, the only way to solve the problem is to use DRDA & SQL instead of DDM files. The Distributed Database Programming manual, should get you started.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: tips, tutorials and more.

Check out this Search400.com Featured Topic: Database issues resolved


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



RELATED CONTENT
DB2 UDB (universal databases)
Oracle boasts 11g on SPARC is faster than IBM DB2 on Power 595
When is the YES option for 'reuse deleted files' function the best choice?
Monitoring members 'stuck' within a physical file on an EDI system
Developing tables in a parent-child relationship in DB2
SQL server error message -321
Creating a host variable of the 'where in' statement in SQL
Choose which column names are returned via ODBC when working with DB2 files
Access path and an open data path differences
Database performance comparisons on IBM i
Implement variables in SQL when creating an alias
DB2 UDB (universal databases) Research

iSeries SQL commands and statements
Enhancing RPG with external SQL stored procedures
Tracking data changes on IBM i with triggers
Introduction to SQLRPGLE on IBM i: Making a report
Making the most of RPG data handling on IBM i
When is the YES option for 'reuse deleted files' function the best choice?
Monitoring members 'stuck' within a physical file on an EDI system
Creating a host variable of the 'where in' statement in SQL
SQL server error message -321
Choose which column names are returned via ODBC when working with DB2 files
Convert a numeric physical file to a character in SQL without leading zeros
iSeries SQL commands and statements Research

Oracle on iSeries
Oracle boasts 11g on SPARC is faster than IBM DB2 on Power 595
Debating DB2 versus Oracle
IBM steps up iSeries, pSeries overlap
Securing query definitions
New, undocumented Query function can boost your productivity
Get the system to recognize a date separator
Run multiple SQL statements
Populate a Lotus Notes database with iSeries data
Updating the 'VALUE' column using DB2/400
Inserting data into a table

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



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
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 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts