$title

CRTPTYPMBR Command Documentation

The Command

The CRTPTYPMBR (Create Prototype Member) Command will analyze a source member and generate the Prototypes for a /copy member. The /copy can pre-exist or the command can create a new one.

Below is a sample of the command screen:

code sample image
(click on image to view full size)

CRTPTYPMBR Command Parameters

Parameter NameDescription
Source FileThis is the source file for the source member to analyze (ex. QRPGLESRC, QSOURCE, etc.)
Source LibraryThe library in which the source file is located.
Source MemberThis is the source member you are analyzing in the previously listed File/Library. This will provide the source code for the eventual /copy member.
Prototype FileThis is the file name of the prototype /copy member to update or create. (ex. QRPGLESRC, QSOURCE, etc.)
Prototype LibraryThe library of the Prototype File.
Prototype MemberThe source member name of the /copy member.
Append To Prototype MemberIndicates whether or not the exported prototypes should be appended to an existing /copy member. A value of "*NO" (the default) will create a new member for the prototypes, and if "*YES" the prototypes will be added to the /copy member referenced in the Prototype parameters above.

The command will read through a source member and generate a matching prototype for each exported procedure.