DB2 Universal Database Questions and Answers

Recent IT Questions

21 - 40 of 174

Problems eliminating HEX 41 character.

I have a number of files on my DB2/400 database that have spaces with a Hex code of 41 instead of 40. This causes a problem when FTP'ing to a PC for integration with a barcode labeling application. Does anyone know how I can change this character to ANYTHING other than Space HEX 41 !! Potentially...

View Answer   |  Mar 28 2007  9:03 AM GMT
AS/400, RPG, Application development
asked by selectsoft

  65 pts.

Question on Workfile

Hi, Please could any one help me getting answers to these Questions.... What is the diff. between Workfile and PF? How do u create a WorkFile in RPG or CL. What are the advantages of WorkFile over PF? Thanks Rama

View Answer   |  Mar 26 2007  6:01 AM GMT
AS/400, RPG, RPGLE
asked by meesala

  0 pts.

Sorting out missing out

I have 2 files. One having 1000 records and the other 1350. I need to sort out the missing records and place them in an excel sheet. Programmatically how to acgieve this???

View Answer   |  Mar 11 2007  1:14 AM GMT
RPG, Application development, DB2 Universal Database
asked by meesala

  0 pts.

Sorting out missing records.

Suppose i have 2 database files. one with 250 records and another with 350 records. There are some common records in both files. How to get the missing records?? Is this possible with CPYF command. If yes???Please explain me how to get this. or Is there any other to achieve this. Thanks and...

View Answer   |  Mar 2 2007  3:51 AM GMT
DB2 Universal Database
asked by meesala

  0 pts.

Merging of files in AS400

What is the use of merging files in AS400? How do you do this?

View Answer   |  Mar 1 2007  5:22 AM GMT
RPG, RPGLE, DB2 Universal Database
asked by meesala

  0 pts.

AS400 disk initialize info

Hi All, I am trying to find printable results or logs for a disk that has been initialized successfully by using SST or DST. The procedure normally completes with a single line of "COMLETED SUCCESSFULLY" I need more infomation like model, serial no, sectors or some proof that this particular disk...

View Answer   |  Mar 1 2007  5:00 AM GMT
AS/400, Security, RPG
asked by jf7921

  0 pts.

Comparing 2 files .CSV and getting the missing data using AS400.

I have 2 files of .CSV format. I need to compare them and capture the missing data into Excel sheet. How do i do this using AS400???

View Answer   |  Feb 27 2007  6:46 AM GMT
RPG, RPGLE, DB2 Universal Database
asked by meesala

  0 pts.

Windows Scheduling iSeries Data Transfer

I have 4 data transfers created in IBMs data transfer from iSeries Server programs that I need to schedule using Windows Scheduler. I can make the transfers work by double clicking on the .dtf but when I try and schedule them I get the following errors: filename, directory name, or volume labe...

View Answer   |  Feb 5 2007  3:40 PM GMT
Tech support, AS/400, Security
asked by heather400

  0 pts.

SQL RRN Processing - by Key?

I'm putting together a job that needs to process a large masterfile in a very short period of time. To do this, I'm (sorta) cloning an existing SQLRPGLE application that runs multiple concurrent copies of a program...each processing a range of the file by RRN. The number of copies is dynamic, set...

View Answer   |  Jan 24 2007  11:27 PM GMT
RPGLE, DB2 Universal Database
asked by ChuckM

  0 pts.

How can I find on which files a program has been attached as an external trigger?

I have a "generic" rpgle program that can be attached to any physical file as a trigger. And so it has been, many times.. Is there a utility that I can use to find exactly what files have this program attached as a trigger? Or some table where I can look? Thanks! Kevin

View Answer   |  Jan 23 2007  5:56 PM GMT
AS/400, Application development, RPGLE
asked by beercheck

  0 pts.

FTP from iSeries DB2 to iSeries AIX (Oracle)

