RPG/400 Questions


clipper
WE WERE USING DCS/400 TOOLS FOR CONNECTING AS/400 SERVER VIA CLIPPER PROGRAM WE ARE FACING PROBLEM AFTER RE-INSTALLING OS/400 (SAME VERSION OF OS/400). WE REQUIRE FIRM EMAIL OR COMMINICATION DETAILS THOSE WHO ARE WORKING ON DCS/400

Answer Question   |  July 18, 2008  5:03 AM
Clipper, DCS, RPG/400
asked by:
Bu
60 pts.

trim string values in rpg/400
how to trim string values in rpg/400 or RPGILE OR CLP

Answer Question   |  May 4, 2010  1:22 PM
CLP, RPG/400, RPGILE, Strings
asked by:
Bu
60 pts.

Fetch to datastructure in RPG/400
I have one rpg pgm in which I am creating a cursor on select to slect some records.After then I am opening cursor and fetching its data to an external data structure.Now my question is whether the external data structure takes only one record(first record) or it will have all records selected through select ststament. [...]

Answer Question   |  May 4, 2010  12:50 PM
C+, Data structures, RPG, RPG/400
asked by:
370 pts.

When to use Batch job Debugging
when to use batch job debugging when we can debug this using interative debugging

Answer Question   |  March 29, 2010  4:30 PM
AS/400, RPG/400
asked by:
370 pts.

What is Copybook in AS/400(RPG)
Can any one pl explain me with an example what is copybook?.

Answer Question   |  May 3, 2010  5:11 PM
AS/400, RPG/400
asked by:
370 pts.

random value
i would like to apply a random value into a RPG/400 or RPG/II.But I can’t find how to do it in official guide. Is there any expert to help me?

Answer Question   |  May 3, 2010  4:03 AM
Random Number Generator, RPG, RPG/400
asked by:
5 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

Answer Question   |  April 29, 2010  12:31 AM
RPG, RPG ILE, RPG IV, RPG/400, RPGILE, RPGLE, RPGSQL, SQLRPG
asked by:
TG
50 pts.

Building the Key in RPG/400 itself
Can we able to build key for externally described file in RPG/400 itself to retrieve records on this Key?. IF we can Pls…….give sample code.

Answer Question   |  August 12, 2011  4:57 PM
AS/400, RPG/400
asked by:
370 pts.

Last record Updated at the end of PGM
I have Pgm1 which uses file file1 to write some reords to this file.After at the end of PGM1 it is calling PGM2 to read file1 records to update file1 records but here I have a problem last record written by Pgm1 is actually writing to this file at the end of PGM1(after calling PGM2 [...]

Answer Question   |  June 18, 2008  4:47 PM
AS/400, PGM, PGM1, PGM2, RPG/400
asked by:
370 pts.

How to convert a Date given in Char format to numeric format in RPG of As400.
How to convert a Date given in Char format to numeric format in RPG of As400..

Answer Question   |  April 27, 2010  4:35 AM
AS/400, RPG, RPG/400
asked by:
140 pts.

how can i validate two dates
hi, I want to validate two dates of type (date1=L) and (date2=char length is 8A ) can any one help me

Answer Question   |  April 25, 2010  5:05 AM
RPG, RPG/400
asked by:
695 pts.

how to pass variable of type date from pf to display file
I want to pass one variable MYDATE of type(L) date from my pf to Display file through simple rpg program and how can i define result field in display file either as numeric or as alphanumeric plz help me as early as possible it will be helpful to me

Answer Question   |  June 6, 2008  11:20 AM
RPG, RPG/400
asked by:
695 pts.

Printing Logos
We are eliminating some preprinted forms and creating the forms ourselves. The problem is these preprinted forms have our company logo on it. How can I add a logo to a report created on the AS400 in RPGLE?

Answer Question   |  June 4, 2008  5:09 PM
RPG, RPG III, RPG IV, RPG/400
asked by:
165 pts.

RPG/400 – Window Subfile
I want to display a footer on a window subfile. I have used a window subfile which displays a list of codes. And want to have a footer on this window. For this I used a simple WINDOW having the same border formats and position as that of the Window subfile – this contains just [...]

Answer Question   |  June 4, 2008  6:30 AM
RPG, RPG/400, Subfile
asked by:
75 pts.

In RPG/400 how can I tell what prgrams are in the call stack so I can avoid “called itself recursively” error?
In RPG/400 how can I tell what prgrams are in the call stack so I can avoid “called itself recursively” error? Is there an easier way than passing a parm or populating a data area, like is there a system command that could provide this information?

Answer Question   |  April 22, 2010  4:05 PM
AS/400, RPG, RPG/400
asked by:
Drm
10 pts.

RPG/400 How to Pass Hexa values
i want to pass hexadecimal values from calling progrm to called program through PARM parameters can any one suggest me how to pass including OCTADECIMAl Values

Answer Question   |  April 21, 2010  11:06 AM
AS/400, Hexadecimal values, RPG, RPG/400
asked by:
695 pts.

RPG/400 – return parameters
Since we can pass parameters to a RPG program using *ENTRY and PLIST, Is it possible for a RPG program to return back any values to the calling program? Suppose I want to have a module which checks if a year is leap or not, I am bound to have this as a Subroutine and [...]

Answer Question   |  April 21, 2010  8:07 AM
AS/400, RPG, RPG/400
asked by:
70 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.

Answer Question   |  June 5, 2009  12:53 PM
RPG, RPG ILE, RPG/400
asked by:
55 pts.