RPG ILE Questions and Answers

Recent IT Questions

61 - 80 of 113

DBCS File Support - Data type

I am changing our current application software to support DBCS. As this software needs the ability to run in both an SBCS environment and a DBCS environment, I need to re-define fields at the file level to allow DBCS data. Specifically, is it better to use data type "E" or data type "O" to define...

View Answer   |  Aug 22 2008  3:42 PM GMT
iSeries RPG programming, RPG ILE, DBCS
asked by Anncyb

  40 pts.

Reade in ile

DEmpnoo S 2 0 Inz(12) C *Loval Setll Emplf C Empnoo Reade Emplf C Dow Not %Eof(Emplf) C Empno Dsply C Empnoo Reade Emplf C ...

View Answer   |  Aug 21 2008  6:57 AM GMT
RPG, RPG ILE, Read Equal Key
asked by Rajeshece

  480 pts.

XML and RPG

I do not have the XML toolkit package on my i5 525. We are running V5R4. Is there still a way for me to import XML files and run in RPG ILE? I have a customer that wants to send us orders via email and XML is one of the formats they could provide for us.

View Answer   |  Aug 18 2008  2:09 PM GMT
i5, XML, RPG ILE
asked by Fraser

  5 pts.

RPG free form

Need to do a straight call, not a callp, is there a way to do this in free form?

View Answer   |  Aug 15 2008  2:05 PM GMT
RPG ILE, Free form syntax
asked by HEROES

  5 pts.

combination of primary file and full procedural files

I am using in a RPGLE program a combination of a primary file and 2 full procedural files. when the cycle reads first record from the primary file it has to retrieve some more information from the other two files and them write to the printer file.Can anybody help me out on this...thanks in...

View Answer   |  Aug 8 2008  1:00 PM GMT
RPGLE, RPG ILE
asked by Ten2008

  730 pts.

How can we get Source Code for BUILT IN functions

hi, Can anyone help me how can I get source codes for builtin functions and i want to implement some of functions like(BUILTIN) for my personel improvement in RPGLE

View Answer   |  Aug 7 2008  8:30 AM GMT
RPG, RPGLE, RPG ILE
asked by Mohan K

  470 pts.

Debugging an ILE RPG module within a program

I have a program containing 3 modules. The module I need to debug is not displaying the source. How do I debug this module?

View Answer   |  Jul 9 2008  5:40 AM GMT
RPG, Debugging, RPG ILE
asked by Ile novice

  10 pts.

Replacing a RPG/LE module within a Program

I am new to RPG ILE and need to re-compile a module. I noticed that the program that is currently there contains about 26 module. How do I just replace this one module?

View Answer   |  Jul 7 2008  4:23 AM GMT
RPG, RPG ILE
asked by Ile novice

  10 pts.

RPQSQL / SQLRPG

Any body please help Wanted to know the advantage and disadvantage using RPGSQL / SQLRPG I've heard that this is the new one its not only RPG but become one with SQL. Thanks in advance

View Answer   |  Jun 25 2008  0:31 AM GMT
RPG, RPGLE, RPG IV
asked by TG

  50 pts.

How to define two dimensional arrays in RPGILE

I need to create an array that contains a code (2,0) and hrs worked (5,2) for that code. something like 01 2.3 4.3 5.6 7.0 8.0 02 5.0 6.0 7.0 7.0 6.5 I will then take this array and load a subfile to display on a screen. Thanks, John

View Answer   |  Jun 12 2008  7:15 PM GMT
AS/400, RPG, RPG ILE
asked by JAC

  260 pts.

Insert records between records in a file using RPG code.

Is there a way to insert a record in between records in a file? For example, a file contains 10 records (1 to 10). I want to insert a record in between records 1 and 2, thus record 2 will move to position 3, 3 to 4, and so on and so forth. Can SQL/Insert function be used to do this?

View Answer   |  Jun 8 2008  5:00 PM GMT
RPG, RPG ILE, SQL scripts
asked by Francissamonte

  15 pts.

Default error/exception handler

If we have any error/exception in the RPG ILE subprocedure and we have default error/exception handler routine *PSSR in that module. will control go to the *PSSR?

View Answer   |  May 20 2008  9:45 AM GMT
RPG ILE, RPG ILE subprocedure
asked by Chandra93

  55 pts.

Adding Field to a PF

I have to add some new fileds to an existing PF without compiling the PF how can i do that? can i use this updated PF in my RPG ILE program without facing any error/exception?

View Answer   |  May 19 2008  6:50 AM GMT
RPG ILE
asked by Chandra93

  55 pts.

Line of code in a RPG400 and RPG ILE Program.

What is the size of RPG400 and RPG ILE program in the sence of Line of code? If my RPG400 program exceed the limited size then how can resolve this problem means i have to add more line of code to the program.

View Answer   |  May 16 2008  12:53 AM GMT
RPG, RPG ILE, RPG/400
asked by Chandra93

  55 pts.

can a module have the PEP in a service program

RPG ILE

View Answer   |  May 14 2008  11:34 AM GMT
RPG ILE, PEP, Program Entry Procedure
asked by Chandra93

  55 pts.

How to FTP a file from PC to my personal library?

How to FTP a file from PC to my personal library?

View Answer   |  Apr 1 2008  11:14 AM GMT
AS/400, RPGLE, RPG IV
asked by Pradeepr

  10 pts.

ILE RPG Dates

How to extract and assign to a variable (Date Type) the Current Or System Date?

View Answer   |  Feb 27 2008  5:36 PM GMT
RPG ILE, ILE RPG Dates, Current_Date
asked by PJBCh

  5 pts.

Calling Command with Prompt from RPG ILE

Hi Everyone, From my RPG ILE program, when I press F4, I want to have a Command Prompt screen similar to as if I typed CALL then F4 from the command line. What should I do to accomplish this? Thank you in advance. Lap Nguyen

View Answer   |  Feb 25 2008  11:40 PM GMT
AS/400, RPG ILE
asked by RPG ILE

  15 pts.

Calling RPG Proc from COBOL ILE

How do I call a RPGILE procedure embedded in a service program from COBOL ILE? I am not very well versed in cobol as I worked mostly on RPG/400 and ILE. I checked few of the notes but was confused abt the 'Call Linkage type' and Call Procedure? Can anyone say when each one is used and what is their...

View Answer   |  Jan 28 2008  6:11 PM GMT
AS/400, COBOL, RPG ILE
asked by RPGPGM

  40 pts.

Binary Field

How do I populate a binary field (field length of 9), buffer length of 4, with the value 10002- (right justified) I need to do this in an existing RPG ILE program. Help ?

View Answer   |  Jan 23 2008  8:48 PM GMT
RPG ILE, Binary fields
asked by Piano

  250 pts.

61 - 80 of 113