• RPG date calculations

    I need to add 28 days from the system date and output it into a file in the format mmddyyyy. I can not use free RPG or RPGLE. Could you help, please?

    Larisagas265 pointsBadges:
  • File open error – AS/400 question

    As/400 question: In an RPG program, During a WRITE operation to a file, I am getting the error - file open error during write operation. What could be the reason behind this and how can we go ahead with the analysis? As per my understanding. File open error usually occurs when the file is closed...

    juslikdat1440 pointsBadges:
  • Is there a way to tell how an RPG program was compiled

    We have come across some vendor supplied RPG programs that have been compiled with the FIXNBR option set to *INPUTPACKED. We would like to know if there is a way to display how a program was compiled and to see all of the options selected for it. Thanks.

    soooyeah25 pointsBadges:
  • How can I open file from another library in RPG program

    Hi, my requirement is how can I open a file from another library in RPG program … noted that I have tried to use keyword : EXTFILE(LIBRARY _Nam / FILE_Nam) but it doesn’t work. Please advise. Thanks! Tarek yaseen

    Senior1systemanalyst260 pointsBadges:
  • RPGLE day, month and year calculation

    I want to fixed the day by hardcode, retrieve the year from system and want the month 6 month before. can anyone help me...

    fariha12310 pointsBadges:
  • Scan a string

    Hi, I am using scan function in rpgle for scan string my problem is that when i scan a string with one space like 'Invalid Customer' then my program not given positive result or no result

    97834441841,400 pointsBadges:
  • LIKEDS with DIM() in RPGLE

    Hi Gurus, I need some help. I have the following code and it can not be compiled. It says: *RNF7030 30        596700  The name or indicator ADDRESS is not defined. Here is my code: D sndemail        pr                  Extpgm('SNDEMAIL') D ...

    YuVa471,300 pointsBadges:
  • Parameter value in uppercase

    Hi i have a problem in entry program ,when i get parameter value its convert to upercase Ex.  i have enter Inv after go to program it become INV

    97834441841,400 pointsBadges:
  • RPGLE program described files

      Why is this so diffcult to space so it is readable? FILE01 has some records that need to be copied to FILE02 and deleted from FILE01. This is my error: *RNF7260 30 3 The Factor 2 operand is not valid for the specified operation.  What do I need to fix? FFILE01    UF   F 2300       ...

    Pt0505145 pointsBadges:
  • How to Retrieve Message File

    Hi, i am posting new question for how to retrive message files when i given specific *lib or *all 

    97834441841,400 pointsBadges:
  • Can DBMON be used to find if Logical files need to be created after monitoring performance of RPG programs

    Can DBMON be used to find if Logical files need to be created after monitoring performance of RPG programs. Also need to know exact steps to be taken inorder to use DBMON ie starting dbmon on a program to be monitored and viewing of logical file creation recommendations 

    JohnsonMumbai1,160 pointsBadges:
  • how to add value within variable in RPGLE

    how to add the variable value which is already in one variable.... for example -- one variable VAR1 has 56789... i want to add 5+6+7+8+9... is it possible....

    pdsathishkumar3,790 pointsBadges:
  • how to convert variable attribute in RPGLE

    How to convert fixed binary variable(B) value and signed integer variable(I) value to packed decimal (P) field..

    pdsathishkumar3,790 pointsBadges:
  • Data Structure Arrays

    I have a "page at a time" subfile and in order to store multiple pages of options I have created arrays to store the options and the PF record RRN and Key Fields. This process Stores and reloads the options seamlessly. It all works beautifully except that the options are executed in the order they...

    NeilD485 pointsBadges:
  • Reversing a String in RPG

    Hello Sir, I am new in as400 programming area, In an interview I was asked How to reverse a String in rpg. I wrote the fixed lenght string program but don't know how to write it for Variable length string. I an declaring an array in RPG as:  DStringR          s             15A  ...

    Neeti5 pointsBadges:
  • error occurred while update my PF using rpgle program

    i got one error, while update my PF using rpgle program..... i have done all file operation in one single program. all operation working fine. but update operation didn't working, i got below error.. "subsystem Update or delete in file EMPLOYEE without prior input operation (C G D F)." please give...

    pdsathishkumar3,790 pointsBadges:
  • increament values

    hi, I have a pf with three records (1,2,3) now i want to update with 1 increment every values Current values are 1,2,3 after update 2,3,4

    97834441841,400 pointsBadges:
  • write physical file member using RPGLE program

    How to write record in Physical file member using RPG program... i want insert record in pf member file..

    pdsathishkumar3,790 pointsBadges:
  • CPF5032 member already locked to this job

    I have a program written in RPGLE which calls numerous other programs. These programs all share similar files. In my main program, when trying to read a particular file, I get error CPF5032 even though I unlock the file right before I do the setll reade. As a result, I figured the lock must be...

    GHENDER200 pointsBadges:
  • Date field default value – RPG

    I have a date field defined in a file to hold the date we expect an order to be delivered. However there may be no orders open for an item and I expect I will get an error if I then leave this field blank. Any ideas on how I can handle this to avoid the error?

    FrankStacey105 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