• SQLCODE = 1077952576

    All- I'm getting the above error code from an RPGSQL program. This is just after a DECLARE statement. Other fields in the SQLCA are blank. I can run the statement in Interactive SQL w/o errors. I should be getting a small subset. I get 0 records. Any Ideas?  It's not in the SQLCODE finder. Phil

    MurrayInfoSys940 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,300 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.

    hunshabbir785 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.

    as400dev475 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.

    hunshabbir785 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

    hunshabbir785 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...

    ITKE54,665 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...

    ITKE54,665 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:...

    ITKE54,665 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...

    ITKE54,665 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...

    ITKE54,665 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

    as400dev475 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...

    ITKE54,665 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?

    ITKE54,665 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...

    ITKE54,665 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 =...

    ITKE54,665 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:

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