• CPF5032 member already locked to this job

    I have a program written in RPGLE which calls numerous other programs. These programs all share similar files. In my main program, when trying to read a particular file, I get error CPF5032 even though I unlock the file right before I do the setll reade. As a result, I figured the lock must be...

    GHENDER215 pointsBadges:
  • Reading members of a physical file

    Hi, Can somebody please help by providing the program code for reading all the members of a file using RPG or RPGLE program? Suppose a file has 3 members then how to read the records of all the 3 members in a file? Thanks!

    6r1,850 pointsBadges:
  • Unicode on AS/400 RPGLE

    We are upgrading to 9.0 JD Edwards where the unicode tables have CCSID = 13488; I still need them to work with legacy files, CCSID = 37. How can I get these 2 types of tables to interact within RPGLE (V6R1M0).

    Normap2275 pointsBadges:
  • CCSID 935 to CCSID 13488

    I have a file that is ccsid 935 containing some records with Chinese characters. I need to convert that file to its upgraded version that is ccsid 13488. (These are vendor files, therefore I have no control over their definitions.)  It is possible to simply copy the older file into the upgraded...

    Ckelly0120 pointsBadges:
  • Update causing reade to read the same record in RPGLE

    Hi Team, I have a critical issue. In RPGLE program, I have read a file then based on some condition I am updating the file if condition is not satisfied I am not updating that file. I am doing it in a do while loop. The issue I am facing is the record that has been updated is being read again....

    soundariya20 pointsBadges:
  • How does equal to operator work in RPGLE free format when v compare file field with constant value.

    I have a file field which has values 'X' or 'Y' and it is of 10 length. Chain f1:f2:f3 filename if %found filename if f4 = 'X' In free format RPGLE when I tried to compare it fails even though value of f4 is ' X' . Note: f4 is of 10length. Work around is trimming F4 before equating but I would...

    NicyChn135 pointsBadges:
  • Dynamic SQL in RPGLE

    I am building a dynamic SQL in RPGLE with a wildcards. It does not work like a native SQL statement. A search for "FRANK" will search on 6 characters (retrieve all the FRANK and the FRANKL, but not the FRANKLIN). A search on "FRANKL" will retrieve the FRANKL and the FRANKLIN. Any help would be...

    davidgrant10 pointsBadges:
  • RPGLE validation

    How can I do a validation like first 3 words character and next 5 must be number in RPGLE?

    Vishalsuryavanshi15 pointsBadges:
  • Removing a Window without Re-Displaying the Underlying Record Format

    Program TST040 displays format Fm01Fmt. When the user presses F8 program TST041 is called, which displays a window and immediately returns to TST040 to continue processing (denoted by the Sleep function). After the “processing” completes, Fm01Fmt is redisplayed, removing the window from TST041....

    wbellis335 pointsBadges:
  • Dynamic SQL in RPGLE

    How can I build a dynamic SQL statement for input from a screen file?

    davidgrant10 pointsBadges:
  • Update and write sample RPGLE program

    Hi all, I have two physical files pf1 and pf2 with three field student_id,name,marks. I want to Move the records from PF1 to PF2. If the Student_ID already exists in PF2 just update the record else write a new record in PF2.where student_id is key field in both physical file. Could anyone provide a...

    nabamita90 pointsBadges:
  • KeyBoard Mapping in AS/400

    Can some one help me in Keyboard Mapping from English keyboard to Arabic Keyboard on AS/400 to be used in RPGLE Program?

    AnwarHabib20 pointsBadges:
  • Create RPGLE program from text

    I have been looking for a way to delete audit journal receivers by date. I found a program online by Carsten Flensburg. I've downloaded the files for this but they are in text form. I am not a developer, maybe a novice CL programmer :) . There are 4 files he has created: Member Name     Source...

    BigT211240 pointsBadges:
  • How to automate getting the .CSV file from IFS folder to local desktop

    I am working on tool which extract the data from physical files based on some condition and creates a .CSV file in IFS folder. I want to automate the process to get the CSV file to local Desktop and should save the file in specified location in local system. Is there any way to open the .CSV files...

    Richapd5 pointsBadges:
  • ARABIC data inserting using RPGLE

    I need to enter Arabic Data on AS/400 Using RPGLE having QCCSID value 65535, QCHRID=697 Code Page=37 and QLANGID=ENU and OS/400 Release V5R4M0, Do anyone can help in inserting data on PF database in arabic using RPGLE?

    AnwarHabib20 pointsBadges:
  • Error in calling RPGLE program from CL

    I have a job running under subsystem. This job is using a CL program which inturn calling RPGLE program. The CL program is failing in call statement to RPGLE with following error message in jobog: Pointer not set for location referenced. Pointer not set for location referenced. Pointer not set for...

    Mayurp5 pointsBadges:
  • RPG large number

    Yes I'll research this on my own, it seems like it'd be an interesting topic. What is the largest numeric size usable in RPG? I'm after the high-end, not the decimals. TMI: I have a calc that blows up when the result is too large for the target field. I know I can calc to a 15.6 numeric, but hoping...

    aceofdelts2,340 pointsBadges:
  • Call by value/Reference

    Hi,Please explain with the example of call by value and call by reference in RPGLE.Thanks

    as400dev585 pointsBadges:
  • RPGLE calculation of date

    I had a requirement to calculate a due date based on given date + n number of days. The due date should exclude Saturday and Sunday comes in between the range. Is there any way to achieve this? For eg.  if 15 days add to 6 May, 2016, then the due date should be 27 May, 2016.

    Babs312290 pointsBadges:
  • Like Input records in COBOL

    How can I make all RPGLE input record fields have values not just the ones I ref?

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

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

Following