Mandatory Field on Display File in AS400
I have a display file with mandatory fields. Is there anyway that i can highlight those fields to bring attention to the user? The same behavior that AS400 makes when we attempt to execute a command without completing all the required parameters. Note: I have used DSPATR(HI) or DSPATR(RI) and they have different behaviors. Thanks.
Answer Question
| August 28, 2012 2:28 PM
DDS, Display File, DSPATR, mandatory fiels
I have a display file with mandatory fields. Is there anyway that i can highlight those fields to bring attention to the user? The same behavior that AS400 makes when we attempt to execute a command without completing all the required parameters. Note: I have used DSPATR(HI) or DSPATR(RI) and they have different behaviors. Thanks.
AS400
Hi.. i have 200 length of character variable(for ex Address)as a field name. I want to use this in a subfile. Is it possible? How ? yes ,by using sflfold option
Answer Question
| June 28, 2012 5:07 AM
Display File, Subfile
Hi.. i have 200 length of character variable(for ex Address)as a field name. I want to use this in a subfile. Is it possible? How ? yes ,by using sflfold option
AS400
Hi all… How can i give the Website link on my Display File ? Surey…
Answer Question
| March 19, 2012 12:54 PM
Display File
Hi all… How can i give the Website link on my Display File ? Surey…
Problem in positioning cursor in display file!
I have a display file which have 3 fields A,B,C ..And these are input/output both fields. What i want is to position cursor on that field which have reverse image indicator on .(I am putting it on when that particular field has error)…Please suggest how to do ? I know RTNCSRLOC or CSRLOC will do for [...]
Answer Question
| November 18, 2011 9:52 PM
Display File, RPGLE
I have a display file which have 3 fields A,B,C ..And these are input/output both fields. What i want is to position cursor on that field which have reverse image indicator on .(I am putting it on when that particular field has error)…Please suggest how to do ? I know RTNCSRLOC or CSRLOC will do for [...]
AS400 – RPGLE
I want to move some values to variable in RPGLE Program. I want to decide the Variable name based on the value which i received. Eg: If i am getting ‘DEmail:xxxx@xxx.com’ from my calling program, i want to move to DEmail Field. All the Fields are available in Display File. How will i achieve this. [...]
Answer Question
| March 17, 2012 9:46 AM
AS400 RPGLE, Display File
I want to move some values to variable in RPGLE Program. I want to decide the Variable name based on the value which i received. Eg: If i am getting ‘DEmail:xxxx@xxx.com’ from my calling program, i want to move to DEmail Field. All the Fields are available in Display File. How will i achieve this. [...]
Can I open a display file from a batch job?
I need to open a display file from a batch job to gain access to it’s field names. Currently I receive fiel status ’9C’. This program is usually used interactively.
Answer Question
| March 31, 2012 1:19 PM
Display File
I need to open a display file from a batch job to gain access to it’s field names. Currently I receive fiel status ’9C’. This program is usually used interactively.
Autorefresh in RPG
Once the display file is displyed, the control should be come back to the program after specified time and do the refresh of the screen. Can you please suggest some of the good methods and some examples for DFRWRT in DDS.
Answer Question
| July 13, 2011 4:34 PM
AS/400 Display File, Display File, RPG Display File, RPG/400
Once the display file is displyed, the control should be come back to the program after specified time and do the refresh of the screen. Can you please suggest some of the good methods and some examples for DFRWRT in DDS.
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 display error message without using error message but from complete file time array
DEAR, HI I HAVE TO DISPLAY ERROR MESSAGES LIKE WHEN I ADD EMPLOYEE CODE,MY PROGRAM SHOULD DISPLAY ERROR MESSAGE AS “EMPLOYEE ALREADY EXISTS”… ONE THING I SHOULD NOT USE ERROR MESSAGE OR ERRMSGID SIMPLE DISPLAY FILE… NOT USING SUBFILE… THEN MAINLY I AM USING COMPILE TIME ARRAY as err1… VALUES LIKE ** RECORD ALREADY EXISTS [...]
Answer Question
| March 22, 2011 8:56 AM
AS/400 administration, AS/400 error messages, AS/400 errors, Display File, RPG IV
DEAR, HI I HAVE TO DISPLAY ERROR MESSAGES LIKE WHEN I ADD EMPLOYEE CODE,MY PROGRAM SHOULD DISPLAY ERROR MESSAGE AS “EMPLOYEE ALREADY EXISTS”… ONE THING I SHOULD NOT USE ERROR MESSAGE OR ERRMSGID SIMPLE DISPLAY FILE… NOT USING SUBFILE… THEN MAINLY I AM USING COMPILE TIME ARRAY as err1… VALUES LIKE ** RECORD ALREADY EXISTS [...]
AS/400 Display Files Not Retaining Last Window
So I have used this “dummy record many times before. Now with a new program/dds it will not.. Could it be b/c my new program is defined DSPSIZ(27 132 *DS4) and the program calling the new programs display size is DSPSIZ(24 80 *DS3)… i need the calling program 80 column screen to stay while I [...]
Answer Question
| March 14, 2011 8:02 PM
AS/400 - DDS, AS/400 Display File, Display File
So I have used this “dummy record many times before. Now with a new program/dds it will not.. Could it be b/c my new program is defined DSPSIZ(27 132 *DS4) and the program calling the new programs display size is DSPSIZ(24 80 *DS3)… i need the calling program 80 column screen to stay while I [...]
Explore function in AS400 display files
Is anyone aware if in AS400 display files we can have functionality like windows explore function. For example in windows when I press windows key + E it will explore my directory and then i can go further in these directories. So is this type of functinality is possible in AS400 display files also. Please [...]
Answer Question
| January 7, 2011 1:43 PM
AS/400 Display File, AS/400 Function Keys, Display File
Is anyone aware if in AS400 display files we can have functionality like windows explore function. For example in windows when I press windows key + E it will explore my directory and then i can go further in these directories. So is this type of functinality is possible in AS400 display files also. Please [...]
Adding a call to a new program via RPGLE
I am adding a call from an existing program to a program that I’ve just written. I use a command key from the existing program to call the new one. That works just fine, but when I exit my program it returns to the origianl screen with just the data on the screen. I don’t [...]
Answer Question
| January 21, 2011 7:37 PM
Display File, RPG Display File, RPGLE, RPGLE Program
I am adding a call from an existing program to a program that I’ve just written. I use a command key from the existing program to call the new one. That works just fine, but when I exit my program it returns to the origianl screen with just the data on the screen. I don’t [...]
Displaying AS/400 Error Message in Red
I would like to display error message in red color using ERRMSG or ERRMSGID.[Br style=”padding: 0px; margin: 0px;” />[Br style=”padding: 0px; margin: 0px;” />Is it possible?
Answer Question
| January 5, 2011 11:20 AM
AS/400 Display File, AS/400 error messages, AS/400 errors, Display File
I would like to display error message in red color using ERRMSG or ERRMSGID.[Br style=”padding: 0px; margin: 0px;” />[Br style=”padding: 0px; margin: 0px;” />Is it possible?
AS/400 display format
is there any possibility to define more than 9999 display formats?
Answer Question
| December 21, 2010 6:05 PM
AS/400 Display File, AS400 printing issue, Display File
is there any possibility to define more than 9999 display formats?
How to Identify all work stations with object lock on specific display file
A break message needs to be sent to all workstations with a current lock on a specific display file. The message-sending CL program needs to identify those workstations and then send the break message to each of them. WRKOBJLCK regretably does not generate an output file, nor could I find an appropriate API for doing this. I [...]
Answer Question
| November 11, 2010 5:36 AM
AS/400 Display File, CL programming, Display File, RPG, WRKOBJLCK
A break message needs to be sent to all workstations with a current lock on a specific display file. The message-sending CL program needs to identify those workstations and then send the break message to each of them. WRKOBJLCK regretably does not generate an output file, nor could I find an appropriate API for doing this. I [...]
Can there be more than 1 MSGSFL per RPG/400 display file?
I am trying to use more than one MSGSFL for one display file. One is for a WINDOW (which works). I then added one for the initial screen. When I go to initially write it (WRITEMSGCT1) I get a permanent I/O error. Is it possible to have more than on MSGSFL per display file? See [...]
Answer Question
| October 26, 2010 5:07 PM
Display File, iSeries, MSGSFL, RPG/400
I am trying to use more than one MSGSFL for one display file. One is for a WINDOW (which works). I then added one for the initial screen. When I go to initially write it (WRITEMSGCT1) I get a permanent I/O error. Is it possible to have more than on MSGSFL per display file? See [...]
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, [...]
Data sent to device DSP01 not valid. Negative response code is 10050122.
Hello. My display file crashes as it can not display the hexadecimal values in my character field. Is there an easy way to replace these values (like scan) in my 79 character long field that has valid characters mixed with hexadecimal values? (Please no APIs) Thank you in advance. Regards Steven
Answer Question
| September 30, 2010 10:47 AM
Display File, DSP01, iSeries, iSeries RPG programming, RPG
Hello. My display file crashes as it can not display the hexadecimal values in my character field. Is there an easy way to replace these values (like scan) in my 79 character long field that has valid characters mixed with hexadecimal values? (Please no APIs) Thank you in advance. Regards Steven
Can a Display File be used in an RPGLE program running in batch?
I would like to convert an interactive RPGLE program to run in batch mode and would like to keep from replacing the display file in the batch version. Like the interactive version, the batch version would have to write/update and read each of the 3 subfiles in the display file, but would use no WRITE’s [...]
Answer Question
| September 2, 2010 9:01 PM
Display File, iSeries, RPGLE, V5R4
I would like to convert an interactive RPGLE program to run in batch mode and would like to keep from replacing the display file in the batch version. Like the interactive version, the batch version would have to write/update and read each of the 3 subfiles in the display file, but would use no WRITE’s [...]
Moving Cursor Within That particular field?
Ok Sir, Forget All that thing i will ask in simple way this same question? Dsplay File Field: Roll No:-ooooooo mark= -BBBBBBBB- 1)So In that Case When We call Prog At first Roll No field Contains Roll No And marks field will be blank. 2) When Cursor Will Come at Mark field then at [...]
Answer Question
| July 29, 2010 5:01 AM
Cursor operation, Display File, Display File Description, DSPF
Ok Sir, Forget All that thing i will ask in simple way this same question? Dsplay File Field: Roll No:-ooooooo mark= -BBBBBBBB- 1)So In that Case When We call Prog At first Roll No field Contains Roll No And marks field will be blank. 2) When Cursor Will Come at Mark field then at [...]





