• How to define HELP with control options in RPG

    I am new to RPG. I want to define HELP with the options I have given with my application, so that user presses F1 over options (e.g F8 etc) and a help window appears and show him what F8 do? Thanks in advance.

    hunshabbir71,570 pointsBadges:
  • RPG AS/400 Programming Help

    Hi, I have a question regarding RPG which I have zero experience or knowledge. My problem is that there is an expiry code in the system and the programmer who supported our software passed away unexpectedly. We have been back dating our server to 11/30/13 in order to access the system each day. I...

    Saylr12355 pointsBadges:
  • RPG

    What is the full form of RPG?

    SHEKHARCHANDRA5 pointsBadges:
  • Barcode Insert FNC1 IBM4400 RPG

    How to insert FNC1 in postal GS1-128 barcode. IBM 4400 Thermal printer, IGP emulation (PGL/VGL), using RPG

    mmontele5 pointsBadges:
  • iSeries stored procedure isn’t returning value when calling RPG program

    Our team currently has a stored procedure that calls an SQLRPGLE program. It's running great as we have verified the debugger and it sends the return value as expected. But the problem is what is returned when we're looking at cmd.Parameters["@ISMATCH"].Value = {} Here's our stored procedure:...

    ITKE346,430 pointsBadges:
  • Like in SQLRPGLE

    Hi, I am using the below query in SQLRPGLE Select count(data) into :cntrec from sample where data like '%' "+:tpnumber+" '%'. I am getting an error "Token "+:tpnmber+" was not valid" . The tpnumber is a character field(10a). Sample file is a flat file I even tried '%' +:tpnumber+" '%' and '%'...

    Prashanth123255 pointsBadges:
  • Data from RPG to Java isn’t properly ordered

    We're sending "foreign data" (from a different language) from a RPG program to a Java program but some of the data isn't coming in properly. The RPG program is currently running on an iSeries machine and Java is through a remote method invocation. The data is received by the Java program in logical...

    ITKE346,430 pointsBadges:
  • Was your RPG to Java migration successful?

    Basically our company uses IBM iSeries for the majority of our data processing. Almost 99% of our internal applications are written in RPG. We realize IBM is trying to push companies towards Java/J2EE / we're trying to modernize our apps with a GUI interface. Not to beat around the bush but our...

    ITKE346,430 pointsBadges:
  • Receiving error message when calling Java method from RPG

    I've been having a lot of trouble with a "ClassNotFoundError" when I'm trying to call a Java method from RPG. This has been happening with several other users as well. It seems that it could be a problem with CLASSPATH or access to JAR files. I've give a better description: We have a RPG program...

    ITKE346,430 pointsBadges:
  • Programming an alarm in RPG with AS/400

    I need a little help building an alarm for unlocking blocked cells when a particular action takes place.  Here is the code I've written, but it doesn't work right.  I'm using RPG with AS/400. volatile bool interrupted; main() { sigaction(SIG_ALARM, myhandler) // register handler alarm(3) // set...

    ITKE346,430 pointsBadges:
  • How can I manipulate a string in RPG?

    I know this might sound like a "beginner" question but I know most of the time strings in RPG have a fixed length (but more importantly, have a finite length). But I'm pretty much lost on how to write a procedure for string manipulation.How can I write a procedure that takes care of a string of...

    ITKE346,430 pointsBadges:
  • How to see a timeout in connect/send in AS/400?

    My team and I recently created a socket client in RPG that calls a Java server socket. However, the problem that we're running into is that connect()/sent() operations blocks and we have a requirement that if the connect/send couldn't be done in a matter of a second per say, we have to just log it...

    ITKE346,430 pointsBadges:
  • Can my friend call a remote Java program on iSeries from RPG?

    One of my good friends (who's a programmer) is looking to invoke a Java program from RPG running on iSeries V5R4. His remote program is a web services client, running in WebSphere. He would like to call it direct from RPG...is that possible? Does he have to create a program to run on iSeries and...

    ITKE346,430 pointsBadges:
  • Verifying user, password and open menu of RPGs

    I currently have a login module in my AS/400 application where the user name and password are verified and only if the password matches the user, they are given access to the Menu screen (with contains RPG programs). I'm trying to find out if it's possible to achieve that when the user is verified,...

    ITKE346,430 pointsBadges:
  • Reading liblist through an ILE program

    Our part of the company controls what objects our programs on our AS/400 work, running them with different liblists. But we know that some operations can't be controlled by this. Our program needs to read the liblist and decide on some of the libraries in it (and how to act).But we couldn't find...

    ITKE346,430 pointsBadges:
  • How can I access RPG on iSeries from Java?

    I'm pretty much a beginner on all things AS/400 related so I'm trying to find out if other professionals have had good experiences of talking direct to RPG programs running on a v5r4 iSeries machine from Java. What pitfalls should I try to avoid with this?From what I've read, I can use...

    ITKE346,430 pointsBadges:
  • DSPFD and DSPDBR

    Hi, Difference in the no of physical file count in a library using the DSPFD command and DSPDBR. DSPFD FILE(/) TYPE(*MBR) OUTPUT(*OUTFILE) OUTFILE(/File1) OUTMBR(*FIRST *ADD) When I try to take the count of this outfile for type ='P' the value is 1000(For eg). But when I store the results of DSPDBR...

    Prashanth123255 pointsBadges:
  • Execute SQL statement using an RPG variable

    I'm trying to pass a cursor and data structure to a procedure. That procedure should populate the structure with the next row from a SQL cursor. Here's what I'm trying to do: ***************************************************** * * Fetch the next row from a cursor * * @param cursor - the name of...

    ITKE346,430 pointsBadges:
  • How to tell why a program is failing in RPG

    Is there a way that an RPG program can log what happens when a program call fails? I need to know if what I am running is failing due to an authority issue or because it could not find the program. How would I do this?

    ITKE346,430 pointsBadges:
  • Could we set compiler options for activation groups in RPG/CL program?

    In most of our AS/400 programs, we need to change the handling of the activation group (since the default behavior is not useful). When I compile one of those programs, I have to remember to set the complier options. (Depending on the program)enter 14, hit F4, change DFTACTGRP from *YES to *NO, hit...

    ITKE346,430 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following