• External procedure chain shows %Found but no data returns

    I have created an external procedure in RPGIV Free, with 2 incoming alpha parameters. When chaining to a file for data, the chain presents %Found, but the data are not there. I've looked at the incoming parms in debug, and they are correct. HELP???!!!

    ALichten0 pointsBadges:
  • error message RNX9001

    I have a RPGILE which input X and Y and return Z as (X to the power of Y) eg X = 2 and Y = 2 then Z = 4 I define X, Y and Z as 30P9 However when I can this function with parmeter X= 10 and Y = 10 Error occur like this : Can anyone tell me how to fix it or why error come out ? Many thanks ILE...

    Vlui000 pointsBadges:
  • How Do I compile these in order to use them? I am new to ILE and recently downloaded the following code. But I don’t know how to compile them (CRTRPGMOD, CRTSRVPGM, CRTBNDRPG) so that I can use it. Any help would be appreciated.

    H NOMAIN * Copy prototype for procedure getNum D/COPY GETNUM_P p getNum b D getNum pi 30p 9 D string 100a const varying D decComma 2a const options(*nopass) D currency 1a const options(*nopass) * defaults for optional parameters D decPoint s 1a inz('.') D comma s 1a inz(',') D cursym s 1a inz(' ')...

    BikerDude0 pointsBadges:
  • Sub-pgm is to calculate X to the power of Y and then return Z. (using RPGIV / RPGILE)

    Hello Because I am new to RPGIV (existing using RPGIII) . Recently I need to write a sub-program using RPGIV (or RPGILE ? ). This sub-program will receive two parmerter (X , Y) and output one parmeter (Z) (which are in numeric format - BTW what is the max precision for numeric format in RPGIV /...

    Vlui000 pointsBadges:
  • Expanding subfiles

    The subfile size in expanding subfile is said to be one greater than the subfile page. Is it a standard? Can we have a subfile with SFLSIZ say 100 and SFLPAG 5 and still call it an expanding subfile.. Please explain.

    A1b2c3330 pointsBadges:
  • Anyone know how RPG handle the calculation of n X where X & n are fraction (decimal number) ? if no, can RPG IV do ?-2

    Anyone know how RPG handle the calculation of n X where X & n are fraction (decimal number) ? if no, can RPG IV do ?

    Vlui000 pointsBadges:
  • Calculation of fund performance

    Calculation of fund performance The rate of return of the fund, or for a particular class of the fund, over the respective periods specified in D2.3(f) of the Code should be calculated to two decimal places in the following manner: Rate of return for the measurement period from point !Ya!|to point...

    Vlui000 pointsBadges:
  • Anyone know how RPG handle the calculation of n X where X & n are fraction (decimal number) ? if no, can RPG IV do ?

    Anyone know how RPG handle the calculation of n X where X & n are fraction (decimal number) ? if no, can RPG IV do ?

    Vlui000 pointsBadges:
  • SFLINZ and SFLCLR

    What is the difference between SFLINZ and SFLCLR keyword?

    A1b2c3330 pointsBadges:
  • Printing on AS/400

    Can we dynamically control the number of copies to be printed on AS/400 session. Any help on this would be appreciated. Thanks

    A1b2c3330 pointsBadges:
  • Record Selection

    I have a requirement : Say on a display file screen if you enter a particular department, then the next screen should show employee details of that department only. Can I use OPNQRYF for selection of records based on department and then call the RPG prog. which will show the next screen..Will that...

    A1b2c3330 pointsBadges:
  • OVRDBF command

    Suppose I use the following command in my CL program: OVRDBF file(Test) tofile(Qtemp/Test) Now I call my RPG program which has the file named Test. If I have to write records to the Test file, does that mean that the records will be written to the Qtemp/Test file ? If that is the case then my...

    A1b2c3330 pointsBadges:
  • database file not being rebuilt

    I have a CLLE program which does the following: 1. clrpfm itmdata 2. call rpgle pgm A to rebuild itmdata file 3. clrpfm itmsrc (item search file) 4. call rpgle pgm B to rebuild itmsrc file using itmdata All of these programs are compiled to run in a specific activation group (call it A) My problem...

    Ilepro5 pointsBadges:
  • Creating XML from RPG data

    I am an RPG programmer and need to create XML files from our 400 data. I would love any DETAILED tips from anyone as I have no experience with this. Thank you in advance for your time!

    Ddiamondd15 pointsBadges:
  • Record Blocking Factor

    I have found several different equations to calculate the correct blocking factor when utilizing NBRRCDS in a CL to optimize I/O. One stated (128k)/(reclength), another (128k)/(reclength+1), another (1024*256)/(reclength) and still another (131072)/(reclength+1), with different variations in the...

    Dorkee4040 pointsBadges:
  • Convert Number to Fraction

    Anyone know an easy way in RPG to convert a decimal number to a fraction. For example I want take 1.75 and convert it to 1 3/4. Any suggestions would be appreciated. Thank, Tim

    tbrink0 pointsBadges:
  • Convert Number to Fraction

    Anyone know an easy way in RPG to convert a decimal number to a fraction. For example I want take 1.75 and convert it to 1 3/4. Any suggestions would be appreciated. Thank, Tim

    tbrink0 pointsBadges:
  • ILE sub-procedure does not return data from a ReadE operation

    Sub-procedure is directly bound to pgm and has f-spec to read a file based on incoming keys. Handles the keys correctly and sets conditions based on found/not found in the file but the input buffer never loads into the field names for the file. Object is to return entire found record as a...

    AskDave0 pointsBadges:
  • Adding color in SEU Editor

    Does anyone know how to add color to a comment line within the SEU Editor? For instance, blue or red other than the typical green screen. Thanks.

    Cobra690 pointsBadges:
  • Prototyped Exported Procedure: Retrieve and Send a Record Back as a Data Structure Parameter

    I want to define a prototyped procedure that chains out to and returns data back from a record in a file. I don't want the calling program to reference the file in any manner (thereby encapsulating it from the file). Essentially, I wan't a standard Java "get". I've got two source elements. One, I...

    MadDogDing0 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