com.ibm.pdp.maf.rpp.pac.program
Enum ProgramUsageValues

java.lang.Object
  extended by java.lang.Enum<ProgramUsageValues>
      extended by com.ibm.pdp.maf.rpp.pac.program.ProgramUsageValues
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProgramUsageValues>

public enum ProgramUsageValues
extends java.lang.Enum<ProgramUsageValues>

List of usages of Data Structure.


Enum Constant Summary
_C
           
_D
           
_E
           
_I
           
_J
           
_M
           
_N
           
_P
           
_R
           
_S
           
_T
           
_X
           
_Y
           
 
Method Summary
static ProgramUsageValues valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProgramUsageValues[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

_C

public static final ProgramUsageValues _C

Consultation Any input file


_D

public static final ProgramUsageValues _D

Output file Any output file


_E

public static final ProgramUsageValues _E

Transaction with error checking Output transaction file containing a field identifying records with errors.

Generation of the fields to track the erroneous Elements, erroneous Segments and user-defined errors using the reserved Data Elements ENPR, GRPR and ERUT. Selected or not, the descriptions of these Elements are generated (using the DE-ERR and ER-PRR Data Elements).


_I

public static final ProgramUsageValues _I

Direct printing Direct printing (or by SYSOUT in IBM MVS).

Upon generation, the lines whose structure identifier is 00 in the Report are ignored.


_J

public static final ProgramUsageValues _J

Indirect printing Indirect printing to be processed by a spool Program.

The fields required to identify the lines, line skips... are indicated in the structure identifier 00 in the Report.


_M

public static final ProgramUsageValues _M

Transaction to be validated Input file to be validated which can update other files. The generated functions range from 30 to 76.

Note: Only one M: Transaction to be validated or N: Transaction not to be validated Data Structure is authorized in a Program.


_N

public static final ProgramUsageValues _N

Transaction not to be validated Input file which can update other files. The generated functions are: 30, 33, 39, 70 - 76.

Note: Only one M: Transaction to be validated or N: Transaction not to be validated Data Structure is authorized in a Program.


_P

public static final ProgramUsageValues _P

Principal Input file, likely to be updated by a transaction file (whose usage is M: Transaction to be validated or N: Transaction not to be validated)


_R

public static final ProgramUsageValues _R

Result Updated principal file in sequential access mode. (When the Data Structure contains an OCCURS DEPENDING ON clause, the output/result Data Structure must be declared as an D: Output file).


_S

public static final ProgramUsageValues _S

Selected Output file extracted from another file.

It differs from the D: Output file usage since the generated description in the output area is not detailed. For Data Elements with an OCCURS DEPENDING ON clause, the usage must be D: Output file.


_T

public static final ProgramUsageValues _T

Table stored in memory A file to be fully stored in memory. The table is generated according to the number of occurrences indicated on each Segment Definition. The maximum number of selected Segments for each Data Structure is 50.


_X

public static final ProgramUsageValues _X

Table partially stored in memory A file to be partially stored in memory.

Fillers included in the Segment composition are not stored. Elementary Data Elements other than fillers are limited to 10 (in addition to the Record type Element) for the '00' Segment and to 29 for each specific non-00 Segment.


_Y

public static final ProgramUsageValues _Y

Internal codification table

Method Detail

valueOf

public static ProgramUsageValues valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

values

public static ProgramUsageValues[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ProgramUsageValues c : ProgramUsageValues.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared