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
| asked by
Pradeepr
AS/400, RPGLE, RPG IV
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
| asked by
Willhud69
CGI, V5R3, RPGILE
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
| asked by
RPG ILE
RPGILE
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 screens...
View Answer
| Feb 21 2008 2:59 PM GMT
| asked by
JAC
AS/400, RPGILE, Help text
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
| asked by
Rashif
RPGILE
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
| asked by
Boo B
RPGILE, SAP BW
apply exclusive locks
How to apply exclusive lock with no read on a physical file?
View Answer
| Jan 24 2008 5:17 AM GMT
| asked by
Divyasrin86
RPGILE
%replace BIF
Anyone have an example how to use this bif?
View Answer
| Jan 16 2008 10:57 PM GMT
| asked by
Kstinman
RPG ILE, RPGILE, RPGLE
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
| asked by
Piano
CLLE, RPGILE, AS/400
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 sayupdate set record = :myds but...
View Answer
| Dec 18 2007 11:36 PM GMT
| asked by
Unknowingone
AS/400, RPG, RPGILE
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
| asked by
Dcdc
RPG, RPG ILE, RPGLE
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
| asked by
Cymro
AS/400, rpp, RPGILE


