NonStop SQL/MP Reference Manual

Table Of Contents
NonStop SQL/MP Reference Manual142115
P-28
PROGID File Attribute
column identifier for a column in the current SELECT list (a column name, column
position number, alias, or detail alias), a literal, an arithmetic expression, or a report
clause (for example, SKIP, SPACE, or TAB).
A print list is a set of one or more print items in a report writer command, separated by
commas, as follows:
print-item [ , print-item ] ...
See DETAIL Command on page D-43 for the complete syntax of a print item. See the
specific command in which you intend to specify a print item for any special restrictions
for that command.
PROGID File Attribute
PROGID is a Guardian file attribute that determines the process accessor ID (PAID) of a
process started from the program file. PROGID applies only to program files.
PROGID
sets the PAID of a process started from the file to the Guardian user ID of the file's
owner.
NO PROGID
sets the PAID of a process started from the file to the Guardian user ID of the user
that starts the process.
The default when a program is created is NO PROGID.
Program Invalidation
ASQL-compiled program that is registered in a catalog is either valid or invalid. A valid
program is one that can execute with the current description of the database and that is
marked as valid in the file label of the program file and in the PROGRAMS catalog
table.
An invalid program requires either explicit or automatic recompilation in order to
execute. An invalid program requires explicit recompilation in order to revalidate it.
Certain operations on database objects used by a program or on the file that contains the
program cause a program to become invalid. SQL automatically marks programs as
invalid in the PROGRAMS catalog table and in the file label when these operations
occur. SQL also deletes entries for the program in the USAGES catalog table.
Performing any of the following operations on an object used by a program invalidates a
registered program:
ALTER TABLE SIMILARITY CHECK ENABLE (or DISABLE)
ALTER VIEW SIMILARITY CHECK ENABLE (or DISABLE)
[ NO ] PROGID