InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 101. |
Which Single Rpg Opcode Performs Both Setll And Reade? |
|
Answer» CHAIN CHAIN |
|
| 102. |
What Are Various Techniques To Pass Parameters From One Program To Another? |
|
Answer» PLIST, CALL, TFRCTL |
|
| 103. |
What Are The Different Types Of Data Areas? |
|
Answer» The different types of Data Areas are general data AREA, local data area, GROUP data area, pip (program initialization parameter data area) data area. *General Data Area - It can be created by USER implicitely or explicitly * Local Data Area - It can not be referred by any other job. *Group Data Area - It is automatically created and deleted by the system We can access the group data area value through clp. *Pip Data Area - It is meant for pre start jobs. The different types of Data Areas are general data area, local data area, group data area, pip (program initialization parameter data area) data area. *General Data Area - It can be created by user implicitely or explicitly * Local Data Area - It can not be referred by any other job. *Group Data Area - It is automatically created and deleted by the system We can access the group data area value through clp. *Pip Data Area - It is meant for pre start jobs. |
|
| 104. |
How Do You Read Data Area In An Rpg Program? |
|
Answer» With the help of 'IN' OPCODE, we can access the data area RECORD in to the PROGRAM. With the help of 'IN' opcode, we can access the data area record in to the program. |
|
| 105. |
What Is The Purpose Of Indicators In Rpg? |
|
Answer» In order to CONTROL the logic FLOW, we can use INDICATORS in RPG. In order to control the logic flow, we can use indicators in RPG. |
|
| 106. |
How Do You Know That Records Are Locked? |
|
Answer» By using a command WRKOBJLCK. |
|
| 107. |
When Do You Explicitly Open Files And Close Files In An Rpg Program? |
|
Answer» If you specify the LETTER ' U ' at column 73-74, you need to be open and close files explicitly in a 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. |
|
| 108. |
What Are The Various Types Of Device Files? |
|
Answer» DISPLAY FILES, PRINTER files, discket files, TAPE files ETC. , Display files, printer files, discket files, tape files etc. , |
|
| 109. |
When Do You Use F-spec. Continuation Line ? |
|
Answer» * In order to refer the NAMED record format as a subfile record format in the PROGRAM. * In order to refer the named record format as a subfile record format in the program. |
|
| 110. |
How Many Specifications Are There In Rpg/400? What Are They? |
|
Answer» There are seven specifications exits in RPG/400. They are listed below:
There are seven specifications exits in RPG/400. They are listed below:
|
|
| 111. |
What Is Arrival Sequence? |
|
Answer» The RECORDS will be ACCESSED the way in which records are ADDED to PHYSICAL file. The records will be accessed the way in which records are added to physical file. |
|
| 113. |
Difference Between Interactive & Batch Job? |
|
Answer» Batch job begins, runs & CONTINUES to execute INSTRUCTIONS without HUMAN intervention or control while. Batch job begins, runs & continues to execute instructions without human intervention or control while. |
|
| 114. |
What Is Rpg Fixed Logic Cycle? |
|
Answer» A LOGIC the compiler SUPPLIES is called RPG FIXED Logic CYCLE. A logic the compiler supplies is called RPG Fixed Logic Cycle. |
|
| 115. |
File Access Opcodes? |
|
Answer» READ, SETLL, SETGT, READE, READP, READPE CHAIN, KLIST, KFLD, EXCPT & WRITE. READ, SETLL, SETGT, READE, READP, READPE CHAIN, KLIST, KFLD, EXCPT & WRITE. |
|
| 116. |
What Does Lokup Does In Tables & Arrays? |
|
Answer» The LOKUP OPCODE SEARCHES the FACTOR1 entry in table or array. The LOKUP opcode searches the Factor1 entry in table or array. |
|
| 117. |
In 'o' Specs What Is The Opcode For Write? |
|
Answer» EXCPT. EXCPT. |
|
| 119. |
What Is Cab? |
|
Answer» It COMPARES Factor1 with Factor2 & if CONDITION is true, control is transferred to label DESIGNATED in the RESULT field. The label specified MUST appear as the Factor1 of a TAG operation somewhere in the program. It compares Factor1 with Factor2 & if condition is true, control is transferred to label designated in the result field. The label specified must appear as the Factor1 of a TAG operation somewhere in the program. |
|
| 120. |
What Are Indicators? |
|
Answer» INDICATORS are INBUILT CLASS of VARIABLES for RPG. Indicators are inbuilt class of variables for RPG. |
|
| 122. |
Which Are The Figurative Constants Used In Rpg? |
|
Answer» *ZERO,*BLANK, *ZEROS, *BLANKS, *HIVAL, *LOVAL, *OFF, *ON & *ALL. *ZERO,*BLANK, *ZEROS, *BLANKS, *HIVAL, *LOVAL, *OFF, *ON & *ALL. |
|
| 123. |
What Are The Basic Features Of Seu? |
|
Answer» Prompt depending upon type, shows right HAND side DATE & LEFT hand side the line NUMBER. Prompt depending upon type, shows right hand side date & left hand side the line number. |
|
| 124. |
How Many Types Of Display Are Available On As/400 For User Interaction? |
|
Answer» 4 Types they are ENTRY, Menu, INFORMATION & LIST Display. 4 Types they are Entry, Menu, Information & List Display. |
|
| 126. |
Difference Between Skip Before & Space Before? |
|
Answer» Skip before leaves the SPECIFIED no. of LINES moving to the next page while Space before leaves the specified no. of lines on that page. Skip before leaves the specified no. of lines moving to the next page while Space before leaves the specified no. of lines on that page. |
|
| 127. |
When You Are Defining A Flat File In Your Program In F Specs Which Format Will You Specify? |
|
Answer» FLAT File: - F (FIXED Length) Other File: - E (Externally DESCRIBED) Flat File: - F (Fixed Length) Other File: - E (Externally Described) |
|
| 128. |
How Many Printer Files Maximum Can Be Used In Single Rpg Program? |
|
Answer» 8 because of the OVERFLOW INDICATORS OA-OG & OV. 8 because of the overflow indicators OA-OG & OV. |
|
| 129. |
How Does The Runqry Show The Output? |
|
Answer» RUNQRY SHOWS the OUTPUT always in RRN (RELATIVE Record Number) & not in keyed SEQUENCE. RUNQRY shows the output always in RRN (Relative Record Number) & not in keyed sequence. |
|
| 130. |
What Does The Ovrdbf Command Do? |
|
Answer» It OVERRIDES the PF TEMPORARILY for a JOB. It overrides the PF temporarily for a job. |
|
| 132. |
Difference Between Ca & Cf? |
|
Answer» CA: - It does not RETAINS the value into the BUFFER memory. CF: - It retains the value into the buffer memory. CA: - It does not retains the value into the buffer memory. CF: - It retains the value into the buffer memory. |
|
| 133. |
What Is The Difference Between Goto & Exsr? |
|
Answer» EXSR is a CONDITIONAL BRANCHING while a GOTO is an UNCONDITIONAL branching. EXSR is a conditional branching while a GOTO is an unconditional branching. |
|
| 134. |
How Many Specs Are There In Rpg & Which Are They? |
|
Answer» There are 7 SPECS in RPG they are H, F, E, L, I, C & O. There are 7 Specs in RPG they are H, F, E, L, I, C & O. |
|
| 135. |
What Is A Spool File? |
|
Answer» Printed output ITEMS PLACED in an output QUEUE are known as spooled FILES. Printed output items placed in an output queue are known as spooled files. |
|
| 136. |
In Which Specs Arrays, Tables & Constants Are Defined? |
|
Answer» In I SPECS. In I Specs. |
|
| 137. |
Which Are The Member Types Which Seu Supports? |
|
Answer» RPG, CL, PF, LF, PRTF & DSPF. RPG, CL, PF, LF, PRTF & DSPF. |
|
| 138. |
What Are The Different Methods To Access Seu? |
|
Answer» USE the START Source ENTRY Utility command (STRSEU) Option 8 from STRPGMMNU Through PROGRAM DEVELOPMENT Manager (PDM) Use the Start Source Entry Utility command (STRSEU) Option 8 from STRPGMMNU Through Program Development Manager (PDM) |
|
| 139. |
What Is The Object Type Of Pf, Lf, Printer File & Display File? |
|
Answer» *FILE *File |
|
| 140. |
Difference Between Source Physical File & Physical File? |
|
Answer» SOURCE Physical File CONTAINS members who CONTAIN source statements & Physical File contains members, which contain DATA. Source Physical File contains members who contain source statements & Physical File contains members, which contain data. |
|
| 141. |
What Is Library? |
|
Answer» A LIBRARY is a system object that serves as a DIRECTORY to other OBJECTS or collection of object. A library is a system object that serves as a directory to other objects or collection of object. |
|
| 142. |
What Is The Difference Between Normal Upddta To Pf And Updating Using Dfu Program? |
|
Answer» Both are same only DIFFERENCE is DFU allows you to add or CHANGE selected FIELDS. Both are same only difference is DFU allows you to add or change selected fields. |
|
| 143. |
Using Dfu, User Will Be Able To ___________ From Physical File? |
|
Answer» Add/Update/Selected or all FIELDS. Add/Update/Selected or all fields. |
|
| 144. |
Can A Join Logical File Be Updated? |
|
Answer» No. No. |
|
| 145. |
What Is A Join Logical File? |
|
Answer» A join Logical File can be BUILT over the TWO PF’s, with the PF’s ‘JOINED’ by a COMMON key value. It is available for read ACCESS. A join Logical File can be built over the two PF’s, with the PF’s ‘joined’ by a common key value. It is available for read access. |
|
| 146. |
What Is The Command To Know Key Fields Of File? |
|
Answer» DSPFD (F4) *ACCPTH(ACCESS PATH). DSPFD (F4) *ACCPTH(Access Path). |
|
| 147. |
What Is The Command To Know How Many Lf Are Related To A Pf? |
|
Answer» DSPDBR (DISPLAY DATABASE RELATIONSHIP) DSPDBR (Display Database Relationship) |
|
| 148. |
How Can You Specify No Duplicate Key? |
|
Answer» By defining the unique key. |
|
| 149. |
What Is Logical File? |
|
Answer» A LOGICAL FILE is an ACCESS PATH to the PHYSICAL File. A Logical file is an Access path to the Physical File. |
|
| 150. |
What Is A Composite Key? |
|
Answer» Defining more than one KEY as a key field in PHYSICAL file. Defining more than one key as a key field in physical file. |
|