How to display message in display file from a MSGF
How to display a message (essentially error message) at the bottom in display file (DSPF) from a Message File (MSGF)? Also in order to display more than one message, how do I go about that? I have a MSGF, wherein all the messages are pre-defined, which we have to use. Would greatly appreciate your prompt [...]
Answer Question
| April 24, 2013 6:27 AM
AS/400 - DDS, DSPF, MSGF
How to display a message (essentially error message) at the bottom in display file (DSPF) from a Message File (MSGF)? Also in order to display more than one message, how do I go about that? I have a MSGF, wherein all the messages are pre-defined, which we have to use. Would greatly appreciate your prompt [...]
SFLLIN
Using SFLLIN to create a two column display. Would like to tab down first column and then next column. col1-row1, col1-row2, col1-row3 etc. then col2-row1, col2-row2 ..instead of default col1-row1, col2,row1,col1-row2, col2-row2 Any idea how to control the tab key?
Answer Question
| April 22, 2013 8:54 PM
AS/400, DSPF, SFLLIN
Using SFLLIN to create a two column display. Would like to tab down first column and then next column. col1-row1, col1-row2, col1-row3 etc. then col2-row1, col2-row2 ..instead of default col1-row1, col2,row1,col1-row2, col2-row2 Any idea how to control the tab key?
Show multiple error messages at the bottom of display file
I want to show multiple messages on a DSPF, when user keys page down, I want it to appear one by one. I know we can do this, but now I don’t remember exactly. Please give a hint.
Answer Question
| February 7, 2013 7:04 AM
AS/400, DSPF
I want to show multiple messages on a DSPF, when user keys page down, I want it to appear one by one. I know we can do this, but now I don’t remember exactly. Please give a hint.
Long field in display file
I have a display file which has a long field which is meant to hold a SQL query. The field is assumed to appear in the screen as 16 lines, with 68A per line. So When I declared a field of length 1088A(16*68) but how can I declare it to have only 68 per line [...]
Answer Question
| January 28, 2013 7:16 AM
AS/400, DSPF, SQL Query
I have a display file which has a long field which is meant to hold a SQL query. The field is assumed to appear in the screen as 16 lines, with 68A per line. So When I declared a field of length 1088A(16*68) but how can I declare it to have only 68 per line [...]
Retain the values in the inital screen after coming back from the popup window
I have a screen which displays the account numbers. If i input some values to this account field and when i do an F5(without hitting enter) I can see the popup window, but after coming back from the pop up screen, my account numbers are gone. I have used CA05 for the popup. If I [...]
Answer Question
| January 24, 2013 2:15 PM
AS/400, DSPF
I have a screen which displays the account numbers. If i input some values to this account field and when i do an F5(without hitting enter) I can see the popup window, but after coming back from the pop up screen, my account numbers are gone. I have used CA05 for the popup. If I [...]
How to implement MOUBTN using RPG III/RPG400
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
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 [...]
Can removal of window records be prevented when writing to nonwindow record
With respect to an AS400 27*132 display file… When writing to a nonwindow record, all window records are removed from the display. Is there a way to prevent this whereby none of the windows are removed? We are trying to write a 1-line record to line 27 (SLNO(27)) without a series of cascading windows being [...]
Answer Question
| November 5, 2012 6:24 AM
AS/400, DSPF
With respect to an AS400 27*132 display file… When writing to a nonwindow record, all window records are removed from the display. Is there a way to prevent this whereby none of the windows are removed? We are trying to write a 1-line record to line 27 (SLNO(27)) without a series of cascading windows being [...]
display asterisks in entry field
How can a entry field display asterisks when letters are keyed?
Answer Question
| September 6, 2012 2:00 PM
DSPF
How can a entry field display asterisks when letters are keyed?
Title changing
Hi Group, As per the new assignment i need to change the title from “MQM Application Business” to “ABC”. I have identified the list of Programs and files where I need to change. The list includes RPG, CLP, CBL, CBLLE, CLLE, RPGLE, PRTF, DSPF & DDS files. I have question: 1. What are the factors [...]
Answer Question
| August 18, 2012 6:02 AM
AS/400, CL/400, DB2/400, DSPF, ILE, Printer files
Hi Group, As per the new assignment i need to change the title from “MQM Application Business” to “ABC”. I have identified the list of Programs and files where I need to change. The list includes RPG, CLP, CBL, CBLLE, CLLE, RPGLE, PRTF, DSPF & DDS files. I have question: 1. What are the factors [...]
level check error
I currently have a DSPF & a CL that work. I added a field to the DSPF and added logic to the CL to use the new field. Both compiled successfully (DSPF and then CL). When I run the CL, I am getting a CPF4131 (level check). The CL is pointing to the correct DSPF. [...]
Answer Question
| May 29, 2012 1:06 PM
AS/400, CL, DSPF, iSeries
I currently have a DSPF & a CL that work. I added a field to the DSPF and added logic to the CL to use the new field. Both compiled successfully (DSPF and then CL). When I run the CL, I am getting a CPF4131 (level check). The CL is pointing to the correct DSPF. [...]
DSPF WITH DOLPHIN 7600
need to create a DSPF DOLPHIN 7600 for a scanner, how do I set the DSPSIZ (.
Answer Question
| March 17, 2012 6:47 PM
DOLPHIN 7600, DSPF, Scanner
need to create a DSPF DOLPHIN 7600 for a scanner, how do I set the DSPSIZ (.
how to handle Cursor progression in a mixed display file
I have a mixed DSPF (a combination of RECORD & SFL) Diagram is like: ——————————- Customer screen——————— from date :____ Print: _(Y/N) to date :____ opt description … _ ___________ _ ___________ _ ___________ bottom ———————————————————————— My question is : I want that on tabbing,cursor should go from ‘from date [...]
Answer Question
| February 28, 2012 6:18 AM
DSPF, FLDCSPPRG, Subfile Control, Subfile Display
I have a mixed DSPF (a combination of RECORD & SFL) Diagram is like: ——————————- Customer screen——————— from date :____ Print: _(Y/N) to date :____ opt description … _ ___________ _ ___________ _ ___________ bottom ———————————————————————— My question is : I want that on tabbing,cursor should go from ‘from date [...]
dspfile in rpg
can we do debugging a dsp file in rpg? if its so how is possible? plz give me the steps?
Answer Question
| March 31, 2012 11:57 AM
Debugging, DSPF, RPG
can we do debugging a dsp file in rpg? if its so how is possible? plz give me the steps?
Accessing I/O Feedback Area of DSPF from within CL program
Is it possible from within a CL program to retrieve/access the I/O feedback area of a display file (the equivalent of retrieving INFDS (positions 401-404) from within an RPG program)?
Answer Question
| June 29, 2011 8:34 AM
AS/400, CL, CL Program, Display File, DSPF, I/O feedback
Is it possible from within a CL program to retrieve/access the I/O feedback area of a display file (the equivalent of retrieving INFDS (positions 401-404) from within an RPG program)?
How to find out Library of a Savf
Hi there, i’m trying to display a savfile (dspsavf), but i don’t know the library, is there anyway to find out ? Cheers norp
Answer Question
| May 2, 2011 11:29 PM
AS/400 Command Line, AS/400 Library, DSPF, SAVF
Hi there, i’m trying to display a savfile (dspsavf), but i don’t know the library, is there anyway to find out ? Cheers norp
Two window AS/400 subfiles problem
I have a DSPF with 2 subfiles defined as subfile windows. I need to display both of them.. I have got it to work with a full screen but no the wondow subfile. I get a error reading the first subfile. If I switch them around I get one then the other after I hit [...]
Answer Question
| April 1, 2011 3:02 PM
AS/400 Subfiles, AS400 RPGLE, DSPF, RPGLE
I have a DSPF with 2 subfiles defined as subfile windows. I need to display both of them.. I have got it to work with a full screen but no the wondow subfile. I get a error reading the first subfile. If I switch them around I get one then the other after I hit [...]
DSPF How to use Moubtn with Pshbtnfld and pshbtnchc
Hi, I have a DSPF with two format FMT01, FMTCM. In FMT01 I have defined MOUBTN(*ULP CF21) so when I push left button of the mouse on a specific field, *INKV(CF21) is activated and the program RPGILE do a call to a window.In FMTCM that is used as feet of the DSPF I have defined [...]
Answer Question
| January 25, 2011 8:53 AM
AS/400, DSPF, RPG ILE, RPG ILE subprocedure
Hi, I have a DSPF with two format FMT01, FMTCM. In FMT01 I have defined MOUBTN(*ULP CF21) so when I push left button of the mouse on a specific field, *INKV(CF21) is activated and the program RPGILE do a call to a window.In FMTCM that is used as feet of the DSPF I have defined [...]
AS/400 field modification impact on other related objects
I have a file field which we are planning to expand. The same field name is used in some of the files, DSPF’s and PRTF’s. If a program A has this impacted file declared, how can I find the other objects which are impacted due to this modification?
Answer Question
| January 6, 2011 4:15 AM
AS/400 database, AS/400 Fields, DSPF, PRTF
I have a file field which we are planning to expand. The same field name is used in some of the files, DSPF’s and PRTF’s. If a program A has this impacted file declared, how can I find the other objects which are impacted due to this modification?
How to display CCSID(1200) in a DSPF 5250
I am working on a project to enable certain fields in the DB for unicode UTF-8. I have coded the affected DSPF with CCSID(1200) and recompiled, however the data is still displayed as gibberish. What am I doing wrong?
Answer Question
| October 15, 2010 5:25 PM
CCSID, DSPF, iSeries, Unicode, UTF-8
I am working on a project to enable certain fields in the DB for unicode UTF-8. I have coded the affected DSPF with CCSID(1200) and recompiled, however the data is still displayed as gibberish. What am I doing wrong?
Format Level Identifier
Dear All, I am having and Display file, and i want to change the some header on that file. The Problem is that i dont have the source file of the RPG program which is using the display file. Is it possible change and compile the DSPF without changine the File Level Identifier, if yes, [...]
Answer Question
| October 16, 2010 11:15 AM
AS/400, Display File, DSPF, Format Level Identifier, RPG Program
Dear All, I am having and Display file, and i want to change the some header on that file. The Problem is that i dont have the source file of the RPG program which is using the display file. Is it possible change and compile the DSPF without changine the File Level Identifier, if yes, [...]





