• Convert character field in decimal field.

    hi, everybody i need a help for this: waval = 15A wnval = 15 2 i put in my source this eval wnval = %dec(waval:15:2) but when i run the program stop with error in this line. what i need to do, because i want this example: waval = 123456789012345 wnval = 123456789012345.00 but if i put this: waval =...

    BUG68235 pointsBadges:
  • Reading an unknown file in RPG

    Hi All, I am working on a DBU like utility which will provide a maintainance screen for each file. I need to read the file in an rpg program but i dont know the program name till runtime. I can't declare the file in F specs as i dont know the file name. SQL is very bothering and is very heavy for...

    Detuli15 pointsBadges:
  • RPGILE comparing values

    i have a value say for example ASD12246. i need to check this value against afile which contains similar values lik this. i need to pick the value that has maximum matches with this number. Sa y for example if the File has ASD122 and ASD1224 i have to selct the code corresponding to ASD1224 as it...

    Deepz30 pointsBadges:
  • Pop-Up Calendar with RPG

    I found a link that would show me how to code a pop-up calendar on the AS400. However, when I went to that link, it was invalid. Does anyone know how to create RPG code for a pop-up calendar on the AS400?

    GHENDER190 pointsBadges:
  • RPG Debugger

    I work for a small AS/400 shop. For the most part, we are still coding in RPGIII and doing green screen applications. Due to a recent Lawson upgrade, we have had to convert a large chunk of our code to ILE. Myself and the other programmer here are used to the Interactive debugger and using the old...

    Willhud69205 pointsBadges:
  • Job Type

    How to find the job type (Interactive/ Batch) using RPGLE Programs

    rajeshece1,215 pointsBadges:
  • How to get a Lastname from a field that contains the Full Name? (RPG-ILE)

    Hi Guys, I need your suggestions.... I have to extract data from our AS400 box and convert it into text file. For a client's name we have 3 particular fields. 1. FirstName, 2. LastName and 3. FullName. The problem is there are records where First Name and LastName fields are empty. Thats why I have...

    Niel5 pointsBadges:
  • RPG edit code for signed value

    Hi I have moved a numeric value to a ds. I have used this EVAL F1 = %EDITC(ABC:'3')-here F1 is part of flat file DS and there are decimals required in the output file.I am getting the decimals but my problem is that ABC field from i/p file could be negative but am not sure how to get the sign to...

    0 pointsBadges:
  • Data Area Lock issue in RPG ILE

    Hi, I am using a data area in a RPG ILE program which will lock the data area and updates value. If the data area is locked, the program has to unlock the data area which is locked by the same user in any of his other session. Is it possible? If yes, please let me know steps have to be followed for...

    frmdeva365 pointsBadges:
  • how do you code a table in rpg

    I need to code a table in rpg iv. I'm new to rpg and need assistance on coding techniques as it pertains to creating a table in a rpg iv program

    Simobam10 pointsBadges:
  • Debugging service program

    Hi anybody tell me how to dubug a service program in ILERPG...thanks

    ten20081,150 pointsBadges:
  • Text files

    Can you write or add to text file in an RPG LE program?

    CHARLESG25 pointsBadges:
  • How to manage allocated register problems in RPG?

    Hello. I'm having troubles with many allocated registers for update, when 2 users try to modify the same data. How is the correct way to prevent this situation in ILERPG ? Thanks!

    Mariodlg2,790 pointsBadges:
  • How to get the row count of a PF with RPG ILE?

    Hello, I'm looking for an example of how to get a row count of a PF from a ILE rpg program. Thanks everybody.

    Mariodlg2,790 pointsBadges:
  • How to access all records in RPGILE

    hi all, suppose i have a report with input criteria 'machine code' and requirement it that if i input a perticular 'machine code' then it should COME only that , otherwise all records of all 'machine codes' should come , in clp i use %WLDCRD for that. but i need to do it in rpgile , is there any...

    Ambrish 82310 pointsBadges:
  • calling java function running on websphere from as/400

    How to call a java program running on web sphere application server from System i? We are able to call a java program deployed on System i on IFS directory using RPG ILE.

    Uiiuo50 pointsBadges:
  • How can i position the cursor at the beginning of the input field?

    Program a calls pgm b that displays a window, with first input field an unsigned numeric, length 3. Screen is compiled with *rstdsp = yes. Control passes to pgm c then back to b. On return to b, the cursor is always at the 3rd position in the input field as it was before going to program c. How can...

    LLoyd02445 pointsBadges:
  • AS400 read of PC files

    On the AS400/ISeries/SystemI, I would like to read PC file data from a PC Server into my RPG program. What is the best way to accomplish this task? Right now, it would be for READ ONLY.

    Danljonessr10 pointsBadges:
  • RPG/Asset

    Can a rpg program in asset be converted to rpg400 or ile?If so how

    0 pointsBadges:
  • Reading a Microsoft Word file (.doc) in a ILE RPG program

    I need to read the text of a Ms Word file without opening word, reading it in a ile rpg program, and put the text in a string. How can I do ? Thanks in advance

    Alfredovitali5 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