ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/prodl.htm

56 lines
4.0 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="task" />
<meta name="DC.Title" content="Prevent updates to database files in production libraries" />
<meta name="abstract" content="You can use files in production libraries while you are in debug mode, and therefore need to prevent the files from being unintentionally updated." />
<meta name="description" content="You can use files in production libraries while you are in debug mode, and therefore need to prevent the files from being unintentionally updated." />
<meta name="DC.subject" content="see='member'.database file, preventing, update in production library, protecting, file from unintentional modification, testing, preventing, update to files while testing, STRDBG (Start Debug) command, preventing update to file, Start Debug (STRDBG) command" />
<meta name="keywords" content="see='member'.database file, preventing, update in production library, protecting, file from unintentional modification, testing, preventing, update to files while testing, STRDBG (Start Debug) command, preventing update to file, Start Debug (STRDBG) command" />
<meta name="DC.Relation" scheme="URI" content="stdbg.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="prodl" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Prevent updates to database files in production libraries</title>
</head>
<body id="prodl"><a name="prodl"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Prevent updates to database files in production libraries</h1>
<div><p>You can use files in production libraries while you are in debug
mode, and therefore need to prevent the files from being unintentionally updated.</p>
<div class="section"> <p> To prevent database files in production libraries from being
unintentionally changed, you can specify UPDPROD(*NO) or default to *NO on
the <span class="cmdname">Start Debug (STRDBG)</span> command. Then, only
files in test libraries can be opened for updating or adding new records.
If you want to open database files in production libraries for updating or
adding new records or if you want to delete members from production physical
files, you can specify UPDPROD(*YES).</p>
<p>You can use this function with
the library list. In the library list for your debug job, you can place a
test library before a production library. You should have copies of the production
files that might be updated by the program being debugged in the test library.
Then, when the program runs, it uses the files in the test library. Therefore,
production files cannot be unintentionally updated.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="stdbg.htm" title="Debug mode is a special environment in which the testing functions can be used in addition to the normal system functions.">Start debug mode</a></div>
</div>
</div>
</body>
</html>