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.
| 1. |
What Is The Purpose Of The "n" In The Following Calculation Specification? |
|
Answer» C KEY CHAIN FILE N 99.If you specify 'N' in 53rd position, the record will not be locked if you TRY to READ the locked record. It is a way of AVOIDING the record lock. C KEY CHAIN FILE N 99.If you specify 'N' in 53rd position, the record will not be locked if you try to read the locked record. It is a way of avoiding the record lock. |
|
| 2. |
How Can You Detect Overflow For A Print Program That Prints Multiple Lines Per Cycle? |
|
Answer» You SPECIFY the indicators OA through OG and OV in 33 - 34 columns in a printer file. This indicator AUTOMATICALLY set on whenever overflow OCCURS on a type of page. You specify the indicators OA through OG and OV in 33 - 34 columns in a printer file. This indicator automatically set on whenever overflow occurs on a type of page. |
|
| 3. |
How Can You Detect And Handle A Record Lock Situation? |
|
Answer» If you try to READ the locked record, we can get system defined message i. E. , the program will ended abnormally. With the HELP of File Information Data STRUCTURE we can handle record lock situation. Generally it will happen, when the same file of type " U" USED in different programs. If you try to read the locked record, we can get system defined message i. e. , the program will ended abnormally. With the help of File Information Data Structure we can handle record lock situation. Generally it will happen, when the same file of type " U" used in different programs. |
|
| 4. |
When Would You Use Or Not Use This Approach? |
|
Answer» It is the most DESIRABLE METHOD in building a REAL TIME applications. We can use at all the times. It is the most desirable method in building a real time applications. We can use at all the times. |
|
| 5. |
Define The Purpose/use For Sflrna? |
|
Answer» Using this, we can MAKE specified SUBFILE RECORD FORMAT inactive. Using this, we can make specified subfile record format inactive. |
|
| 6. |
What Is The Difference Between Sflclr And Sflinz? |
|
Answer» SFLCLR : It clears the subfile. SFLINZ : FIRST it clears the subfile and initiliazing the NUMERIC variables with zeros and ALPHANUMERIC variables with CHARACTERS. SFLCLR : It clears the subfile. SFLINZ : First it clears the subfile and initiliazing the numeric variables with zeros and alphanumeric variables with characters. |
|
| 8. |
Explain The Difference Between Defining Subfile And Message-subfile? |
|
Answer» Subfile RECORD is DEFINED by SFL KEYWORD, where as Message subfile is defined by SFLMSG keyword. Subfile record is defined by SFL keyword, where as Message subfile is defined by SFLMSG keyword. |
|
| 9. |
How To Toggle Between Single Line And Multi - Line Display Of A Particular Record In A Subfile? |
|
Answer» Using SFLDROP keyword. |
|
| 10. |
What Is The Use Of Sflend Keyword? |
|
Answer» By SPECIFYING this keyword, the Bottom/More MESSAGE could be DISPLAYED at end of SCREEN. By specifying this keyword, the Bottom/More message could be displayed at end of screen. |
|
| 11. |
How To Pick Up The Changed Records Every Time In A Subfile After The First Change Made? |
|
Answer» Seton SFLNXTCHG KEYWORD indicator and UPDATE the SUBFILE record. Seton SFLNXTCHG keyword indicator and update the subfile record. |
|
| 12. |
How Will You Display A Particular Page In Subfile? |
|
Answer» Move a VALID relative record number (RRN) in the FIELD specified using SFLRCDNBR keyword in DDS. Move a valid relative record number (RRN) in the field specified using SFLRCDNBR keyword in DDS. |
|
| 13. |
How Do You Specify The Number Of Records To Roll In A Subfile? |
|
Answer» Use SFLROLVAL KEYWORD in DDS ALONG with number, which specifies the number of RECORDS to scroll at a TIME. Use SFLROLVAL keyword in DDS along with number, which specifies the number of records to scroll at a time. |
|
| 14. |
Can More Than One Subfile Record Be Displayed On One Line? |
|
Answer» Yes, by using SFLLIN keyword. |
|
| 15. |
Maximum Number Of Subfiles That Can Be Active For A Single File Is? |
|
Answer» 12 12 |
|
| 16. |
Maximum Number Of Subfiles That Can Defined In A Rpg Program For One Display File Is? |
|
Answer» 24 24 |
|
| 17. |
What Is The Maximum Number Of Subfiles That Can Be Specified In A Display File, |
|
Answer» 512 512 |
|
| 18. |
What Are The Two Record Formats A Subfile Contain ? |
|
Answer» SUBFILE record FORMA (SFL), and subfile CONTROL record forma (SFLCTL). Subfile record forma (SFL), and subfile control record forma (SFLCTL). |
|
| 19. |
What Are All The Contents Of Subfile? |
|
Answer» Subfile RECORD Format, Subfile Control Record Format, Relative Record NUMBER, Subfile Record Number, ASSOCIATED Subfile Keywords. Subfile Record Format, Subfile Control Record Format, Relative Record Number, Subfile Record Number, Associated Subfile Keywords. |
|
| 20. |
What Is Subfile? |
|
Answer» Subfile is group of RECORDS of same RECORD FORMAT and can be read from or WRITE to the DISPLAY in a single operation. Subfile is group of records of same record format and can be read from or write to the display in a single operation. |
|
| 21. |
What Keyword Must Be Used With Protect Keyword? |
|
Answer» OVERLAY OVERLAY |
|
| 22. |
What Is The Purpose Of Frcdta Keyword ? |
|
Answer» Immediately DISPLAY a RECORD FORMAT without waiting for the NEXT I/O operation. Immediately display a record format without waiting for the next I/O operation. |
|
| 23. |
Explain The Use Of Dftwrt Display Keyword? |
|
Answer» No RECORDS will be DISPLAYED until there is any I/O OPERATION. No records will be displayed until there is any I/O operation. |
|
| 24. |
Explain The Purpose Of Keep And Assume Keywords? |
|
Answer» KEEP: Keep the display from being deleted when the display file is closed. ASSUME: It is used to specify that the OS/400 PROGRAM is to assume that this record is already SHOWN on the display when this file is OPENED. KEEP: Keep the display from being deleted when the display file is closed. ASSUME: It is used to specify that the OS/400 program is to assume that this record is already shown on the display when this file is opened. |
|
| 25. |
What Is The Purpose Of The Indara Keyword? |
|
Answer» This File-level keyword is used to remove option and response indicators from the BUFFER and PLACES them in 99-byte SEPARATE INDICATOR area. This File-level keyword is used to remove option and response indicators from the buffer and places them in 99-byte separate indicator area. |
|
| 26. |
In Conjunction With What Other Keyword Must Ovrdta And Ovrata Be Used? |
|
Answer» PUTOVR keyword must used. |
|
| 27. |
How Can A Message From A Message File Appear As A Constant On The Screen? |
|
Answer» By USING MSGCON (MESSAGE CONSTANT) KEYWORD. By using MSGCON (message constant) keyword. |
|
| 28. |
What The Purpose Of Ovrdta, Ovrata Keywords? |
|
Answer» 1.OVRDTA keyword (field or record level) can be USED to OVERRIDE the existing DATA contents of a field or record already on the DISPLAY. 1.OVRDTA keyword (field or record level) can be used to override the existing data contents of a field or record already on the display. |
|
| 29. |
Can Error Messages As A Result Of A Comp, Range Or Values Keyword Be Overridden? |
|
Answer» YES, through CHKMSGID KEYWORD. Yes, through CHKMSGID keyword. |
|
| 30. |
If Dspatr(pc) And Csrloc Were Specified For A Format, Which Keyword Would Have Priority? |
|
Answer» CSRLOC gains priority. |
|
| 31. |
What Is The Use Of Dspatr(mdt) Keyword? |
|
Answer» SETS on the MODIFIED Data TAG of the field. The Data Tag DETECT whether the field has been changed as a result of user input. Sets on the modified Data Tag of the field. The Data Tag detect whether the field has been changed as a result of user input. |
|
| 32. |
What Would Be The Effect On The Field Where Reverse Image, Underline And Highlight Display Attributes Were Active? |
|
Answer» The RESULT is same as if you had SPECIFIED ND. The result is same as if you had specified ND. |
|
| 33. |
How Can A Screen Field That Has Changed Since The Last Output Operation Be Detected ? |
|
Answer» Attach the MDT (MODIFIED data tag) ATTRIBUTE to the FIELD, to DETECT whether field has been changed as a RESULT of user input. Attach the MDT (modified data tag) attribute to the field, to detect whether field has been changed as a result of user input. |
|
| 34. |
What Is The Maximum Number Of Records You Can Specify In A Display File? |
|
Answer» 1024 1024 |
|
| 35. |
Difference Between Call & Sbmjob? |
|
Answer» CALL performs INTERACTIVELY JOB while SBMJOB performs batch job. CALL performs interactively job while SBMJOB performs batch job. |
|
| 37. |
What Is The Error If We Don't Get Login Screen? |
|
Answer» There is some PROBLEM with SUBSYSTEM. There is some problem with subsystem. |
|
| 38. |
How To Run Other Job When One Job Is Active? |
|
Answer» CHANGE the PRIORITY or RENAME the JOB. Change the priority or rename the job. |
|
| 39. |
What Is The Use Of Data Structures? |
|
Answer» 1.Dividing a FIELD into SUB fields. 1.Dividing a field into sub fields. |
|
| 41. |
A Join Logical File Has How Many Record Formats? |
|
Answer» 1 1 |
|
| 43. |
How Does Union File Maintains Record Formats? |
|
Answer» 1 Record format for each PF |
|
| 44. |
What Is Full Form For Dds? |
|
Answer» DATA DESCRIPTION SPECIFICATION Data Description Specification |
|
| 45. |
What Are Members? |
|
Answer» Members are SEPARATE entities within a DATABASE FILE & they are COMPONENTS of As/400 object. Members are separate entities within a database file & they are components of As/400 object. |
|
| 46. |
How Many Maximum Spaces Could Be Given In O Specs? |
|
Answer» 3 3 |
|
| 47. |
Which Are Control Break Logic Indicators? |
|
Answer» L1 – L9. L1 – L9. |
|
| 48. |
Which Are The String Manipulation Opcodes? |
|
Answer» TESTN, SCAN, CHECK, CHECKR, SUBST & CAT TESTN, SCAN, CHECK, CHECKR, SUBST & CAT |
|
| 49. |
Db2 Is A Type Of Database? |
|
Answer» It is an INTEGRATED RDBMS. It is an Integrated RDBMS. |
|
| 50. |
An Access Path May Be In Which Sequence? |
|
Answer» It can be in ARRIVAL & KEYED SEQUENCE. It can be in Arrival & Keyed sequence. |
|