Previous Topic Next topic Print topic


&APS-PROGRAM-ID

Holds the PROGRAM-ID name from the Identification Division.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Syntax:

&APS-PROGRAM-ID

Aliases:

&aps-program-id     &Aps-Program-Id
&apsprogramid       &ApsProgramid
&APSPROGRAMID

Comment:

This function is initialized to the base name of the MAININ file, as specified on the command line. For LANG=SCOBOL only, the program name from the PROGRAM-ID statement is used.

Example:

Move the program ID name to PROGRAM-NAME.

MOVE &SQ&APS-PROGRAM-ID&SQ   TO PROGRAM-NAME
Previous Topic Next topic Print topic