Difference between revisions of "QCAVFYNM"
From MidrangeWiki
(Created page with "= Summary = The Verify Name (QCAVFYNM, QCAVERIFYNAME) API verifies an input value to determine if it is a valid system name. = Prototype for the QCAVFYNM API = <pre> dc...") |
m |
||
Line 3: | Line 3: | ||
= Prototype for the QCAVFYNM API = | = Prototype for the QCAVFYNM API = | ||
<pre> | <pre> | ||
− | + | dcl-pr ibmQCAVFYNM extpgm('QCAVFYNM'); | |
− | + | pNameInfo char(10) const; | |
− | + | pFormat char (8) const; | |
− | + | pError char (10); | |
− | + | end-pr; | |
− | + | dcl-ds ibmVFYN0100 qualified; | |
− | + | *n int (10) inz(28); | |
− | + | ccsid int (10) inz(*zero); | |
− | + | nametype char (10) inz('*NAME'); | |
− | + | monocase char (1) inz('0'); | |
− | + | *n char (1) inz(x'00'); | |
− | + | nameoffset int (10) inz(28); | |
− | + | namelength int (10); | |
− | + | name char (256); | |
− | + | end-ds; | |
</pre> | </pre> | ||
Revision as of 15:39, 19 October 2016
Summary
The Verify Name (QCAVFYNM, QCAVERIFYNAME) API verifies an input value to determine if it is a valid system name.
Prototype for the QCAVFYNM API
dcl-pr ibmQCAVFYNM extpgm('QCAVFYNM'); pNameInfo char(10) const; pFormat char (8) const; pError char (10); end-pr; dcl-ds ibmVFYN0100 qualified; *n int (10) inz(28); ccsid int (10) inz(*zero); nametype char (10) inz('*NAME'); monocase char (1) inz('0'); *n char (1) inz(x'00'); nameoffset int (10) inz(28); namelength int (10); name char (256); end-ds;