We are converting some code in a legacy application and, in its simplest form, want to know that a mouse has been used/clicked rather than ENTER pressed. We are not that familiar with the MOUBTN keyword, which we assume will tell us what we want, and are having trouble getting this to work. Though we’ve [...]
Answer Question | January 17, 2013 2:58 PM
AS/400, DSPF, MOUBTN, Mouse, RPG III, RPG/400
RPG Screen Timeouts. We need to sign-off our users automatically after a certain period of time. I was wondering if anyone has the code to do this? Since we are using JDE world, it would be nice to have RPG III, but can also call an ILE program. Lenny
Answer Question | January 31, 2011 2:13 PM
AS/400, Connection timeout, RPG Code, RPG III
Hi, I am trying to fetch data from *LDA. So that I coded like [strong]*DtaAra Define *LDA LDA [/strong]and then compile the program. But the compiler throw me an error says that [strong]“DtaAra already defined”. [/strong]When I search the string DtaAra and LDA in the source, I am not found any occurrences other than my [...]
Answer Question | January 6, 2011 4:09 AM
Data Area, LDA, RPG III
I would like to declare same files which are in two libraries in my RPG III. one file in in read only mode and another in update mode.
Answer Question | January 6, 2011 4:04 AM
AS/400 Library, F Spec, RPG III
I have a big RPG program ( say around 20000 lines ) and in that program FILEA is declared in F Spec. I would like to know what are the fields of FILEA are used in that program without browse / edit thru SEU. Thanks in Advance.
Answer Question | January 12, 2011 4:01 AM
AS/400, F Spec, RPG III, RPG Program
How can I access a data area from a different library without change my library list in RPG III
Answer Question | January 7, 2011 3:42 AM
AS/400 Library, Data Area, Library List, RPG III
I need to connect to an Oracle database from an AS/400 (RPG III/CL program). Because I need to get some data. How can I do it? What do I need?
Answer Question | November 28, 2011 12:21 PM
CL Program, Oracle Database, RPG, RPG III
How to copy records from a file to flat file in RPG III
Answer Question | September 9, 2009 11:33 AM
Flat files, RPG, RPG Flat Files, RPG III
Hi, In my project i need to create a display file with username and password. But while typing password the text should not visible to user. So any one can tell how to define the password field in AS/400.
Answer Question | July 1, 2009 8:21 AM
AS/400 passwords, RPG, RPG III, RPG/400
Someone out there must hae done this conversion. We are planning on doing this conversion to ILE sometime and would like to know some of the issues. We are planning on using the IBM conversion tool, which I believe can do most of the programs, leaving only a few to “hand” code. What we are [...]
Answer Question | April 8, 2009 5:33 AM
IBM conversion tool, RPG, RPG III, RPGILE
Hi, Can you tell me how to know the RPG version (III or IV) in our AS400? Also, if it’s ILE? Thank you.
Answer Question | August 4, 2009 10:41 AM
RPG, RPG III, RPG ILE, RPG IV
I found a link that would show me how to code a pop-up calendar on the AS400. However, when I went to that link, it was invalid. Does anyone know how to create RPG code for a pop-up calendar on the AS400?
Answer Question | February 11, 2009 11:31 PM
AS/400 development, Pop-Up Calendar, RPG, RPG III, RPG ILE, RPG IV
I am trying to create a method to search for a text stream that may exist in the file using RPGIII
Answer Question | August 18, 2008 9:05 PM
RPG, RPG III
5722SS1 V5R4M0 060210 AS/400 DUMP 201617/ESANTI DUMP TAKEN FOR UNMONITORED ESCAPE MESSAGE .MESSAGE ID- MCH0601 .MESSAGE FILE- QCPFMSG LIBRARY- *LIBL .SEVERITY- 40 .MSGTYPE- 0F .SENDING- ..PROGRAM- QDMCLOSE LIBRARY- QSYS ..INSTRUCTION- 015A .RECEIVING- ..PROGRAM- QDMCLOSE LIBRARY- QSYS ..INSTRUCTION- 015A .MESSAGE- Space offset X’0000F330′ or X’0000000000000000′ is outside current limit for MSTCOMP DATALIB MSTCOMP .MESSAGE DATA- and [...]
Answer Question | August 14, 2008 1:43 PM
MCH0601, RPG III, RPGLE
I have 3 numeric fields that I want to put together into one text string with leading zeros removed, like below: x=17 y=100 z=23 desired result: 17,100,18 as a text string How can I do this in RPG III? Thanks
Answer Question | August 29, 2008 12:27 PM
RPG, RPG III
We are eliminating some preprinted forms and creating the forms ourselves. The problem is these preprinted forms have our company logo on it. How can I add a logo to a report created on the AS400 in RPGLE?
Answer Question | June 4, 2008 5:09 PM
RPG, RPG III, RPG IV, RPG/400
If I call QCMDEXC with a command string and the string length as parms from an RPG III program, how can I determine if the command completed successfully from within the RPG program so I can condition a message to the user?
Answer Question | May 6, 2008 3:07 PM
QCMDEXC, RPG III