Over the years I have had to modify my fair share of outdated code, especially when it comes to Date Conversions. Not every system uses an 8 position numeric date field. The place I’m currently at still has a number of files with a 6 position numeric date field. I was wondering if anyone else [...]
Answer Question | February 26, 2013 5:30 PM
RPG, RPGIV, RPGLE
I am a beginner in AS/400. I have written one RPGIV program which requires to read one PF and will do some processing and will write into another Output file. Input Record format defined in input file : INPREC Output Record format defined in input file : OUTREC. Removing all the processing part , in [...]
Answer Question | January 8, 2013 8:10 AM
Hello, Is it possible to create some kind of RPG sevice program that will reseide in the memory and await for a function key pressed while another program with its own DSPF is interacting with user? For example, user is intereacting with an input screen and secret functional key will allow a popup screen to [...]
Answer Question | March 17, 2012 1:22 PM
AS400. RPG, iSeries RPG programming, RPGIV
I have 1billion records in a PF.Key filed is Date.I want to generate a report based on Key field.Which approach will be best for me (I mean shall i go with OVRDBF or any other approach)Please suggest.(RPGIV-Free Format-V5R4)
Answer Question | March 31, 2012 7:21 AM
OVRDBF, RPG Code, RPGIV, V5R4
Hello everybody, I am looking for complete reference for free format RPGIV,as I am new to free format…please provide me a link/pdf for the same. Thanks, Samul
Answer Question | February 10, 2010 7:14 AM
RPG, RPG training, RPGIV
Quick and dirt way to backup my greenscreen as400 pgms to a text file or word file on the C: of my PC.
Answer Question | December 22, 2009 6:34 PM
I have a 10A character field which hold a numeric value. Problem is that it contains leading zeros. How can I remove them? Many thanks.
Answer Question | November 3, 2009 9:08 AM
RPG, RPGIV, V5R4
Experience shows you cannot move a numeric field to a character field using EVAL – so what is the best method? Is Movel the only way? Thanks.
Answer Question | October 5, 2009 9:01 AM
When a record will be locked and object will be locked? what is the level identifier parameter in PF?
Answer Question | August 14, 2009 2:44 AM
What is the difference between ‘Return’ and ‘LeaveSr’ in subroutine?
Answer Question | August 13, 2009 11:23 AM
I have a fiscal calendar that runs from March to February. I need to be able to calculate the quarter number and determine the months that compose that quarter. Doing all of this with out prompting the user.
Answer Question | March 13, 2009 4:10 PM
iSeries, iSeries RPG programming, RPGIV
Hello guys, I wanna do a one pgm which is find out date diff. between two date in rpg /400. Actually i did this in rpgiv…but now i want to do it in rpg/400. can somebody provide me a exact logic behind this.. Thanx in advance…..
Answer Question | October 15, 2008 11:50 AM
AS/400, RPG/400, RPGIV, RPGLE