public static enum IPLIFile.Attr extends java.lang.Enum<IPLIFile.Attr>
Enum Constant and Description |
---|
APPEND
IBM Ent PL/I ENVIRONMENT attribute APPEND(Y|N) for "extend" or "open for append" mode.
|
BUFFERED
file is defined or opened for buffered operations that
may improve performance of certain read/write or get/put
operations.
|
BUFSIZE
IBM Ent PL/I ENVIRONMENT attribute BUFSIZE(n) file buffer size.
|
CATLG
IBM Ent PL/I Prog Guide describes JCL DISP arguments allowed after DSN keyword
CATLG - after close, keep the dataset
|
CHARSET
IBM Ent PL/I ENVIRONMENT attribute CHARSET(ASIS|ASCII|EBCDIC) for file encoding character set
EPLI: not implemented in environment; use DCB settings
|
DDNAME
the file is associated with a DDNAME specified on the command line or
in configuration files.
|
DELAY
IBM Ent PL/I ENVIRONMENT attribute DELAY(0 | n) milliseconds to delay before retrying file lock
EPLI: not implemented in FILE ENVIRONMENT clause; use DCB settings.
|
DELETE
IBM Ent PL/I Prog Guide describes JCL DISP arguments allowed after DSN keyword
DELETE - after close, delete the dataset
|
DIRECT
file is defined or opened for direct or random operations
such that data my be read or written in any order based on a record number.
|
INPUT
file is defined or opened for INPUT.
|
KEEP
IBM Ent PL/I Prog Guide describes JCL DISP arguments allowed after DSN keyword
KEEP - after close, keep the dataset
|
KEYED
file is defined or opened for direct or random operations
such that data my be read or written in any order based on an index key.
|
LRECL
IBM Ent PL/I ENVIRONMENT attribute LRECL(n) same as RECSIZE
EPLI: not implemented in FILE ENVIRONMENT clause.
|
LRMSKIP
IBM Ent PL/I ENVIRONMENT attribute LRMSKIP(n) The LRMSKIP option allows output to begin on the
nth line of the first page for the first SKIP format item to be executed after a file is opened.
|
MOD
IBM Ent PL/I Prog Guide describes JCL DISP arguments allowed after DSN keyword
MOD - open the dataset for append (same as APPEND)
|
OLD
IBM Ent PL/I Prog Guide describes JCL DISP arguments allowed after DSN keyword
OLD - open the dataset for exclusive access
|
OUTPUT
file is defined or opened for OUTPUT.
|
PRINT
file is being written for eventual printing
(printer control characters are generated).
|
PROMPT
IBM Ent PL/I ENVIRONMENT attribute PROMPT(Y|N) The PROMPT option specifies whether colons
should be visible as prompts for stream input from the terminal.
|
PUTPAGE
IBM Ent PL/I ENVIRONMENT attribute PUTPAGE(NOCR|CR) The PUTPAGE option specifies whether the
form feed character should be followed by a carriage return character.
|
RECCOUNT
IBM Ent PL/I ENVIRONMENT attribute RECCOUNT(n) The RECCOUNT option specifies the maximum number
of records that can be loaded into a relative or regional data set that is created during the
PL/I file opening process.
|
RECORD
file is defined as record-oriented for whcih PL/I
READ, WRITE, REWRITE, DELETE statements may be applied.
|
RECSIZE
IBM Ent PL/I ENVIRONMENT attribute RECSIZE(n|512) The RECSIZE option specifies the length of
records in the data set.
|
SAMELINE
IBM Ent PL/I ENVIRONMENT attribute SAMELINE(N|Y) The SAMELINE option specifies whether the
system prompt occurs on the same line as the statement that prompts for input.
|
SEQUENTIAL
file is defined or opened for sequential operations
such that data may be written or read in sequential order.
|
SHR
IBM Ent PL/I Prog Guide describes JCL DISP arguments allowed after DSN keyword
SHR - open the dataset for shared access
|
SKIP0
IBM Ent PL/I ENVIRONMENT attribute SKIP0(N|Y) The SKIP0 option specifies where the line cursor
moves when SKIP(0) statement is coded in the source program.
|
STREAM
file is defined as a stream for which PL/I
GET and PUT statements may be applied.
|
SYSERR
the file is associated with the standard error of the program, allowing
error messages to be routed separately from standard output
alternative of SYSIN, SYSOUT.
|
SYSIN
the file is associated with the standard input of the program, allowing
"piping" of information into this program.
|
SYSOUT
the file is associated with the standard output of the program, allowing
"piping" of information from this to another program.
|
TYPE
IBM Ent PL/I ENVIRONMENT attribute TYPE(LF|CRLF|TEXT|FIXED|CRLFEOF|U) The TYPE option specifies
the format of records in a native file.
|
UNBUFFERED
file is defined or opened for unbuffered operations that
may reduce performance but whose effects are more
likely to be reflected in the file.
|
UNCATLG
IBM Ent PL/I Prog Guide describes JCL DISP arguments allowed after DSN keyword
UNCATLG - after close, delete the dataset
|
UPDATE
file is defined or opened for both INPUT and OUTPUT.
|
VARIABLE
file is a variable, not a file constant, and must
be assigned from a file constant before use.
|
Modifier and Type | Method and Description |
---|---|
static IPLIFile.Attr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IPLIFile.Attr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IPLIFile.Attr VARIABLE
public static final IPLIFile.Attr INPUT
public static final IPLIFile.Attr OUTPUT
public static final IPLIFile.Attr UPDATE
public static final IPLIFile.Attr PRINT
public static final IPLIFile.Attr STREAM
public static final IPLIFile.Attr RECORD
public static final IPLIFile.Attr SEQUENTIAL
public static final IPLIFile.Attr DIRECT
public static final IPLIFile.Attr BUFFERED
public static final IPLIFile.Attr UNBUFFERED
public static final IPLIFile.Attr KEYED
public static final IPLIFile.Attr SYSIN
public static final IPLIFile.Attr SYSOUT
public static final IPLIFile.Attr SYSERR
public static final IPLIFile.Attr DDNAME
public static final IPLIFile.Attr APPEND
public static final IPLIFile.Attr BUFSIZE
public static final IPLIFile.Attr CHARSET
public static final IPLIFile.Attr DELAY
public static final IPLIFile.Attr LRECL
public static final IPLIFile.Attr LRMSKIP
public static final IPLIFile.Attr PROMPT
public static final IPLIFile.Attr PUTPAGE
public static final IPLIFile.Attr RECCOUNT
public static final IPLIFile.Attr RECSIZE
public static final IPLIFile.Attr SAMELINE
public static final IPLIFile.Attr SKIP0
public static final IPLIFile.Attr TYPE
public static final IPLIFile.Attr SHR
public static final IPLIFile.Attr OLD
public static final IPLIFile.Attr MOD
public static final IPLIFile.Attr KEEP
public static final IPLIFile.Attr DELETE
public static final IPLIFile.Attr CATLG
public static final IPLIFile.Attr UNCATLG
public static IPLIFile.Attr[] values()
for (IPLIFile.Attr c : IPLIFile.Attr.values()) System.out.println(c);
public static IPLIFile.Attr valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null