RPG ILE Questions and Answers

Recent IT Questions

21 - 40 of 113

Display Program Message

How to Clear the Display program message screen from the RPG ILE Program

View Answer   |  Jun 24 2009  9:34 AM GMT
RPG ILE, AS/400 administration
asked by PrateekChowdhri

  10 pts.

How to create menu using RPG program?

how to create menu using rpg program

View Answer   |  Jun 9 2009  9:37 AM GMT
RPG ILE, RPG/400, RPG
asked by 130784

  5 pts.

Printer files in RPG ILE

How can we create and use printer files in rpg ile... i am new to as400 and i want to know about printer files and reports as my company asked me to........

View Answer   |  May 18 2009  9:04 AM GMT
RPG/400, RPG ILE, RPGILE
asked by Rpgile

  20 pts.

is there material for IBM-972 ILE RPG programmer certification test

plz send material or faqs for IBM-972 ILE RPG programmer certification test, is any certication book like (scjp java certication book).

View Answer   |  May 7 2009  5:02 PM GMT
RPG ILE, IBM-972, AS/400 certification
asked by Geethardi

  10 pts.

Looking for a mapping program to segment invoices

I'm not familiar with RPG ILE and can't quite follow the example in the Infoprint Server Manual but I want to accomplish the exact same thing as the example. Take an Invoice run and segment by customer and email some of the invoices, print others, and be able to archive the files in customer...

asked by Jdipiero

  5 pts.

RPG ILE Character Hex Value to Decimal

Hi, I have a flat file with hexidecimal characters after certain characters. For Example : "MY NAME IS BEN ~0A" The "0A" represents the hex for 10 (decimal) whitch means 10 spaces. My problem is when i have "0A" in a alpha numeric workfield (length 2), how can i use it as a hex value? In other...

View Answer   |  Apr 29 2009  3:36 PM GMT
RPG ILE, Hexadecimal values, RPGILE
asked by Oupablok

  20 pts.

RPG sub-procedures

What have you found to be an over-riding reason to use a sub-procedure in an RPG program instead of a sub-routine?

View Answer   |  Apr 18 2009  1:53 PM GMT
RPG ILE subprocedure, RPG ILE, RPG
asked by LBurkett99

  800 pts.

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

View Answer   |  Mar 19 2009  12:27 AM GMT
RPG ILE, SQL, RPG
asked by Detuli

  15 pts.

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

View Answer   |  Mar 17 2009  6:58 PM GMT
RPG ILE, RPGLE, RPG IV
asked by BUG68

  80 pts.

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

View Answer   |  Mar 3 2009  6:13 AM GMT
RPGILE, RPG ILE, RPG
asked by Deepz

  30 pts.

How to determine the RPG version

Hi, Can you tell me how to know the RPG version (III or IV) in our AS400? Also, if it's ILE? Thank you.

View Answer   |  Feb 20 2009  10:41 AM GMT
RPG, RPG III, RPG IV
asked by Sanchezedwin2

  15 pts.

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?

View Answer   |  Feb 8 2009  11:31 PM GMT
RPG, RPG ILE, RPG IV
asked by GHENDER

  50 pts.

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

View Answer   |  Jan 30 2009  3:16 PM GMT
RPG ILE, AS/400 development, WDSc
asked by Willhud69

  205 pts.

Job Type

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

View Answer   |  Jan 20 2009  11:32 AM GMT
RPG ILE, RPGLE Program, RPG Interactive Mode
asked by Rajeshece

  480 pts.

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

View Answer   |  Jan 13 2009  6:55 AM GMT
RPG ILE, RPG/400, AS/400 development
asked by Niel

  5 pts.

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

View Answer   |  Jan 12 2009  9:14 PM GMT
RPG, RPG IV, RPG ILE
asked by Simobam

  10 pts.

RVI Software

I set up all our AP checks images for routing to an IFS Folder (PC). There are 12,763 images! When I ran the RVI program IMMUTOR1 it aborted with the message below. How can I clear the “R” from some of the existing APCHK’s I have routine so I can reduce the number of images to be routed? ...

View Answer   |  Jan 12 2009  4:06 PM GMT
RPG ILE, RPG/400, RVI Software
asked by VTX

  10 pts.

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

View Answer   |  Jan 9 2009  2:58 PM GMT
RPG ILE, Flat files, RPG Flat Files
asked by Anderson123

  840 pts.

rpgle

I have a file value which is of length 15 with 2 decimal places.This value has to be assigned to an output file field whose length is 13 (eg:10.2).Can this assigned in RPGLE.The field from input file is a numeric field

View Answer   |  Jan 8 2009  3:20 PM GMT
RPG ILE, RPGLE, RPG Output File Field
asked by Anderson123

  840 pts.

Debugging service program

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

View Answer   |  Jan 7 2009  5:07 PM GMT
RPGLE, RPG ILE
asked by Ten2008

  730 pts.

21 - 40 of 113