DB2 LF
DB2 LF
DB2 LF
Defn: - LF is a logical file which contains the logical view of the physical file
Points to be Remembered: CRTLF Command is used for creating the object of logical file Its object type is * File Its attribute is LF PFILE keyword is needed for the logical file [PFILE (Physical File Name)]
* Access Path is a way to retrieve the data from the database file, the way can be: Arrival Sequence Keyed Sequence
Step Ahead Technologies Pvt. Ltd. 1
UPDDTA - To update the data through the logical file in physical file
Prompt used for Logical File IPLF (Input Prompt for Logical File) Name Type
____
Name
EID
Length
___
Data Type
____
Decimal Positions
__
Use
__
Functions _____________________________
0 2
Field Level Key Field Level COMP(GT 503) COMP(LT 40) ALL Select / Omit Level
KEYWORDS
File Level
Unique (PF / LF)
REF (PF) FIFO (PF / LF) LIFO (PF / LF) FCFO (PF / LF) Refaccpth (LF) Dynslt (LF)
Field Level
Comp (PF / LF) Cmp (PF / LF) Rename (LF) Concate (LF) SST (LF) Range (PF / LF) DFT (PF) REFFLD (PF) ALWNULL (PF) COLHDG (PF / LF) DATFMT (PF / LF) DATSEP (PF / LF) TIMEFMT (PF / LF) TIMESEP (PF / LF)
NOTE: All the keywords are specified in function parameter of IPLF Prompt
Step Ahead Technologies Pvt. Ltd. 5