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
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
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.
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.
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?
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?
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...
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...
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...
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...
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...
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...
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?
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?
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...
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...
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...
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...
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 ...
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 ...
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...
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...
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
Is there a straightforward way using rpg ile to convert the UTC date into ymd format


