RPGILE Questions and Answers

Recent IT Questions

61 - 74 of 74
<<PREVIOUS 1|2|3|4 NEXT>>

How to define two dimensional arrays in RPGILE

I need to create an array that contains a code (2,0) and hrs worked (5,2) for that code. something like 01 2.3 4.3 5.6 7.0 8.0 02 5.0 6.0 7.0 7.0 6.5 I will then take this array and load a subfile to display on a screen. Thanks, John

View Answer   |  Jun 12 2008  7:15 PM GMT
AS/400, RPG, RPG ILE
asked by JAC

  260 pts.

CVT2PDF

In the CVT2PDF in RPGLE is there a way to change the font output? It appears to be Courier and I have Customers that say when they print out the PDF I send them via email that it doesn't appear very well.

View Answer   |  May 30 2008  9:06 PM GMT
RPGILE, CVT2PDF
asked by Filuphaze

  325 pts.

How to read records in all of the members of a single pf?

I have a file name file1. it has 30 members. i have a input value from a display file and i need to check it in all the members. If it match i write the record in file2. How to read records in all members of a single pf?

View Answer   |  Mar 27 2008  7:13 AM GMT
AS/400, RPGLE, RPG IV
asked by Pradeepr

  10 pts.

CGI Program Problem - Data Decimal Error

We have a set of programs that were written a couple years ago. We recently recompiled one and we started getting the error RNQ0907 decimal-data error. There were no changes to the actual code in the program or modules that are bound to it. We restored the object from tape and it works fine, but...

View Answer   |  Feb 26 2008  2:45 PM GMT
CGI, V5R3, RPGILE
asked by Willhud69

  205 pts.

Use and validate Function Key on Display File/RPG ILE

Hi Everyone, My program uses a display file and I want to use a function key (say F4) to prompt for, let's say customer name field, at row 10, column 20. How do I do this on the display file and how do I check to make sure F4 was pressed and valid only when the cursor was at customer name field in...

View Answer   |  Feb 22 2008  11:27 PM GMT
RPGILE
asked by RPG ILE

  15 pts.

Word document/PDF used as Help text

I am wondering if anyone knows of a simple way to solve my problem. We are creating help text documents in word/PDF and want to use those as the help text when the user presses CMD-Help on the RPGILE programs. i.e. when user presses cmd1 for help they will get a nice documented helptext with...

View Answer   |  Feb 21 2008  2:59 PM GMT
AS/400, RPGILE, iSeries development
asked by JAC

  260 pts.

RPGILE, How can i refresh thefields of display file without moving *blanks to every field....

Is there any way in which we can blank out the fields of a display file without actually moving *blanks to every field, say i have 100 flds in my display file and want to refresh their value. how can i Do it?

View Answer   |  Feb 18 2008  7:22 AM GMT
RPGILE
asked by Rashif

  10 pts.

SAP BW vs. AS/400 RPG/ILE

I'm an rpgle programmer. I just took a SAP BW course on-line and am confused by the terms. Key figures, infoobjects etc. I'm trying to relate these terms to files and fields but am not having much look trying to figure it out. Can anyone recommend a SAP book that might compare the BW...

Answer Question   |  Feb 10 2008  3:14 AM GMT
SAP BW, RPGILE
asked by Boo B

  5 pts.

apply exclusive locks

How to apply exclusive lock with no read on a physical file?

View Answer   |  Jan 24 2008  5:17 AM GMT
RPGILE
asked by Divyasrin86

  5 pts.

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

AS400 menu opton security

Hello I need to be able to set up security at the menu and menu option level so that I can limit users to specific menus and menu options based upon their user id. I would like to be able to do this thru a custom program written in CLLE or RPGILE. This program would be interfaced when the...

View Answer   |  Jan 9 2008  2:43 PM GMT
AS/400, CLLE, RPGILE
asked by Piano

  250 pts.

SQL update question

I'm new to SQl and cannot figure out how to do an update without listing every field in the record, sorry, row. The file I'm updating has about 50 fields, any of which might be changed. They are in an external ds that maps the record format, so it would be nice to say update set record = :myds ...

View Answer   |  Dec 18 2007  11:36 PM GMT
AS/400, SQL, RPG
asked by Unknowingone

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

UTC format which is basically the number of milliseconds since Jan 1 1970 convert in RPG

Is there a straightforward way using rpg ile to convert the UTC date into ymd format

View Answer   |  Nov 27 2007  8:54 AM GMT
AS/400, rpp, RPGILE
asked by Cymro

  5 pts.

61 - 74 of 74
<<PREVIOUS 1|2|3|4 NEXT>>