• Is the a way to get the source file and library of a RPGLE program?

    For RPG program, the DSPOBJD shows what library and source that the object was created from but it's blank if the program is written in RPGLE. Is there a way to get it for RPGLE?

    KimDinh65 pointsBadges:
  • Getting I/O error CPF5004

    Hi, I am trying to write 10000 records from pf to printer file but after writing 200 or 300 records into the printer file, I'm getting the I/O error CPF5004. I know I'm getting this error because the page overflow indicator is not set it. But I'm doing programming in RPGLE. I don't know how to...

    Mohan K695 pointsBadges:
  • Pass a data structure as 1 parm to CALLP in RGPLE free form

    In RPG IV you can pass a data structure as only 1 parm when call other program. A data structure is a list of fields. How can you do it?

    KimDinh65 pointsBadges:
  • Command or function to change/convert char to hex values in RPGLE

    I have a string that needs to be converted to its hex values and then i need to check if any character in than string is less than x'40. If so, I need to replace it with blanks. The output should be the character string (The string will have its invalid character's (less than x'40) replaced with...

    NicyChn110 pointsBadges:
  • Physical File Without Key

    Hi guys, Currently i'm using RPGLE language. If i have a Physical File that without key, How am i going to set my pointer. I can't CHAIN,SETLL and SETGT as well. In order to use them, u need have a key. Am i rite? Is there any idea to solve this matter? Thanks!!!!

    SoulReaper20 pointsBadges:
  • Need to find everyplace a file is being used.

    I have a file that we are adding a field. Need to find every program the file is being used to know which ones need to be recompiler. Would be nice to do one big search of the entire library. 

    nitzinger385 pointsBadges:
  • How to compile RPGLE with multiple IP with extind(*INUx)

    How do you compile a RPGLE program that has multiple input primary files using the EXTIND(*INU1)&EXTIND(*INU2)? I get error that there is more than one primary file. I set the switches and tried to compile interactively ... same result. This is obviously an existing program that I have modified.

    ChristiB20 pointsBadges:
  • How to retrive USRPRF name in RPGLE

    Hi, As I'm aware there are two ways to retrieve the User Profile Name in the RPGLE. One is using Data Area Data Structure, like LOCALDA          U DS usrID                   1    10 then, *DTAARA       Define    *LDA          PROGRAM Movel    ...

    Sureyz2,465 pointsBadges:
  • 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.

    hunshabbir71,980 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.

    hunshabbir71,980 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

    hunshabbir71,980 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...

    ITKE350,415 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...

    ITKE350,415 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:...

    ITKE350,415 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...

    ITKE350,415 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...

    ITKE350,415 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...

    ITKE350,415 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