• Design wider subfile in AS/400

    How can I design a wider subfile, meaning I have about 20 fields to show in a subfile with variable length. How I can display them to-gather in a single subfile and implement horizontal scrolling also. Thanks in advance.

    hunshabbir7935 pointsBadges:
  • RPGLE program: Get copy book source in debug

    Hi, I have more than 70+ copybook in  RPGLE program. When I compile with the debugging view as - *List or *All. I get error as "RNS1311" Reason code as "1". Please advice.

    as400dev480 pointsBadges:
  • Reading Windows .TXT or CSV file in RPG

    I am quite new to RPG. I want my program to pick up txt files placed at some remote location and read them. (later I want to store data in some physical file). Any idea will be appreciated.

    hunshabbir7935 pointsBadges:
  • How to eliminate or remove a command line from a menu.

    We I created a menu it gives us a command line by default. I want to give only 2 digit space for user input (only numeric option(s)). How can I achieve this. Thanks in advance

    hunshabbir7935 pointsBadges:
  • Search in qualified data strucuture

    Hi, I used qualified data structure in RPGLE program. How to search in this data structure. My Coding: D Address DS D dvadd 20 D dvphn 20 D dvcity 20 D dvctry 20 D InvoiceInfo DS QUALIFIED DdvType1 1 2 DdvType2 3 4 D MailAddr LikeDS(Address) D ShipAddr LikeDS(Address)...

    LakNar270 pointsBadges:
  • How can I determine the CCSID of a file in IFS?

    I have a bunch of files in IFS that have a wide variety of CCSIDs and I'm trying to create a simple RPGLE that will allow users to view all these files.Now our system CCSID is 655335 and our jobs have a default CCSID of 37 so when I try to display different CCSIDs, I see a bunch of garbage symbols...

    ITKE342,450 pointsBadges:
  • Keep getting “Name or Indicator is not defined” error message

    A good friend of mine has been recently taking introductory courses on IBM iSeries and Rational Developer. And he's having trouble with one of the code problems in his class. When he's compiling a program "MARKSRPG.RPGLE, he keeps getting the error: "The Name Or Indicator Is Not Defined", His...

    ITKE342,450 pointsBadges:
  • I can’t figure out how to organize RPGLE subversion repository

    My company has a ton of RPGLE-sources for their in-house application but they want to adopt a more modern style of coding. Basically, I'm "modernizing" the whole coding process and the open source subversion of OS/400 is working great but there are two issues during installation. Here's the code:...

    ITKE342,450 pointsBadges:
  • RPGLE program to check data across 3 file systems

    I'm working on a project with RPGLE wherein we purge customer numbers from our files if there is no data behind the record. This purge will take place across three file systems. Of course, it's not as simple as a yes/no situation. In one of the file systems, we need to verify that there is no...

    ITKE342,450 pointsBadges:
  • Java program crashes with RPGLE interface

    A good friend of mine recently created a Java program that creates PDF files that are based to GNUPDF. It's running great when he's using a native Java code but when it's used through RPGLE, the program crashes when it processes images. He tracked it down when of them to loading an image from a...

    ITKE342,450 pointsBadges:
  • Impacted RPG programs

    Hi,I want to change the file structure in a PF which has no LF, How can I indentifyall the impacted programs without using any utility. I believe i can do find string and get the list but copybooks may also have used in those programs, which could not be found right?Please advice,Thanks,Dev

    as400dev480 pointsBadges:
  • Creating attendance records using RPGLE

    Hi everybody! I'm tasked with developing an attendance system for work and I'm using RPGLE. The physical file contains the following fields: User ID(key field),Date,Time In,Time Out ...... I need the system to display records by the highest value of Time Out for a given day, and then use the Time...

    ITKE342,450 pointsBadges:
  • Creating an integer in RPGLE

    Looking for a way to create an integer in RPGLE in a way that is similar to the int command in Java. Is there anything like this?

    ITKE342,450 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...

    ITKE342,450 pointsBadges:
  • Can I convert single characters into integers in RPGLE?

    I'm looking for a way to convert single characters in RPGLE into integers. It would have to work for all inputs and provide a different integer for each input (or at the very least provide a different value for all common inputs). This is a sample code of how I would like it to work:characterData =...

    ITKE342,450 pointsBadges:
  • AS400 – displaying window in *DS3 screen size over SFL in *DS4 screen size

    I want to be able to display a window with a 24x80 screen size, without removing the background SFL which is displayed with a 27x132 screen size. Haven't been able to do it. I have tried 2 different formats in one display file, using 2 line and position definitions per field (one for DS3 and...

    Zack250 pointsBadges:
  • Character counting in a string in RPGLE

    How does one automatically read the number of characters in a string in RPGLE? I want to do this so that spaces are not counted, but punctuation and other actual characters are. For example "test" would come back as 4 characters, while "test underway" would read as 12 and "test underway!" would...

    ITKE342,450 pointsBadges:
  • How should I use String.format in RPGLE?

    I'm looking to interface RPGLE with String.format which would take variable length arguments or an array. If it's possible, I would also like to pass numbers as well as strings, so I'm thinking the format is like this:"hello %s, you are %d years old"How should I prototype this in RPGLE?

    ITKE342,450 pointsBadges:
  • RPGLE programs: Memory leaks

    I've been putting into production some RPGLE code, which uses "%alloc" and "dealloc" to allocate memory. I know programmers shouldn't worry about resulting memory leaks but I'm worried about if it actually does happen.So here's my question: If a programmer messes up and there actually is a memory...

    ITKE342,450 pointsBadges:
  • Source size limit in SQLRPGLE

    I've been having some problems compiling a 25,000 line program and I'm figuring that a line limit is causing all of my errors. Is there a limit to what the SQL pre-complier can handle for a SQLRPGLE source object?

    ITKE342,450 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