Professional Documents
Culture Documents
Join logical file joins more than one file. The maximum of number of files
allowed to join is 32 (thirty two).
103. What are the necessary keywords for the Join Logical file?
It only provides logical view based on the physical file. This is also called as
regular logical file.
Four levels. They are File level, Record level, Field level, Key field level.
107. What is the use of UNIQUE keyword and what level it is defined?
It will avoid to enter duplicate key values. We have to define it in a file level.
108. At what level S,O are defined and what they will do?
110. What is default data type (if you define decimals ’0′) in Physical file?
Packed decimal
111. What is default data type for the fields(sub fields) defined in data
structures in RPG?
Zoned decimal
If you specify JDFTVAL at file level, even the primary file record does not
match with secondary file record, the join takes place.
Yes. With the help of CRTPF we can achieve this. But we have to give record
length.
The records will be accessed the way in which records are added to physical
file.
120
RPG/400
121. How many specifications are there in RPG/400? What are they?
There are seven specifications are exits in RPG/400. They are listed below:
* Header Specification
* Extension specification
* Input specification
* Calculation specification
* Output specification
122. When do you use F-spec. continuation line ?
* In order to refer the named record format as a subfile record format in the
program.
124. When do you explicitly open files and close files in an RPG program?
If you specify the letter ‘ U ‘ at column 73-74, you need to be open and close
files explicitly in a RPG program.
With the help of ‘IN’ opcode, we can access the data area record in to the
program.
The different types of Data Areas are general data area, local data area,
group data area, pip (program initialization parameter data area) data area.
129. What are various techniques to pass parameters from one program to
another?
130. Which single RPG opcode performs both SETLL and READE?
CHAIN
An object is any thing that exists in and occupies space in storage and on
which operation can be performed.
All objects are stored on AS/400 in a single level storage. In this method all
objects are referenced by one virtual address which is translated in to a
physical address whether it is an auxiliary storage or main memory.