• 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?

    ITKE344,655 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...

    ITKE344,655 pointsBadges:
  • RPGLE: Conditional Compilation?

    This is more of a general question but I'm wondering if I can include a section of code that's based on whether a variable is defined in my program or is the preprocessor completely not able to access this info (only compilation conditions)? This is what I'm looking for:/IF DEFINED(myVariable) D...

    ITKE344,655 pointsBadges:
  • Remote Java Program for zip codes in RPG

    I'm designing a remote Java program to look up zip codes for RPG running on iSeries V5. Its a web client service running in Websphere. Is there a way I can set this up so that the calls go through RPG instead of having to create another Java program to handle it?

    ITKE344,655 pointsBadges:
  • RPG: INLR statement

    I've recently been looking at some legacy programs, such as the following code:C/free Dow 1=1; SubRoutine(); EndDo; *INLR = *On; /end-freeThe program that I'm questioning is a "server-like" program, where the sub routine handles incoming requests over the network. I feel like the *INLR=*On...

    ITKE344,655 pointsBadges:
  • How can I run an RPG function in Java?

    Within Java, how can I call a RPG Function that can pass parameters, return result sets, and output parameters?

    ITKE344,655 pointsBadges:
  • RPG programming: Are nulls not permitted?

    I know this might be an off-topic discussion but I was recently told by one of our RPG programmers that none of our AS/400-based DB2 database tables can permit nulls because "they're really difficult to program" for in RPG. Is this true? If so, what makes the basic database feature so difficult in...

    ITKE344,655 pointsBadges:
  • What RPG IV book would you recommend?

    A good friend of mine recently became a Ruby programmer and needs to learn RPG IV for one of his current projects. He's looking to learn primitive types, data structures, control flows and architecture. Are they any good books out there that he should start with? What would everyone recommend?

    ITKE344,655 pointsBadges:
  • RPG Reversing time code

    I doing online testing process in that I want to validate the time for each question. I want to show the remaining time for the particular question in RPG ILE concepts. Can anyone help me out?

    thambiyannanvignesh50 pointsBadges:
  • Clearing the screen in RPG in AS/400?

    How does one clear the screen in RPG for AS/400? Is there something like clrscr() from C that I could use?

    ITKE344,655 pointsBadges:
  • Should we use a RPG Simulator?

    We just got an urgent requirement to call a RPG program to Java. We are planning to use JTOpen but we don't have access to this system. Is there a way to test the Java program? Should we use a RPG simulator for Windows? Thanks!

    ITKE344,655 pointsBadges:
  • iDOC to RPG

    I need to write a RPG program interface using iDOC data. How can I do that?

    fbarrett5 pointsBadges:
  • Data fetching from file

    Hi all, I have a scenario where I need to read from a File F1 based on Product name only (F1 Key is Product name+ XXX+YYY+ZZZZ) write to file F2. Both F1 and F2 having same fields except F1 have 1 Additional field(ZZZZ) which we are not populating to F2(F2 Key is Product name+ XXX+YYY). So for each...

    Sai4AS4001,420 pointsBadges:
  • IF an RPG error pop-up at a user screen, can we prevent him to put any answer?

    Any user on AS/400 screen (emulation 5250 or telnet) that is using our AS/400 menu and gets an error that needs a reply (C, G, D, I or else)  I want to prevent the user (interactive) to answer any error message that could popup at the bottom of his screen.  Can this be done on the AS/400?

    Denisv8825 pointsBadges:
  • Program variable in RPG?

    Hi! Is it necessary to use a program variable or what is the use of program variable? For example I have a field name EMPNO in Physical File MASTER01. Program is getting the value for this field from Display file DSP01. Can I use the same name EMPNO in RPG and DSPF too? Surey.

    Sureyz2,380 pointsBadges:
  • Service Program, Activation Group

    Hi Everybody, Could anyone from this group help in understanding the Importance of....Service Program, Binding Directory and Activation Group's with ssome practical Example. Thanks, Rama Krishna

    mvrkrishna535 pointsBadges:
  • Asna Visual RPG

    DCLDISKFILE  NAME(Reh02_pf) TYPE(*UPDATE) ORG(*INDEXED) ADDREC(*YES) DSG(*FULL) DclFileCont DBDESC('Ozgur DB') DclFileCont FILEDESC('Tel_Reh/Reh02_pf') DCLDISKFILE  NAME(Reh_pf) TYPE(*OUTPUT) ORG(*INDEXED) DSG(*FULL) DclFileCont DBDESC('Ozgur DB') DclFileCont FILEDESC('Reh/Reh_pf') I have 2...

    Mahmut2035 pointsBadges:
  • AS/400, RPG, ILE, DB2/400

    Hi Group, Please let me know.... How to analyze the DUMP of RPG in AS/400? What are the steps involved? Thanks & Regards, M

    mvrkrishna535 pointsBadges:
  • Help regarding RPG programs

    I want to do a project in RPG, here is my concept. I have a specific product which was containing some functionality and this product was used by some customers. I want to code a tool which will show the info like Full customer info (which functionality were used by customer). Functionality info...

    sivakesava280 pointsBadges:
  • GMT timestamp

    I am creating an XML document using RPG and I need to output a timestamp in GMT format : YYYYMMDDThhmmssZ The date will need to end up looking like this: 20131003T210212.001Z. Can anyone tell me how to do that in an RPG program on the iSeries?  Thank you.

    DStaats25 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