117 lines
2.9 KiB
HTML
117 lines
2.9 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
|
|
<title>Qp2jobCCSID()--Retrieve Job CCCSID for i5/OS PASE</title>
|
|
<!-- Begin Header Records -->
|
|
<!-- 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. -->
|
|
<!-- Change History: -->
|
|
<!-- YYMMDD USERID Change description -->
|
|
<!-- Edited by Kersten Jan 02 -->
|
|
<!-- Created by V2DCIJB on 23 Nov 1999 -->
|
|
<!--End Header Records -->
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body>
|
|
<a name="Top_Of_Page"></a>
|
|
<!-- Java sync-link -->
|
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
|
</script>
|
|
|
|
<h2>Qp2jobCCSID()--Retrieve Job CCSID for i5/OS PASE</h2>
|
|
|
|
<div class="box" style="width: 75%;">
|
|
<br>
|
|
Syntax
|
|
|
|
<pre>
|
|
#include <qp2user.h> /* for ILE programs */
|
|
#include <as400_protos.h> /* for i5/OS PASE programs */
|
|
|
|
int Qp2jobCCSID(void);
|
|
</pre>
|
|
|
|
<br>
|
|
Service Program Name: QP2USER (for ILE programs)<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
i5/OS PASE Library: libc.a (for i5/OS PASE programs)<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
Default Public Authority: *USE<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
Threadsafe: Yes<br>
|
|
<!-- iddvc RMBR -->
|
|
<br>
|
|
</div>
|
|
|
|
<p><strong>Note:</strong> This function can be used in either an ILE program or
|
|
an i5/OS PASE program. See <a href="../rzalf/rzalfintro.htm">i5/OS PASE</a>
|
|
for more information about creating i5/OS PASE programs.</p>
|
|
|
|
<p>Qp2jobCCSID() returns the job default CCSID (coded character set identifier)
|
|
from the last time the i5/OS PASE CCSID was set. The i5/OS PASE CCSID is set
|
|
when an i5/OS PASE program starts, and can be changed by the i5/OS PASE
|
|
runtime function _SETCCSID.</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Parameters</h3>
|
|
|
|
<p>None.</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Authorities</h3>
|
|
|
|
<p>None.</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Return Value</h3>
|
|
|
|
<p>The function result is a coded character set identifier (CCSID), or 0 if
|
|
i5/OS PASE CCSID information is not available (such as when no i5/OS PASE
|
|
program is running in the job).</p>
|
|
|
|
<br>
|
|
|
|
|
|
<h3>Related Information</h3>
|
|
|
|
<ul>
|
|
<li><a href="qp2runpase.htm">Qp2RunPase()--Run an i5/OS PASE Program</a><br>
|
|
<br>
|
|
</li>
|
|
|
|
<li><a href="qp2paseccsid.htm">Qp2paseCCSID()--Retrieve i5/OS PASE
|
|
CCSID</a></li>
|
|
</ul>
|
|
|
|
<br>
|
|
|
|
<hr>
|
|
API introduced: V5R2
|
|
|
|
<hr>
|
|
<center>
|
|
<table cellpadding="2" cellspacing="2">
|
|
<tr align="center">
|
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
|
"pase1.htm">i5/OS PASE APIs</a> | <a href="aplist.htm">APIs by category</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</center>
|
|
</body>
|
|
</html>
|
|
|