• Non Subfile Field Not Changing When Doing an EXFMT

    This should be a simple thing to do but it is not working. I have an RPG program in which the user enters a warehouse code and presses enter. If the code is valid, it then populates a field in the record with the warehouse description. If the user changes the code to an invalid warehouse, I turn on...

    GHENDER200 pointsBadges:
  • Counting using RPGLE

    I tried to do flames program in RPGLE. I counted and removed the common words. For example: STRING1 - RAJESH STRING2 - KUMAR - I GET 7 AS OUTPUT Flames count is 6 but I have 7. How do I count the word F as 7 and set the next pointer L as starting pointer.

    rajeshkmr57195 pointsBadges:
  • Display file screen delay in RPG ILE

    Hi all! I have a RPGLE program and have used a main screen and a window in it. The main screen SCR01 will have all the filed to update a record. When I press F2 the record will update as usual after that the small window will be shown which is having "Record Updated Successfully!"  words. No...

    Sureyz2,555 pointsBadges:
  • SQL Connect to remote system, run retrieved data on local system problem

    I need some help with the syntax required to build the SQL commands (embedded into an RPGLE program) that will do the following: Connect to a remote system (using a userID & password passed into the program as parameters). Dynamically build ALTER commands based on data SELECTed from a table on...

    mikechance8126325 pointsBadges:
  • Summary in English: Converting the AS/400 code to summary in English like langauage

    Hi ALL, For every new requirement or changes in RPGLE/CLLE/RPG/SQLRPGLE/RPT code I need to write program flow after making the changes. I will include these program synopsis in Requirement Analysis Document(RAD). So it takes much time to write synopsis. Is there any chance to convert AS/400 code to...

    RPOOJA125 pointsBadges:
  • White papers on AS/400 – RPGLE

    Hi, Can anyone share the sample of white papers on AS/400 - RPGLE technology. and also please give me some topic on which i can write white papers as value addition to my work. currently working on IBM I V7R1. Thanks in advance :)

    RPOOJA125 pointsBadges:
  • Search a character in a string RPGLE

    In RPGLE, is there any easier way to find a position of a number of character occur in a string? For Eg, text = 'AAAA|BBB|CC| |DDD| |FFF|0.12|CCC| ' I want to get the position of 7th delimiter('|‘) because I would like to replace the value of 0.12. My way is to loop whole string and count the...

    yeepiyaya145 pointsBadges:
  • Subfile load all & expandable

    Hi , i have some confusion beween load all & expandable subfile, for example in case of load all Pf has 100 records sfksiz=20 and sflpag =10   but if i am writing more then 20 records , but it should allow only 20 records in load all subfile because sflsiz=20 but its allowing to write more...

    Rpgle400tech145 pointsBadges:
  • Using RSTDSP *NO for a screen file

    Is there ever a meaningful advantage to using this for a screen file? We are looking at changing all of our display files to RSTDSP *YES and my fear is there's a subtle downside somewhere. This is in an environment of all RPG or RPGLE programs.

    aceofdelts2,095 pointsBadges:
  • Varying length fields in a data structure

    So I’m not sure if this has been asked before but cannot seem to find the information anywhere. I am wondering if it is possible to create a data structure that has trimmed Vars within the data structure. I'm looking to create a data structure like below. dTest_ds ds...

    MikeKnight25 pointsBadges:
  • Write the value of a variable in RPGLE

    I have a variable which its value is the name of other variable. I need to write a log with the value of that instead its name. Is there a way to do that with RPGLE? Example: Var name1: Field1 Value Field = 'XXXXXX' Var name2: Field2 Value Field2 = 'Field1' I need write the value XXXXXX of field2...

    Luissimon50 pointsBadges:
  • How to display files from a directory in RPGLE?

    I want to get a list of excel files and displayed them a subfille but for some reason it doesn't work. Here is the RPG code: MyDir = '/home/testdir '; dirh = opendir(%trimr(MyDir)); if (dirh = *null); p_errno = sys_errno(); Endif; What am I doing wrong? Please help!

    msn00745 pointsBadges:
  • Subfile window (input) with regular screen (input)

    Is there a way to be able to enter information in a regular screen and in a window subfile at the same time? If yes how can it be done?

    msn00745 pointsBadges:
  • RPGLE Source Lines Exceeded

    RPGLE Source Lines Limit exceeded when compiling the Source. Please see below the error message - ""Compilation stopped. Internal failure occurred. Error Code is 1."" Remove unwanted lines or Divide programs into sub programs. Advice any other ideas to avoid this. Thanks.

    as400dev535 pointsBadges:
  • %replace BIF in RPG

    Anyone have an example how to use this bif?

    Kstinman5 pointsBadges:
  • How to use STMF file in RPGLE

    How do I use STMF file in RPGLE?

    Sroytman10 pointsBadges:
  • Remove message from display file

    In my program I'm placing this message on the display after pressing page down again after the end of subfile has already been reached. When paging back up, control doesn't return to the program because the records exist in the subfile. How do I go about displaying this message, then removing it...

    JohnGalt177635 pointsBadges:
  • L Spec in RPG/RPGLE

    Hi, In our project we are using L-Spec in some of the program. Can anyone explain the basics of L-Spec? Sabarish

    Sabarish60 pointsBadges:
  • On the AS/400 iSeries can one use SQL queries to update file

    Cobol uses some kind of IKJ module user exit to allow DB2 SQL calls. I want to make a keyed read update one field and go on to the next record and do the same until end of file. Can do the same using RPG and if so could give me an idea what the code would like. How would the updated file be...

    nitzinger385 pointsBadges:
  • Tab delimited file in a RPG program

    I have been asked to produce a file in a RPG program. The file is being used in some kind of interface and needs to be 'tab delimited' What is tab delimited? How do I create a tab-delimited file? Thanks!

    Raddy590 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