• Compiling RPG Programs when changing something in DDS?

    Hi! Why its needed to compile all the related RPG Programs when we change something in one record in a display file. For example I'm having a display file and within it there are many subfiles and single record formats, window screens. If I change edit something in one record format and compiled...

    Sureyz2,300 pointsBadges:
  • Use 200-character variable in AS/400 subfile

    Hi.. I have 200 character-length variable (for ex Address) as a field name. I want to use this in a subfile. Is it possible? How? By using sflfold option?

    Sureyz2,300 pointsBadges:
  • Decide variable name based on value in 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....

    rajeshece1,215 pointsBadges:
  • How to use the value of a display file field in RPGLE Program

    I have a display file. In this display file user is entering a name. So how do I pull this name in the RPGLE program for further use?

    ankit2002770 pointsBadges:
  • DSPF: Declare in display file

    I have a field in the display file of length 13 Characters long. The first 4 characters contains the year, followed by a hyphen, Next 2 characters contain the location(alphanumeric) followed by hyphen Last 5 characters contains numeric. How do I declare in the display file. When I enter a value in...

    Deepz30 pointsBadges:
  • 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...

    ITTechPT95 pointsBadges:
  • 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.

    Developerallen25 pointsBadges:
  • AS400

    Hi all...     How can i give the Website link on my Display File ? Surey...

    Sureyz2,300 pointsBadges:
  • 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...

    munduuu420 pointsBadges:
  • 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.

    frmdeva365 pointsBadges:
  • 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)?

    Zack250 pointsBadges:
  • 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......

    22917510 pointsBadges:
  • 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...

    RonKoontz1,780 pointsBadges:
  • 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 know if it's a...

    R4224w5 pointsBadges:
  • 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...

    nirmu40055 pointsBadges:
  • 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?

    22917510 pointsBadges:
  • AS/400 display format

    is there any possibility to define more than 9999 display formats?

    As400programming5 pointsBadges:
  • 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...

    Zack250 pointsBadges:
  • 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 the following...

    ANDREW465 pointsBadges:
  • 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, How?? Your...

    PPR45 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following