• Multi occurrence data structure parms into and out of RPGLE via XML toolkit

    I have a parm #@WQRYT it is described as - D #@WQRYT DS LIKEDS(#WQRY_T) DIM(99) Here is my PLIST - C *ENTRY PLIST C PARM #@WQRYT C PARM #@ROWCNT 2 0 C PARM #@STATUS 1 Trying to bring into this data structure to process in pgm then send back - D #WQRY_T DS D W#DHCRIS 6 INZ(*BLANKS) D W#DHWKDT 10D D...

    ADAMSJU5 pointsBadges:
  • RCVJRNE Exit program

    We are processing jounal enteries for a number of tables to build XML and then writing the XML to MQ. For XML we are using Files field layout. The RCVJRNE exit program is single entry. Is there a way to hold the files field layout in the memory for every time the exit program is called?

    irfandar5 pointsBadges:
  • Field validation in AS/400

    Hi, I want to throw error messages based on following validation on the display screen. 1) If field type is character and it's length is 50 and if someone put numeric value in it's first position then error message should be populated as following:- "The value of 1 is not valid for this field" It...

    6r1,640 pointsBadges:
  • AS/400 RPGLE MNTDSPR command

    May I know how the below command work? D MNTDSPR       E DS                  EXTNAME(TESTPF) I was compile the file TESTPF with added in new fields, but I did not compile the program. Won't it hit level check? I try to debug and the MNTDSPR is still showing old fields of TESTPF unless I...

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

    rajeshkmr571155 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...

    yeepiyaya160 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,130 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:

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