• Convert number to roman numerals in RPG

    Hi, Can any know how to convert numbers to roman numerals in RPG or RPGLE?

    Babs30 pointsBadges:
  • Converting Float to packed

    I am trying to convert a Float8 to a 17 6 Packed and I am loosing 1/100000th of the value of the decimal portion. The packed result is 1/100000th less than the Float value. How do I stop this from happening? I am calculating taxes.

    Kcgto4550 pointsBadges:
  • Printing Array in Set Order

    I have an array that needs to hold 59 variable possibilities -3 chars each, except for 6 of them-they are only 2 each. On the last line of my RPGILE program...how can I do this to set the printing order of these elements? Not only do I get a size error, but also--the 2 char variables leave...

    JLGARSEEYA0 pointsBadges:
  • Activation Group

    I have 3 programs - A, B and C. A calls B and B calls C. A is activated i activation group- AC1. Where as B has *CALLER value in ACTGRP field. C is activated in AC2. All the three programs end with *INLR = *Off. Now after returning to command line from program A, I fire command - RCLACTGRP (AC1)...

    Vids295 pointsBadges:
  • Error message in window subfile

    i have window subfile. Error message is showing behinde the window. It should show within the window. Following is my coding A R SFLMSGW SFL A SFLMSGRCD(15) A MSGKEY SFLMSGKEY A PGMQ SFLPGMQ(10) A R SFLMSGWC SFLCTL(SFLMSGW) A OVERLAY A PUTOVR A 97 SFLDSP A 97 SFLDSPCTL A 97 SFLINZ A 98 SFLEND A...

    Zahidm0 pointsBadges:
  • passing array as parameter

    Hi all How can we pass a character array as parameter from one RPG program to another ? Regards Skapoor

    SKapoor0 pointsBadges:
  • Moving to prototypes and /FREE (correcting my last post)

    I want to change the following to using prototypes and /FREE... how do I do that? D RDCTL         E DS                  EXTNAME(RDCTL)  C     *ENTRY        PLIST                          C                  ...

    JamesR90 pointsBadges:
  • Retrieving source members

    I want to retrieve all the source physical files in a particular library and then in each source physical file, I want to retrieve all the members. Any pointers to this would help. Thanks

    A1b2c3330 pointsBadges:
  • connecting from RPG to a web browser

    we like to have a function key on a screen so when the user press that function key a web page opens up. We use free from RPG. Any information will help. Is there a website that I can use to get some info about this? Thank you,

    PG19980 pointsBadges:
  • Why a program works in debug mode, but doesn’t work at run time?

    I modified program(A) that calls another program(B)to generate a spool file. When I debug (STRDBG)program(A) and break right before the call, it works. But when I got out and end the debug mode and try to run that same program(A), no spool was generated. Then, I bebug only the called program(B)and...

    Techman250 pointsBadges:
  • Creation of logical file

    Can I create a logical file in some other library that is different from the physical file's library on which the Logical is based.. OR both PF and LF need to exist in the same library??

    A1b2c3330 pointsBadges:
  • How to automatically clear the remaining of a numeric input field with pressing field exit

    My screen has a input field where the length is 7,0. It has a default value of 50 and the user enter 91 at the beginning of the field and press accept function key. The return value to the program becomes 9100050. Is there any DDS keyword that I can use to avoid this problem? Thanks

    Tehlg010 pointsBadges:
  • SQLRPG and LVLCHK *no

    We have numerous programs on our system (iSeries...V5R2) that are SQLRPG. We recently changed one of the large physical files that one of the SQLRPG's run over. We changed the physical via a compile of the with LVLCHK *no. (fields added to the end of the file) We started to experience some issues...

    NJShoreBob0 pointsBadges:
  • trigger programs

    Is there a way to determine which program/job updated the file from a trigger program?

    Hllane0 pointsBadges:
  • Calculation of (num) 1/n (square root) using RPG

    Do any one know how to handle below formula using RPG or else method which can be implement on AS400 RPG program : The formula is (number ) 1/n 1/n = mean 1 over n square root N= certain number and with decimal digit eg. 1.21 Please send me some suggestion about this . Many thanks Beside you can...

    Vlui000 pointsBadges:
  • Return compared to Set on LR

    What is the difference between RETURN and SET on LR indicators? What exactly each one of them does?

    A1b2c3330 pointsBadges:
  • Application/example using OPNQRYF

    Can somebody give me an example where they felt that using OPNQRYF would be an optimized solution rather than creating a logical file?

    A1b2c3330 pointsBadges:
  • Using prototypes and data structures

    How do I convert the following into using prototypes (including the *ENTRY) and /free?? D RDCTL         E DS  EXTNAME(RDCTL)    

    JamesR90 pointsBadges:
  • RPGLE Trigger – Return Changed Field

    I have a file with an DES encrypted field on the i5 - V5R3. I wrote the program below as a trigger to decrypt the field and return the clear field to the program that initiated the read. I know the decryption works in the trigger but the decrypted data is not returned to the reading program. Is...

    Rlsantucijr445 pointsBadges:
  • Question on SETGT

    Suppose if my logical file has records arranged in descending order of key field..say the LF has the following records EMPNO 10020 10015 10012 10011 10008 10005 10004 Now if I do SETGT with search argument as 10013, will the file pointer position on 10015 and the read operation will read 10015, the...

    A1b2c3330 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