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

58 lines
3.8 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="Use message subfiles in a CL program or procedure" />
<meta name="abstract" content="In CL procedures and programs, message subfiles are the only type of subfiles supported. Message subfiles let a controlling procedure or program display one or more error messages." />
<meta name="description" content="In CL procedures and programs, message subfiles are the only type of subfiles supported. Message subfiles let a controlling procedure or program display one or more error messages." />
<meta name="DC.subject" content="control language (CL), program, message subfile, message, subfile, using, message subfile" />
<meta name="keywords" content="control language (CL), program, message subfile, message, subfile, using, message subfile" />
<meta name="DC.Relation" scheme="URI" content="wmsgs.htm" />
<meta name="DC.Relation" scheme="URI" content="../rzahg/rzahgdds.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="subfi" />
<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>Use message subfiles in a CL program or procedure</title>
</head>
<body id="subfi"><a name="subfi"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use message subfiles in a CL program or procedure</h1>
<div><p>In CL procedures and programs, message subfiles are the only type
of subfiles supported. Message subfiles let a controlling procedure or program
display one or more error messages.</p>
<div class="section"> <p>To use subfile message support, run a <span class="cmdname">Send File (SNDF)</span> or <span class="cmdname">Send/Receive
File (SNDRCVF)</span> command using the subfile message control record.
In the DDS, supply SFLPGMQ data and always have SFLINZ active.</p>
<p>When
you use message subfiles in CL procedures and programs, you must name a procedure
or program. You cannot specify an * for the SFLPGMQ keyword in DDS. When you
specify a procedure or OPM program name, all messages sent to that procedure's
or program's message queue are taken from the invocation message queue and
placed in the message subfile. All messages associated with the current request
are taken from the CALL message queue and placed in the message subfile.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="wmsgs.htm" title="This discusses some of the ways that messages can be used to communicate between users and programs.">Messages</a></div>
</div>
<div class="relinfo"><strong>Related information</strong><br />
<div><a href="../rzahg/rzahgdds.htm">DDS</a></div>
</div>
</div>
</body>
</html>