Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


NAME

Use the NAME statement to define the name of the executable file.

NAME statement syntax
Read syntax diagramSkip visual syntax diagram>>-NAME--appname-----------------------------------------------><
 

You can also identify the output file as an .EXE file by using the /EXEC option.

If you use the NAME statement in your .DEF file, it must be the first statement, and you cannot use the LIBRARY statement.

The following example assigns the name calendar to the executable program:

NAME calendar

Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)