You are on page 1of 3

DB2/400 Test Paper Q1. The objects stored in AS/400 is in a single level storage. T/F Q2.

Following is an IBM supplied Library: a) QPGM b) QGPL c) QGLP d) QCL

Time: 45 mins

Q3. Library List is a list of libraries used for a process and the order in which it has to be searched. T/F Q4. In AS400 terminology Source Physical File is different from Physical File. T/F Q5. Can this PF file compile? If Not, Justify?
A A A A A A A R CUSTA CUSTID CUSTNAME R CUSTB ADDLINE1 ADDLINE2 PHONE# 10A 25A 50A 50A 25A

Q6. Will this LF compile? If Not, Please justify. A R REC1 PFILE(PF1) A K FLD1 A K FLD2 A R REC2 PFILE(PF2) A K FLD1 Q7. It possible to Join Logical file to itself. T/F Q8. Compiling of LF would delete the data of the file used. T/F Q9. Which command would be used to find if a physical file has logicals on it. Q10. Which of the below commands can be used to delete a record of a database file
a) WRKQRY b) Delete SQL statement c) CLRPFM d) DLTF

Q11. The keyword Unique is a mandatory keyword in physical file. T/F Q12. The process of removing data redundancy by decomposing relations in a Database is called ________ Q13. Everything on AS/400 that can be stored or retrieved is contained in an Object. T/F Q14. Which of the below is a type of library in AS400

a) User b) System c) Product d) All the above

Q15. Field reference files cannot be compiled. T/F Q16. It is mandatory for a physical file to have a key/keys. T/F Q17. Which of the below is/are true
a) A physical file can have multiple logical files. b) A logical file can be based on multiple physical file c) A physical file can be based on multiple physical file d) A logical file can be based on multiple logical file

Q18. If a multiple member physical file is complied, only the data of first member is deleted. T/F Q19. It is not possible to update a record using Join Logical file T/F Q20. Which of the following is/are not true statement about fields of a database file?
a) File Name is maximum of 14 Characters b) Field Names may not be unique. c) Record Format name is max of 10 characters d) For Date field data type there is no need to specify the length

Q21. Which of these is not a valid datatype


a) Floating point b) Hexadecimal c) Binary d) Time decimal

Q22. Which of the below is/are not a field level keyword


a) ABSVAL b) COLHDG c) CMP d) VALUES

Q23. Which command should be used to delete all the data from the database file? Q24. Which command should be used to find if the file has triggers? Q25. Which command should be used to find if the file has keys?

Q26. Which command should be used to remove a member from a multi member file? Q27. I have object name available of a PF. How can I find where is the DDS of the PF. Q28. Which if the following is/are mandatory functions in join logical file
a) JFILE b) JREF c) Both a) and b) d) None of the above

Q29. Which option should be used while coping data from one PF to another PF if their structures do not match. Q30. What are the advantages of journaling database file.

You might also like