Guardian Programming Reference Summary for C

Functions Summary (D-F)
Guardian Programming Reference Summary for C—522630-001
5-3
checknum
DEFINEDELETE
Deletes a DEFINE from the calling process’s context.
2059 = Working set is invalid.
2066 = Missing parameter.
2069 = The DEFMODE of the process does not permit the addition of the
DEFINE.
001 = Specify either RETENTION or EXPIRATION, not both.
002 = If you specify USE IN or EXTEND, you must include LABELS ANSI,
VOLUMES.
003 = If you specify VOLUME, you must also specify LABELS ANSI, LABELS
IBM, or LABELS IBMBACKUP. If you specify one of theseLABELS, you
must also specify VOLUME.
004 = If you specify LABELS ANSI, you must not specify LABELS EBCDIC, and
vice versa.
005 = If you specify RECFORM F, then you must specify a BLOCKLEN that is a
multiple of RECLEN.
006 = If you specify DEVICE, you cannot specify SYSTEM in the same DEFINE,
and vice versa.
007 = If you specify LABELS BYPASS or LABELS OMITTED, then DEVICE is
required and the following attributes may not be specified: VOLUME,
OWNER, FILESECT, FILESEQ, FILEID, RETENTION, EXPIRATION,
GEN, VERSION, RECFORM, BLOCKLEN, RECLEN, REELS, USE,
EBCDIC, SYSTEM.
008 = If you specify VOLUME SCRATCH, then USE IN or USE EXTEND is not
allowed.
009 = If you specify LABELS IBM or LABELS IBMBACKUP, FILEID must be
specified.
010 = If you do not specify BLOCKLEN but do specify RECLEN, you must
specify a RECLEN value that is greater than 0.
011 = If you specify LABELS IBMBACKUP, the system you specify in the
SYSTEM or DEVICE attribute must have an operating system version of
C20 or later.
#include <cextdecs(DEFINEDELETE)>
short DEFINEDELETE ( constchar *define-name ); /* i */