This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Describe About Query/400? |
|
Answer» QUERY/400 is a licensed program that uses a query to analyze and select the information contained in the data base files and create a query report. Query/400 is a licensed program that uses a query to analyze and select the information contained in the data base files and create a query report. |
|
| 2. |
Define A Batch Job? |
Answer»
|
|
| 3. |
What Are The Valid User Defined Data Area Types? |
|
Answer» CHAR, NUMERIC and LOGICAL |
|
| 4. |
What Is Multiformat Logical File? |
|
Answer» Logical which uses FIELDS from TWO or more physical FILES. Logical which uses fields from two or more physical files. |
|
| 5. |
What Is The Select And Omit Criteria In Logical File? |
|
Answer» This is USED to specify rules for the Selection/Omission of RECORDS from a Physical File. This is used to specify rules for the Selection/Omission of records from a Physical File. |
|
| 6. |
Can Fields Be Concatenated Ina Logical File Level? |
|
Answer» Yes. by using CONCAT keyword |
|
| 7. |
When Would The All Keyword Be Used? |
|
Answer» USE with SELECT or OMIT, to select/omit RECORDS. Use with Select or Omit, to select/omit records. |
|
| 8. |
What Are The Different Types Of Keywords In Display Files? |
|
Answer» FILE LEVEL, RECORD FORMAT level, FIELD level File level, Record format level, Field level |
|
| 9. |
What Is Difference Between Cat, Tcat, Bcat? |
|
Answer» CAT – Concatenate two variables or CONSTANTS into one CONTINUOUS string. CAT – Concatenate two variables or constants into one continuous string. |
|
| 10. |
What Are The Different Types Of Messages In Cl? |
|
Answer» IMMEDIATE MESSAGE, BREAK message, PROGRAM message, USER message Immediate message, Break message, Program message, User message |
|
| 11. |
How To Trap Errors In Cl? |
|
Answer» By USING MONITOR MESSAGE COMMAND (MONMSG) By using Monitor Message Command (MONMSG) |
|
| 12. |
What Is The Maximum Length Of A Variable Name In Cl? |
|
Answer» MAXIMUM 11 CHARACTERS (INCLUDING ‘&’) Maximum 11 characters (including ‘&’) |
|
| 13. |
What Is The Use Of Header Specification In Rpg/400? |
|
Answer» It identifies by H in column 6, PROVIDES INFORMAION about generating and RUNNING programs. It identifies by H in column 6, provides informaion about generating and running programs. |
|
| 14. |
When Will Dump And Debug Opcodes Be Ignored? |
|
Answer» If BLANK is specified in position 15 of H specs. If blank is specified in position 15 of H specs. |
|
| 15. |
Specify Different Indicators Used In Rpg? |
Answer»
|
|
| 16. |
What Is The Use Of E Specification In Rpg? |
|
Answer» Extension SPECS describes all RECORD ADDRESS FILES, arrays and tables. Extension Specs describes all record address files, arrays and tables. |
|
| 17. |
What Are Control Level Indicators? |
|
Answer» L1 to L9 USED to identify CERTAIN fields on CONTROL fields and then used to CONDITION which OPERATIONS are to be processed at detail or total calculation or output time. L1 to L9 used to identify certain fields on control fields and then used to condition which operations are to be processed at detail or total calculation or output time. |
|
| 18. |
What Is The Use Of L Specs In Rpg? |
|
Answer» Line counter SPECIFICATION can be used to describe printer file to indicate the length of the FORM and NUMBER of LINES per PAGE. Line counter specification can be used to describe printer file to indicate the length of the form and number of lines per page. |
|
| 19. |
What Is Library Is As400? What Are The Types Of Library? |
|
Answer» When we execute a command or call a program, the AS/400 MUST know where to find the command or program and the answer is library. A Library is a collection of objects. QSYS is the only library that contains other library. QSYS is the root library where the entire user defined/ SYSTEM defined library is created. System supplied libraries begin with the letter "Q" or "#". When we execute a command or call a program, the AS/400 must know where to find the command or program and the answer is library. A Library is a collection of objects. QSYS is the only library that contains other library. QSYS is the root library where the entire user defined/ system defined library is created. System supplied libraries begin with the letter "Q" or "#". |
|
| 21. |
What Is Source Physical File? |
|
Answer» SOURCE physical file is a file which contains the sources of DIFFERENT types of objects. There can be up to 32768 members. Source physical file is an object. But the source member is not an object. When we compile the member, the object is CREATED for that source. Command used is CRTSRCPF. Source physical file is a file which contains the sources of different types of objects. There can be up to 32768 members. Source physical file is an object. But the source member is not an object. When we compile the member, the object is created for that source. Command used is CRTSRCPF. |
|
| 22. |
How To See All Members Of A File? |
|
Answer» By USING the COMMAND SHOWN below: By using the command shown below: |
|
| 23. |
How To See All Record Formats Used In A File? |
|
Answer» By USING the COMMAND SHOWN below: By using the command shown below: |
|
| 24. |
How Can We Arrange Duplicate Records In A File? |
|
Answer» For this we will USE file level keywords FIFO/LIFO/FCFO in the physical file. For this we will use file level keywords FIFO/LIFO/FCFO in the physical file. |
|
| 25. |
Can Level Check Error Occur If We Do Chgpf? |
|
Answer» It depends on the value that we have SET for LVLCHK (RECORD format LEVEL check) attribute. If its value is *YES then the record format level identifier is checked when the file is OPENED and if it doesn’t MATCH it throws the error. If its value is *NO, then the record format level identifier is not checked, hence no error. It depends on the value that we have set for LVLCHK (Record format level check) attribute. If its value is *YES then the record format level identifier is checked when the file is opened and if it doesn’t match it throws the error. If its value is *NO, then the record format level identifier is not checked, hence no error. |
|
| 26. |
What Is The Use Of Jdftval In As400? |
| Answer» | |
| 27. |
What Is The Difference Between Access Path And Dynamic Select? |
|
Answer» Dynamic SELECT OCCURS whenever the program reads FILE. But ACCESS PATH occurs before the file is read (but not necessarily). Dynamic select occurs whenever the program reads file. But access path occurs before the file is read (but not necessarily). |
|
| 28. |
What Is Dynslt? |
|
Answer» DYNSLT: Use this file-level keyword to indicate that the SELECTION and omission TESTS specified in the file (using select/omit specifications) are done at PROCESSING time. This keyword specifies dynamic select/omit rather than access path select/omit. DYNSLT: Use this file-level keyword to indicate that the selection and omission tests specified in the file (using select/omit specifications) are done at processing time. This keyword specifies dynamic select/omit rather than access path select/omit. |
|
| 29. |
What Is Logical File In As400? What Are The Types Of Logical File? |
|
Answer» Logical file :
Types of Logical file : There are two types.
Logical file : Types of Logical file : There are two types. |
|
| 30. |
What Is The Default Access Path Of A File? |
|
Answer» If you do not specify the type of maintenance for a FILE, the DEFAULT is IMMEDIATE maintenance. If you do not specify the type of maintenance for a file, the default is immediate maintenance. |
|
| 31. |
What Are The Record Format Field Mapping Options In Cpyf? |
|
Answer» RECORD format field mapping (FMT): MAP : Fields with the same name in the from-file and to-file record formats are copied, and any fields in the to-file that do not exist in the from-file format are set to the default value specified on the DFT keyword for the data description specification (DDS) of the to-file or zero for numeric fields, blanks for character fields, current date/time for date/time fields, or null value for null-capable fields. Record format field mapping (FMT): MAP : Fields with the same name in the from-file and to-file record formats are copied, and any fields in the to-file that do not exist in the from-file format are set to the default value specified on the DFT keyword for the data description specification (DDS) of the to-file or zero for numeric fields, blanks for character fields, current date/time for date/time fields, or null value for null-capable fields. |
|
| 32. |
What Is The Difference Between Crtdupobj And Copyf? |
|
Answer» In CRTDUPOBJ for a logical FILE the created duplicate file will be also logical file and for a physical file the created file will also be a physical file. Even the RECORD format identifier will also be the same. While in CASE of COPYF, if we are COPYING a logical file then the created file be a physical file not a logical file. In CRTDUPOBJ for a logical file the created duplicate file will be also logical file and for a physical file the created file will also be a physical file. Even the record format identifier will also be the same. While in case of COPYF, if we are copying a logical file then the created file be a physical file not a logical file. |
|
| 33. |
What Is Access Path In As400? |
|
Answer» Access path
Access path |
|
| 34. |
What Is The Difference Between Non-join Logical Files And Join Logical Files? |
|
Answer» Non join logical FILE:
Join logical file:
Non join logical file: Join logical file: |
|
| 35. |
What Is The Difference Between Physical File And Logical File? |
|
Answer» Physical file
Logical file
Physical file Logical file |
|
| 36. |
What Is Array In As400? What Are The Types Of Array? |
|
Answer» Array is collection of elements of same DATA type. Array is collection of elements of same data type. |
|
| 37. |
What Is Data Structure In As400? What Is The Use Of Data Structure? |
|
Answer» DATA STRUCTURE :
Data Structure is used:-
DATA STRUCTURE : Data Structure is used:- |
|
| 38. |
What Are The Types Of Data Structure In As400? |
|
Answer» Below are the types of DATA structures in as/400:
Below are the types of data structures in as/400: |
|
| 39. |
What Is Program Status Data Structure(psds) In As400? |
|
Answer» A program status data structure (PSDS) can be defined to make program exception/error INFORMATION available to the program so that the necessary action can be taken for the UNHANDLED exception. The exception /errors can beDivide by ZERO, array index out-of-bound, INVALID Date, Time or Timestamp value. The PSDS must be defined in the main source section; THEREFORE, there is only one PSDS per module. A program status data structure (PSDS) can be defined to make program exception/error information available to the program so that the necessary action can be taken for the unhandled exception. The exception /errors can beDivide by zero, array index out-of-bound, Invalid Date, Time or Timestamp value. The PSDS must be defined in the main source section; therefore, there is only one PSDS per module. |
|
| 40. |
What Is File Information Data Structure(infds) In As400? |
|
Answer» A FILE INFORMATION data structure (INFDS) can be DEFINED for each file to make file exception/error and file FEEDBACK information available to the program. A file information data structure (INFDS) can be defined for each file to make file exception/error and file feedback information available to the program. |
|
| 41. |
How Can We Create Subsystem In As400? |
|
Answer» Steps of creating the subsystem : Steps of creating the subsystem : |
|
| 42. |
What Is Compiler Directive In As400? Give Example Of Compiler Directive.? |
|
Answer» Compiler directive : Compiler directive is an instruction (directive) given to the compiler, to perform some SPECIFIC task during compilation or to GENERATE customize compiler listing report after compilation. Compiler directive : Compiler directive is an instruction (directive) given to the compiler, to perform some specific task during compilation or to generate customize compiler listing report after compilation. |
|
| 43. |
Define A Job Queue? |
|
Answer» JOB queues are queues of batch jobs WAITING to be PROCESSED. Job queues are queues of batch jobs waiting to be processed. |
|
| 44. |
What Is The Purpose Of Level Check Parameter In A Physical File? |
|
Answer» SPECIFIES whether the LEVEL identifiers of the RECORD FORMATS in the PHYSICAL file are checked when the file is opened by the program. Specifies whether the level identifiers of the record formats in the physical file are checked when the file is opened by the program. |
|
| 45. |
Describe The Function Of Setgt Operation In Rpg Language? |
|
Answer» The SETGT operation POSITIONS a file at the NEXT RECORD with a KEY or relative record number that is greater than key or relative record number specified in factor 1. The SETGT operation positions a file at the next record with a key or relative record number that is greater than key or relative record number specified in factor 1. |
|
| 46. |
Describe The Function Of Setll Operation In Rpg Language? |
|
Answer» The SETLL operation positions a file at the next RECORD with a key or relative record NUMBER that is greater than or EQUAL to key or relative record number SPECIFIED in factor1. The SETLL operation positions a file at the next record with a key or relative record number that is greater than or equal to key or relative record number specified in factor1. |
|
| 47. |
How Many Libraries Can Be There In Library List? |
|
Answer» TOTAL 40 (15 SYSTEM and 25 application). Total 40 (15 system and 25 application). |
|
| 48. |
What Is Library List? |
|
Answer» A LIST that INDICATES libraries used for the PROCESS and the order in which it has to be searched System IDENTIFIES it in *LIBL. A list that indicates libraries used for the process and the order in which it has to be searched System identifies it in *LIBL. |
|
| 49. |
What Is A Library In As/400? |
|
Answer» A LIBRARY in AS/400 is an OBJECT that serve(acts) as a repository for other OBJECTS. A library in AS/400 is an object that serve(acts) as a repository for other objects. |
|
| 50. |
How Are The Objects Stored On As/400? |
|
Answer» 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. 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. |
|