Most Important Frequently Asked Btrieve Interview Questions
Interview Quesions on Btrieve
-
Answer :
- Btrieve is a navigational database product
- Based on Indexed Sequential Access Method(ISAM)
- ISAM is a way of fast data retrieval
- Btrieve retrieves one record at a time.
- Transaction Operation is faster as there is little overhead with Btrieve Engine
-
Question 2. Define A C Long Integer As A Key In Btrieve, When There Is No Long Data Type?
Answer :
C long integer can be defined as a key in Btrieve by specifying the key as an integer. But the length need to be specified as four bytes.
Oracle 10g Interview Questions -
Answer :
The process is as follows:
- Run the BUTIL NLM version 6.x from the file server, which displays the version of file format after executing a STAT call.
- No client BUTIL program is available to display this status
- Another way is to check the version format of a Btrieve file by using DOS DEBUG utility
- Type debug-d at DOS prompt.
- The initial two bytes of the FCR will be set to FC when the file is stored in 6.x format.
- Otherwise the bytes will be set to 0x00.
-
Question 4. What Is Status 1015?
Answer :
- Prior to starting the application, if the environment variable SET BTRPARMSCHK=Y is specified, the status 1015 is returned.
- Isolation of errors that are caused by passing invalid pointers to Btrieve is done by using this environment variable.
- Once this variable is set, Btrieve performs the validation on pointer parameters that are passed in to READ/WRITE access on certain ranges.
- Btrieve validates position block pointer on the range of 128 bytes, length pointer validates on two bytes and data buffer is validated on 255 bytes for key buffer
Oracle 10g Tutorial -
Question 5. Explain About File Sharing?
Answer :
- Data available in a file can be shared by using Single Engine File Sharing and Multiple Engine File Sharing modes.
- SEFS is allowed only to the clients to access the engine for altering databases.
- MEFS allows multiple clients running under multiple engines for accessing the database.
Oracle 9i Interview Questions -
Question 6. Explain Error Codes Of Btrieve?
Answer :
- INVALID OPERATION – The parameter of the operations of a call is invalid
- I/O ERROR – An error occurred during a disk read / write operation.
- FILE NOT OPEN – Any operation on the designated file can not be performed as the file is not open
- KEY VALUE NOT FOUND - The designated key value is not found in the index path
- INVALID POSITIONING - Each time the current position need to be established. This position is application for update / deletion of a record.
-
Answer :
When you attempt to open v56.x file with v5.x version, a status (I/O error) will be returned
Oracle 9i Tutorial Oracle 8i Interview Questions -
Question 8. Tell Me How To Convert A Bunch Of .btr And .lck Files To A Readable Sql?
Answer :
- Every Btrieve file and DDf has a owner of their creation.
- Owner name can be used to read only access.
- SET OWNER = command is used before utilizing SELECT statement.
- .lck files are lock files and can not read them directly.
- .btr files are DDF files.
- The conversion can be made by using ODBC DSN that points to data and utilizes SSIS or DTS to export the data from.
-
Question 9. Explain About System And User Transactions?
Answer :
- System transactions are non-transactional operations
- System transactions are used for data recovery using MKDE.
- User transactions are concurrent transactions.
- User transaction might have lost when a recent transaction was rolled back
- When a user transaction is rolled back, an option might be set which causes the MKDE to force the system transactions.
Informatica Interview Questions -
Question 10. Explain Ddf Editor For Btrieve?
Answer :
- DDF editor allows to create the description of files
- DDF is necessary to access Btrieve files through ODBC / OLE
- Allows to
- create / view / edit dictionary DDF
- import and export data from ODBC data source
- drag and drop / copy and paste the descriptions
- rebuild files
- search filtration data
Oracle 8i Tutorial -
Answer :
The .DDF file can be obtained in two ways;
- The vendor of the product should be able to provide .DDF along with the software.
- Or use Xtrieve PLUS,XQL or NetWare SQL for creating the .DDF file.
PL/SQL Interview Questions -
Question 12. Can You Please Explain The Features Available In Btrieve Commander?
Answer :
- Btrieve Commander is a file viewer.
- The primary view is named as Main View that lists the records one per line. A cursor vertical bar indicates the current record.
- Record View : It shows the records in the Main view and is limited
- Calculate Totals : This views allows to compute numeric fields of current record
- Import and Export of Records : The records in Btrieve can be imported from or exported to a Comma Separated Value files or the raw format that is utilized by the BUTIL’s save function.
Oracle 10g Interview Questions -
Question 13. Explain The Features Available In Btrieve Commander?
Answer :
- Btrieve Commander is a file viewer.
- The primary view is named as Main View that lists the records one per line. A cursor vertical bar indicates the current record.
- Record View : It shows the records in the Main view and is limited
- Calculate Totals : This views allows to compute numeric fields of current record
- Import and Export of Records : The records in Btrieve can be imported from or exported to a Comma Separated Value files or the raw format that is utilized by the BUTIL’s save function.
Informatica Tutorial -
Question 14. How To Run Btrieve On Sft Iii Server?
Answer :
The following engines are required to run Btrieve on SFT III server:
- Btrieve.nlm on MSEngine
- BSPXCOM.NLM on MSEngine
- AFTER311.NLM on IOEngine
- Btrieve is unaware of running SFT III Server
- The I/O and mirroring will be taken care by OS
-
Question 15. Will Brequest Works In An Os/2 V2.0 Dos Box?
Answer :
- Brequest will not properly function in multiple private DOS boxes. The system will halt.
- Trap D occurs when Btrieve calls are made.
Oracle 11g Interview Questions -
Question 16. Can You Explain System And User Transactions?
Answer :
- System transactions are non-transactional operations
- System transactions are used for data recovery using MKDE.
- User transactions are concurrent transactions.
- User transaction might have lost when a recent transaction was rolled back
- When a user transaction is rolled back, an option might be set which causes the MKDE to force the system transactions.
Oracle 11g Tutorial -
Question 17. How Do I Run Btrieve On Sft Iii Server?
Answer :
The following engines are required to run Btrieve on SFT III server.
- Btrieve.nlm on MSEngine
- BSPXCOM.NLM on MSEngine
- AFTER311.NLM on IOEngine
- Btrieve is unaware of running SFT III Server
- The I/O and mirroring will be taken care by OS
SQL Interview Questions -
Answer :
- Yes. First the DOS requester is loaded
- Later windows is loaded
- While the windows application is running,
- The first window calls Btrieve to load and Btrieve Request Interface for windows.
Oracle 9i Interview Questions -
Answer :
- Rebuilding Btrieve files is possible using BREBUILD, if they have not extended across a volume.
- CONVERT4 should be used after the files have been extended, for the purpose of translating Btrieve v3.x files to v4.x format
- Later we can run BREBUILD.
- Btireve v4.x and v5.x files can also be rebuild using BREBUILD.
-
Question 20. What Is File Sharing?
Answer :
- Data available in a file can be shared by using Single Engine File Sharing and Multiple Engine File Sharing modes.
- SEFS is allowed only to the clients to access the engine for altering databases.
- MEFS allows multiple clients running under multiple engines for accessing the database.
Oracle apps Interview Questions -
Question 21. If An Application Runs Twenty-four Hours A Day, How To Perform A Backup?
Answer :
- Once a file is opened by Btrieve, no other user / application can open it until Btrieve closes that file.
- The operating system's 'copy' command will not work
- One can back up the Btrieve file using BUTIL operations.
- BUTIL operations uses CLONE for creation of a backup file.
- Followed by CLONE, COPY command is used to backup the records from one file to backup file.
-
Question 22. Explain What Does The "total" Column In The Butil -stat Indicate?
Answer :
- "Total" column gives the number of UNIQUE values for every key
- The column is different from "Total Records" column
-
Question 23. How Can I Define A C Long Integer As A Key In Btrieve, When There Is No Long Data Type?
Answer :
C long integer can be defined as a key in Btrieve by specifying the key as an integer. But the length need to be specified as four bytes.
Sybase Interview Questions -
Answer :
- The 62 Status is an error in the descriptor / extractor.
- The first two bytes of the data buffer need to contain the exact length of the data buffer that are sent to Get Next Extend operation
- The Data Buffer length need not be the4 exact length
- If any other variable is defined, the data buffer would be overwritten
Oracle 8i Interview Questions -
Answer :
NetWare Btrieve v6.x can access both v5.x and v6.x format files simultaneously and the performance is proper.
-
Answer :
When Netware time restrictions are in force and any user's connection to NetWare is terminated, the Btrieve files are remain open to that connection.
- If a new uses logs in and uses the same connection ID, the Monitor utilities will show all the files opened by new user.
- All these files have opened by Btrieve
- Back up can be taken when they are not in Continuous Operations Mode.
- As the necessary Btrieve Position blocks are not available, the user can not access these files.
- The application should perform an explicit Btrieve Reset Operation in order to avoid leaving files open or the work station should reboot before NetWare time restrictions take effect.
Oracle Apps ERP Interview Questions -
Answer :
To ensure the data retrieval correctly by Btrieve:
- Use the latest version of NetWare Shell - IPX v3.10, NETX v3.22 or NETX v3.26
- Make sure that latest BREQUEST.EXE is running
- Verify the Btrieve data file's page size
- If the pages are not evenly divisible into 4k, NetWare mishandles the pages
- Use only the pages of sizes 512k, 1024k, 2048k, or 4096k.
- The situation would be resolved by using NetWare Patch ASNCROFX.NLM
Informatica Interview Questions -
Answer :
The following are the factors :
- The page sizes of Btrieve are set to 1024 and 512 bytes
- All the workstations are configured with IPX v2.15
- The disk block size was set to a size apart from default 4k block size
- These factors cause a minor Btrieve performance degradation.
The following are the combination of factors to improve performance.
- Rebuild the file size of Btrieve with a page size of 4096 bytes
- Upgrade IPX to v3.10
- Recreate all the volumes block size with 4k
-
Answer :
- No. Because Btrieve always bypasses the bit 7 of the key flags at the time of creation.
- The bit 7 is designated as an index supplemental
- The indexes are created as permanent.
Oracle 7.3 Interview Questions -
Answer :
- Yes. the right creation is necessary.
- Btrieve may create a file called pre-image file, in accelerated mode.
- During an insert(2), an index does not allow the duplicates and the insertion of records causes a duplicate error that is to be returned.
- Any pages that have been updated already for the insertion, would need to roll back.
-
Answer :
The reasons for this are:
- An alternate collating sequence might be used.
- This require to allocate an additional 265 bytes in the data buffer.
- Nine bytes are allocated for the name of the collating sequence and 256 bytes are allocated for actual sequence.
-
Answer :
- The 62 Status is an error in the descriptor / extractor.
- The first two bytes of the data buffer need to contain the exact length of the data buffer that are sent to Get Next Extend operation
- The Data Buffer length need not be the4 exact length
- If any other variable is defined, the data buffer would be overwritten
Oracle Access Manager Interview Questions -
Question 33. What Is A Status 1015?
Answer :
- Prior to starting the application, if the environment variable SET BTRPARMSCHK=Y is specified, the status 1015 is returned.
- Isolation of errors that are caused by passing invalid pointers to Btrieve is done by using this environment variable.
- Once this variable is set, Btrieve performs the validation on pointer parameters that are passed in to READ/WRITE access on certain ranges.
- Btrieve validates position block pointer on the range of 128 bytes, length pointer validates on two bytes and data buffer is validated on 255 bytes for key buffer
PL/SQL Interview Questions -
Answer :
To direct output to a text file from an NLM, enter the command:
LOAD BUTIL -STAT BTRFILE (CLIB_OPT)/>sys:output.txt
This command is case-sensitive with no spaces.
-
Question 35. Why Doesn't Brebuild Rebuild Netware Btrieve V6.x Files?
Answer :
You should use BREBUILD in cases where you are converting data files from v5.x format to a v6.x format. Once the files are in v6.x format, they are considered to be "rebuilt." If the file shows signs of data corruption, reload the data into a new file. Steps for reloading data are described in the NetWare Btrieve 6.10c README file.
-
Answer :
When accessing Btrieve on a Netware Runtime Server, the user must have a username other than SUPERVISOR. The SUPERVISOR username and password cannot be used on this server to access NetWare Btrieve.
Load BREQUEST with /C:1,USERNAME,PASSWORD
Oracle 11g Interview Questions -
Answer :
NETX is causing the wrong path to be passed to BREQUEST. Use VLMs instead of NETX under the NetWare v4.x operating system.
-
Answer :
WBTRCALL.DLL is a DOS Protected Mode Interface (DPMI) and allocates real mode memory according to the following formula:
DOSPARMBLK + maxDataLen + POSBLK_SIZE + KEYBUF_SIZE + 2 bytes
where: DOSPARMBLK is 28 bytes maxDataLen is defined by /d switch specified on the BREQUEST.EXE command line POSBLK_SIZE is 128 bytes KEYBUF_SIZE is 255
-
Answer :
If your system requires that the files be available for both NLM and client use, there are several steps to take to insure the proper use of the file:
Do not convert the 5.x files to the 6.x format. The versions of Btrieve for DOS, MS Windows, and OS/2 do not support the v6.x file format.
Read the section of the Btrieve v6.10 README file that gives instructions on preimage files. Btrieve v5.x and v6.x pre-image files are incompatible and you need to take steps to prevent the different versions of the engines from using different version of the pre-image file.
When using BSETUP, be sure to select the option that creates files in the 5.x format. If this option is not used all files that are created will be in the new 6.x format and the clients will return status 2s when trying to access them.
If BTRIEVE.NLM v6.1x is configured with the -d option to force Btrieve to create files in v5.x format, what would happen if v6.1x file flags like: Index Balanced File Duplicate Pointers Key Number Specified VATs used in File are set at creation time?
These bits are ignored if you load NetWare Btrieve v6.1x with -d. No errors will be returned. For more information about these new file creation options, see the Btrieve Programmer's Manual included with the Btrieve Developer's Kit Supplement.
-
Question 40. What Does The Error "bspxcom -bad Connection Id On Send" Mean?
Answer :
Btrieve has sent a message to a workstation that has been timed out by the NetWare watchdog.
To prevent the message, increase the SPX WATCHDOG ABORT TIMEOUT, SPX ACK WAIT TIMEOUT, and SPX WATCHDOG VERIFY TIMEOUT parameters on the server where BSPXCOM.NLM is loaded. Also increase the SPX ABORT TIMEOUT, SPX LISTEN TIMEOUT, and SPX VERIFY TIMEOUT parameters in the NET.CFG file on the workstation.
SQL Interview Questions -
Answer :
The NetWare Btrieve NLM v6.10x has built in support for v5.x files. System administrators can choose whether or not to convert the Btrieve data files in order to upgrade the NLM to 6.10x. As always, read the README that comes with Btrieve for up to date directions on moving from one version to the next.
-
Answer :
Raise the IPX retry count in your NET.CFG. The recommended value is 40 or more. The workstations are timing out and their SPX connections are being terminated.
Oracle apps Interview Questions -
Answer :
This status code can be returned when running BREQUEST with v2.00 of the NetWare OS/2 Requester. Make sure to update your requester to v2.01.
-
Answer :
This message results from improper installation of the Btrieve NLM. To install the NLM properly, obtain BTR61.EXE and perform the following ten steps:
- Create a temporary sub-directory (for example, TEMPDIR).
- Copy BTR61.EXE to TEMPDIR and type BTR61.EXE -d. (This step creates two subdirectories, SYSTEM and PUBLIC and copies appropriate files into each.)
- Back up all files on the server where Btrieve will be installed.
- Copy the files from TEMPDIRSYSTEM into SYSTEM on the server.
- Copy all the files from TEMPDIR PUBLIC to PUBLIC on the server.
- At the server console prompt, type "BSTOP" to unload the existing versions of BTRIEVE.NLM and BSPXCOM.NLM.
- At the server console prompt, type "UNLOAD CLIB".
- At the server console prompt, type "LOAD CLIB" to load the latest version of CLIB.
- At the server console prompt, type "AFTER311".
- At theserver console prompt, type "BSTART" to load BTRIEVE and BSPXCOM with default values.
-
Answer :
If your files are still in NetWare Btrieve v5.x format, you can load Btrieve v6.x with the -d parameter, forcing new files to be generated in 5.x format. Otherwise, the only way to switch back to Btrieve v5.x is to save the contents of your v6.x format file, then generate a v5.x clone and load the data into the v5.x file.
-
Question 46. Are There Any Third-party Odbc Drivers For Btrieve For Windows?
Answer :
Q+E Software (formally Pioneer Software) has a product called ODBC Pack 1.0. This product currently includes 11 drivers for various database engines, including Btrieve. Q+E technical support said that the Btrieve file must be in NetWare SQL format. In other words, it requires .DDF files. The product also includes a utility to build the .DDF files if you do not have them.
-
Answer :
This error is similar to a Btrieve status 2 (I/O Error). Btrieve v5.x returns status 2 when you attempt to use it to access Btrieve files stored in v6.x format. Microsoft Access returns "Disk or Network Error" under the same circumstances. When using Microsoft Access to IMPORT Btrieve files, either run BTRIEVE.NLM v6.x with Brequest v6.x and WBTRCALL.DLL, or make sure all files accessed with the client WBTRCALL.DLL are stored in v5.x format.
-
Answer :
The NetWare SBACKUP utility uses both NetWare SQL v3.00 and NetWare Btrieve v6.00. Basically, a status 88 will occur if there is anything wrong with the Btrieve files. In this case, a file that was associated with the Named Database was not in the directory that the utility was trying to backup.
This status will also be returned if the files selected for backup were already in Continuous Operations. The SBACKUP utility will itself do a Continuous Operations on all the files associated with the Named Database. Thus, the utility will not be able to perform the backup.
The simple solution is to ensure that all files are in the proper location specified in the Named Database. The other solution is to ensure that the files are not in Continuous Operations when using the SBACKUP utility.
-
Answer :
The information in the manual is incorrect. you may only place one BUTIL command in the command file.
-
Question 50. Does Netware Btrieve V6.10 Still Use /p: Parameter?
Answer :
In NetWare Btrieve v6.10, the Maximum Page Size parameter (/P:) is no longer required. NetWare Btrieve can now open any Btrieve file with any page size. NetWare Btrieve v6.10 will not return status 24 from the Open operation and will ignore any value given for the /P: startup parameter.
Using NetWare Btrieve (NLM) v5.15 and Brequest v6.00b, the following syntax generates a status 12 (File Not Found) on a Btrieve Open operation: servervoldirsubdirfile
To avoid this status code, either:
Use the patched version of Brequest v5.16.
Add a colon (:) after the volume name when using Brequest v6.00b. For Brequest 6.00b the syntax would be:
servervol:dirsub-dirfile
Topic: Btrieve Interview Questions
Interview Quesions on Btrieve
No comments:
Post a Comment