I'm taking a FILE and using CPYTOIMPF to either create the flat file pipe delimited to another DB2 File or directly to the IFS as *PCASCII. Using iSeriesNavigator, I have no problem looking at the IFS. No issue with iSeriesNavigator and looking at FILE either. Using FTP, <namefmt 1>,...

asked by dlanor

  20 pts.

AS400 intreface with other platforms

Can anybody tell me how to interface As/400 with other platforms say windows or linux for example

View Answer   |  Jan 9 2007  1:30 AM GMT
AS/400, Security, Printing
asked by cute9886289271

  0 pts.

GENERATED KEYS...

I want to generate the next avalable key when INSERTing new rows. For an example... Create Table DBALIB/PARENT ( PARKEY BIGINT NOT NULL WITH DEFAULT PRIMARY KEY, PARNAME CHAR (30) NOT NULL WITH DEFAULT); INSERT INTO...

View Answer   |  Jan 8 2007  12:02 AM GMT
DB2 Universal Database
asked by Znason

  65 pts.

using SQL statements..............

Hi All, I have a problem. I have a string variable STR which contains SQL statements...... Like insert into lib1/fil1 select * from lib2/fil2 variable STR is changable...means I update the values of library and files at run time...in the variable STR.. I want to execute the SQL statements...

View Answer   |  Jan 4 2007  9:52 AM GMT
CLP, RPGLE, DB2 Universal Database
asked by navinnegi

  20 pts.

Front End Development for AS400

Hi We have an application in AS400 for which we are thinking of developing a GUI front end for the users. The users will then be able to run the processes from their PC. I have not worked on any such application and so, I do not know anything of that. I have done some initial research on that and...

View Answer   |  Jan 3 2007  10:39 AM GMT
AS/400, PC/Windows Connectivity, Application development
asked by pgsdeb

  5 pts.

Using two same files from different libraries in a RPGLE program.

Hi All, Please guide me for the following problem. I got stuck into it. I want to operate same file from two different libraries in a RPGLE program. Remember we are taking the file names at runtime.So we don?t know the structure of files. Like the record format name etc. Again somehow I...

View Answer   |  Jan 3 2007  4:15 AM GMT
CLP, RPGLE, DB2 Universal Database
asked by navinnegi

  20 pts.

Is it possible to reorganize a very big transaction in one night?

I want to reorganize a very big transaction file in day end process and it cannot finish within 1 night. The problem is RGZPFM command lock that file ,so the day after , user cannot use that file because it is locked. Do you have any ideas to help me?

View Answer   |  Dec 28 2006  4:43 AM GMT
AS/400, Security, RPG
asked by cookiekitty11

  0 pts.

iSeries accessibility to VB.NET, ASP 2.0/3.0 ,NET programmers in Visual Studio

My shop does not have WebSphere but does have a sizeable VB.NET team using the MS Visual Studio. They need access to the iSeries files in DB2/UDB - real-time. We already thanks to me have a number of batch/DTS package type transfers. Do any of you know packages that can make the iSeries files...

View Answer   |  Dec 27 2006  10:35 AM GMT
Security, Oracle, PC/Windows Connectivity
asked by JohndeCoville

  0 pts.

Commit utilization in SQL stored procedures

I need an explample of an SQL stored procedure running in an DB2 environment that uses commitment control. I don't want use RPG. I would like to call it from QSQLSRC via LXISCH (AS400 scheduler) and update over 100,000 records in 20,000 row increments. Any Suggestions? Thanks!

View Answer   |  Dec 22 2006  1:08 PM GMT
AS/400, RPG, DB2 Universal Database
asked by Whitera

  0 pts.

SQL Logical Functions

Which is better to use and why? Also, which function is faster and why? Coalesce -or- IfNull

View Answer   |  Dec 14 2006  3:10 PM GMT
AS/400, Application development, DB2 Universal Database
asked by maryann46

  5 pts.

21 - 40 of 174