Top DB400 Interview Questions :: ALLInterview.com http://www.allinterview.com Top DB400 Interview Questions en-us I want to change the attribute of field or want to add new field in http://www.allinterview.com/showanswers/61059.html No. Whenever a format is changed or touched the format level identifier is always changed. How many max. Record format a logical file have? http://www.allinterview.com/showanswers/88672.html 8000. this can vary,can be lesser if date format, alphanumeric fields are used. How we can't update join logical files? http://www.allinterview.com/showanswers/60864.html No. We cannot update using Join Logical files. WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS&#039 http://www.allinterview.com/showanswers/64388.html Both(COLHDG & ALIAS) are used to identify fields.COLHDG & ALIAS is the Description of fileds.the diference is that in ALIAS we can access data based on that ALIAS name,while COLHDG is not allowed.suppose in PF field name as DES78,give Define interactive jobs and batch jobs http://www.allinterview.com/showanswers/80476.html In Interactive jobs user interactoin to called job. but in batch jobs user interaction not required(actions taken by System) how can we write LF using flatfile. http://www.allinterview.com/showanswers/57557.html In the system 36 environment, we have procedure named BLDINDEX for create Logical file for Flat file. First We can run System 36 environment using STRS36 command. Then type this command & you need to give starting position of the key Why we create the Physical File Member? http://www.allinterview.com/showanswers/91468.html MEMBER IS USE TO STORE THE DATA, EACH FILE MUST HAVE MEMBER. Q.1 how to implement the commitment control. 2.how to control commitm http://www.allinterview.com/showanswers/83427.html 1. Create a Journal using command CRTJRN 2. Create a Journal Receiver using command CRTJRNRCV to attach to Journal. 3. Start Journal using command STRJRN or STRJRNPF. 4. Use COMIT and ROLLBK opcode in RPG Program with any inticator to On and O what is the difference between adding keys & constraints into a p http://www.allinterview.com/showanswers/60858.html when we add keys in a pf it has effect only in that particular field of pf but when we add constrains to a pf it has an effect to entire pf How to insert more than one record to a pf at a time?(Bulk insert to http://www.allinterview.com/showanswers/79336.html Bulk insert can be done in ways 1. Using SQL we can runa query insert into table1 values('a','b','c'),('x','y','z') 2. Using STRDFU we insert records into PF 3. Using DB Which keyword is used both in subfile and subfile control record for http://www.allinterview.com/showanswers/84633.html Indicator keywords can use in both record format. XXXCTL Ex: Keyword Indicators/+ Resp Text CA03 03 Exit CA12 12 Cancel XXXSFL Ex: pls anyone explain about compile time array,pre run time array run ti http://www.allinterview.com/showanswers/80477.html Compile time array is the array which is declared with all the actual values in the program.using CTDATA Pre run time array: It is loaded from a column of physical file Run time array: values are loaded in the array during execution time what is open data path? and what is the diff b/w access path and open http://www.allinterview.com/showanswers/129167.html An access path describes the order in which the rows are retrieved from a database file. If the rows in the file are accessed in a physical sequence, that is known as an arrival sequence access path. If the rows need to be processed in an ord How to add a field to a PF and compile it without loss of data? http://www.allinterview.com/showanswers/103988.html First Add the fields whatever you want then use CHGPF command Physical file . . . . . . . . . > MyPf Library . . . . . . . . . . . MyLib System . . . . . . . . . . . . . *LCL Source file . . . . . . . . . . MY can any one pls tell me some differences between a LF and command OP http://www.allinterview.com/showanswers/72716.html LF creates a new object in the system while that is not the case for OPNQRYF. LF creates a permanent data access path to the physical file that will be updated as and when and add,update and delete operation is performed on file Whereas OPNQRY