AS/400 database Questions


Using Number range on an AS/400 file with Char type field index
Hi, I have scenario to filter records for screen presentation based on number range provided on screen.In database the numbers are stored as char with no padding.How can I use this character index to get the results without having to read entire file?

Answer Question   |  December 11, 2010  12:53 AM
AS/400 database, AS/400 Database File, AS/400 performance
asked by:
25 pts.

Copy high volume of data between AS/400
Neeed copy big file between iseries faster, this moment the requerided is 2 days? Need your coments to do the transfer more quicKly

Answer Question   |  December 29, 2010  8:22 PM
AS/400 data transfer, AS/400 database, AS/400 Database File, Copy Database, Data Transfer Rate
asked by:
25 pts.

External Datastructure
Will level check occured on program when you changed the file mentioned in external data structure?

Answer Question   |  November 30, 2010  6:26 AM
AS/400, AS/400 database, External database, RPG ILE
asked by:
70 pts.

Responsibilities of DB2/400
Hi, Being an AS/400 development/admin guy what are the roles and responsibilites of DB2/400(DB/400 ?) on daily basis.  What could be the  maintenance activities. I’m just curious about to know…waiting for your valuable comments..    

Answer Question   |  October 14, 2010  2:58 AM
AS/400 database, AS/400 DB2, DB2/400, iSeries, RPG ILEclile
asked by:
1,635 pts.

How to view unique entry of record in collumn?
I have table containing same multiple records in collumn, when I goes into ‘Define Query’ and ‘Select Records’ of ‘Query Definition Option’, it shows me all record list, but I like to view only a single entry of each record. How could be querry in ‘Select Records’ of ‘Query Definition Option’ or do I need [...]

Answer Question   |  September 9, 2010  9:11 AM
AS/400 database, AS/400 Query, AS/400 Reports
asked by:
40 pts.

How to run query in AS 400?
New user, like to knw in detail how to run query in AS 400 with snapshot will be better.

Answer Question   |  January 1, 2011  8:59 AM
AS/400 database
asked by:
40 pts.

How would we know which index is been used during Native IO reads or SQL query execution happens on that file during program is being run?
For example on an as/400 Data base file, some 10 indexes are created? How would we know which index is been used during Native IO reads or SQL query execution happens on that file during program is being run?

Answer Question   |  June 25, 2010  10:53 AM
AS/400 database, AS/400 DB2, SQL Query
asked by:
105 pts.

Is it possible to get an alert when database page faults exceeds a certain amount.
Is it possible to get an alert when database page faults exceeds a certain amount. Iam referring to the page faults which appear when we give the WRKSYSSTS command.  Or write a pgm which could monitor the page faults and sent an alert. 

Answer Question   |  January 18, 2010  12:59 PM
AS/400 database, CL programming, WRKSYSSTS
asked by:
1,160 pts.

CPYTOIMPF removed leading zeros from numeric field
I am having a few problems using the CPYTOIMPF command. I am copying an external defined file on the AS400 to the IFS. It is removing leading zeros from numeric fields which I need the leading zeros in, such as company number. It also is placing trailing blanks in the numeric fields, which I don’t [...]

Answer Question   |  January 6, 2010  6:12 PM
AS/400 database
asked by:
30 pts.

Converting date values in AS/400 database
How do I convert a date value 20/09/1231 for 31st Dec 2009 in the database to be able to use a query of checking this date against current(date)?

Answer Question   |  November 30, 2009  10:10 AM
AS/400 database, AS/400 Query
asked by:
30 pts.

UDS and DS
I know well Data Strucutre (DS) and its usage, how an UDS (Data Area Data Structure) is different from and ordinary DS, I just find to know by myself but I was unable to find it. Can any one help me in expalainigt this?

Answer Question   |  October 27, 2009  2:23 PM
AS/400, AS/400 database, Data structures
asked by:
Kar
425 pts.

External DB2 Database link/trigger
In Oracle I can register a database link to other data sources. For example, through ODBC I have registered DB2 as a database link. In this way I can read/insert/update from/into DB2 tables.

Answer Question   |  October 29, 2009  10:42 AM
AS/400 database, DB2, DB2/400, i5/OS, V5R4
asked by:
810 pts.

Member Level ID
Every evening we create Save Files of our Production Libraries on our Production System. The next morning we FTP these Save Files to our Development System and do Restores to our Production Libraries on our Development System. We use TurnOver to handle the changes to our SQL Tables, Indexes, and Views. The issue is that [...]

Answer Question   |  October 26, 2009  3:43 PM
AS/400 database, AS/400 development, iSeries database
asked by:
2,480 pts.

query/400
plz tell me how to work with query/400 on as/400 machine…thanks

Answer Question   |  May 20, 2011  1:22 PM
AS/400 database, iSeries
asked by:
1,150 pts.

Bad data in as/400 database.. cant display record
We have a user that insists on using cut and paste to enter data into our system. The problem is bad hex/ascii chars are causing errors trying to retrieve the data. If you try to edit the data using STRDFU it gives the message “The retrieved record contains invalid data.” To make things worse you [...]

Answer Question   |  October 11, 2009  5:58 PM
AS/400, AS/400 database, DFU, Editors, Hex
asked by:
3,910 pts.

client access 32 bit ODBC drivers
where can i download 32bit client access ODBC drivers onto my windows(XP) system so that i wanna migrate my access files to AS/400 files.Plz guide

Answer Question   |  September 2, 2009  8:31 PM
AS/400 database, Client Access
asked by:
1,150 pts.

MS-Access data access
I wanted to access a MS-Access database file on my PC to my AS/400 and want to convert it into a physical file.Can anybody give me the steps in this process and requirements for that? thanks

Answer Question   |  August 31, 2009  6:41 PM
AS/400 database
asked by:
1,150 pts.

What is Database Pagefault in AS/400
What is Database Page fault in AS/400 it is releated to WRKACTJOB plese send the answer if any one knows

Answer Question   |  August 7, 2009  2:14 PM
AS/400 database, WRKACTJOB
asked by:
40 pts.

How to export meta-data
I am charged with archiving data from a legacy AS400 packaged system. I can export the data using attachmate and a few tricks to get it into XML on my LAN. However, the FDF info is not good as metadata, so I need to retrieve the field level that is available thru ‘file commands”display file [...]

Answer Question   |  June 7, 2009  1:29 AM
AS/400, AS/400 backup, AS/400 database, AS400 Data Definitions, AS400 Data Model Export, AttachMate and AS400, Metadata, XML
asked by:
5 pts.

What causes the last used date to be updated on a file?
I have a library that has a number of files with very recent last used dates. This library is left over from the original application install and is not used anywhere that I can find. The only mention of the library is on a dsppgmref listing for the base application programs, where the library is [...]

Answer Question   |  May 29, 2009  5:36 PM
AS/400 database, AS/400 Library, DSPOBJD, iSeries database
asked by:
120 pts.