RPG ILE Questions and Answers

Recent IT Questions

81 - 100 of 113

%replace BIF

Anyone have an example how to use this bif?

View Answer   |  Jan 16 2008  10:57 PM GMT
RPG, RPGLE, RPG ILE
asked by Kstinman

  5 pts.

ILE RPG

What is the full form of RPG ILE

View Answer   |  Jan 10 2008  12:34 AM GMT
RPG ILE
asked by Pkj

  5 pts.

ILE RPG

i want to move a numeric field(15,2) to a character field of length 15. i want the character field output with decimal points... For example ...>Input-----> A=123 , B is a character if i move numeric A to character B,character OUTPUT B should be 0000000000123.00

View Answer   |  Dec 15 2007  4:50 PM GMT
RPG, RPG ILE
asked by Fun

  10 pts.

Advanced Trigger question for *insert *before to allow update of field value

I need to update a field in a record being written prior to it being written. I want to do it with a trigger because many programs write and update this file. I have tried several things and the closest I have gotten is to do a *before *insert where I can see the values of the fields in the after...

View Answer   |  Nov 28 2007  7:02 PM GMT
RPG, RPGLE, RPG IV
asked by Dcdc

  5 pts.

PAGE X OF X

If for example, I have a 5 page report, does anyone know how to make the report read page 1 of 5, page 2 of 5, etc without first having to print the report to see how many pages there are? (I am using RPGLE)

View Answer   |  Nov 14 2007  7:06 PM GMT
RPG, RPGLE, RPG ILE
asked by GHENDER

  50 pts.

open(open file for processing)

OPEN commmand is used for what purpose in rpgiv.pls also give me the short program of this command.

View Answer   |  Nov 13 2007  7:22 PM GMT
RPG IV, RPG ILE
asked by Gauravsolanki

  5 pts.

RPG-ILE Examples

Please tell me the best site for rpg-ile coding examples in a work atmosphere, not the single line examples like in the manuals. Thanks

View Answer   |  Nov 1 2007  9:08 PM GMT
AS/400, RPG ILE
asked by Rpgilequestions

  0 pts.

Data Structures and Procedures

Hi, I want some good explanation on DATA structures with sample examples and also about using procedures (PR and PI) with examples....

View Answer   |  Oct 11 2007  6:10 AM GMT
AS/400, RPG ILE
asked by Hari13

  0 pts.

Error in execution programs batch with screen

I have a program RPG/ILE that has a screen, but an indicator is handled for when lot is executed the program in way does not appear the screen, but at the time of the execution the program by error in pnatalla for a program falls batc; as I can solve this disadvantage. Gracias

View Answer   |  Oct 10 2007  5:44 PM GMT
RPG, RPG ILE
asked by Hueso98

  0 pts.

How to unit test a module?

Hi, I have done some enhancements in the existing module. for that i wolud like to do a unit test any one can help me out to describe how we can unittest a module .

View Answer   |  Sep 24 2007  5:02 AM GMT
RPG ILE
asked by Rohan

  10 pts.

Send messages from RPG

Hi everyone! Do you know if there is a way to send text messages from an RPG program to a cell phone, by using a command or something like that? Or, could you tell me how to send an email message from an RPG program, using commands or APIs? Examples would be greatly appreciated. Thanx in...

View Answer   |  Jul 27 2007  4:23 PM GMT
RPG, RPG ILE
asked by FreyaMVG

  0 pts.

MONMSG and SNDRPY

Dear, I'm trying to write a small program to run my backup job via BRMS... and I would like to check the different errors and reply automatically to few of them. Ok, I can monitor the error messages through MONMSG but how can I reply to them ? I know that I have to use SNDRPY but how can I have the...

View Answer   |  Nov 2 2006  3:00 AM GMT
RPG, Application development, CLP
asked by PierreLG

  45 pts.

create computations on the fly

We are primarily a COBOL shop. We have some COBOL ILE and some RPG. I have a need to replicate a function on the I-series that is currently done in Excel. This function allows them to create formulas on the fly to arrive at pricing information. I can work through issues with interactive...

View Answer   |  Oct 31 2006  12:47 AM GMT
AS/400, Programming Languages, COBOL
asked by roses06

  0 pts.

Zebra printers on an iSeries platform

I am on an assignment that has me pulling out what little hair I have remaining. Zebra printers use a language caled ZPL to print thermal labels. Problem is, there is no tool I can locate on the iSeries that produces ZPL code. Zebra offers a product that is PC based. It produces ZPL code that...

View Answer   |  Oct 11 2006  1:10 PM GMT
AS/400, Printing, Application development
asked by OldGoat

  0 pts.

Monitoring VRYCFG

Hello, Well, I need some advice because I'm one more time a little bit lost in my learning of AS/400 programming. Here is what I'm trying to do: Everytime that the AS/400 receives a VARY OFF on 1 specific device, I would like to execute a program after the VARY OFF is complete. I was thinking of...

View Answer   |  Oct 3 2006  9:16 AM GMT
AS/400, RPG, Application development
asked by PierreLG

  45 pts.

Embedded SQL in SQLRPGLE using JOIN on multiple files

Greetings, In the past I've used embedded SQL in an SQLRPGLE program and on the FETCH INTO statement I specify an externally defined data structure with the definition of the file I am SQLing thus allowing me to read in the entire record's fields mapped correctly in one FETCH INTO statement... ...

View Answer   |  Aug 21 2006  2:32 PM GMT
DB2 Universal Database, RPG ILE
asked by jklipa

  0 pts.

How can you send a Reverse Image message to users message que

I am attempting to send a Reverse Image message to a users message que with the SNDMSG command. I am attempting to put the 'X21' attribute (Green Reverse Image) on the message so that the message appears in Reverse Image and stands out for the user. I have seen this done before but...

View Answer   |  Aug 11 2006  9:58 AM GMT
AS/400, RPG, CLP
asked by seeker0719

  0 pts.

SETLL and READE or CHAIN? Performance Issues

HI, I have a batch RPG programs used to do some updataions and reporting, currently the job takes around 1 sec to process a record. We want to further reduce this time. Changing the run Priorty may make the job run a bit faster, are there any other parameters that can be used? also am...

View Answer   |  Aug 10 2006  7:34 AM GMT
AS/400, RPG, Printing
asked by caprius

  0 pts.

How to make a batch job run faster (excpet for the run priorty), Code changes?

HI, I have a batch RPG programs used to do some updataions and reporting, currently the job takes around 1 sec to process a record. We want to further reduce this time. Changing the run Priorty may make the job run a bit faster, are there any other parameters that can be used? also am looking...

View Answer   |  Aug 10 2006  6:46 AM GMT
AS/400, RPG, Software
asked by caprius

  0 pts.

Determine Java Version from RPG

I have multiple solutions dependent upon the version of java or the lack of java on an iSeries, all controlled from RPG. From RPG,how can I determine if java is installed on the machine and if installed, what version? Any ideas?

View Answer   |  Apr 17 2006  11:49 PM GMT
Java, Application development, RPGLE
asked by DaddyCOZ

  0 pts.

81 - 100 of 113