• Trigger program to validate data and notify interactive program of errors before insert or update action

    I have an interactive program that writes (Inventory Management) transactions to a file. I do not have the source for this program. I need to ensure that field content which is not currently validated by the program can be validated and corrected BEFORE the transaction being INSERTed or UPDATEd is...

    AlanMcK5110 pointsBadges:
  • Getting the error CPF5257 when trying to write record in Logical File

    RPGLE Program crashing with the error CPF5257 (Failure for device or member &4 file &2 in library &3) when trying to write record in Logical File.

    vipin2m55 pointsBadges:
  • Blank line Input capable page at a time subfile

    Hi - I am a bit rusty subfile-wise and was hoping to find an example of a page at a time subfile that provides position to and blank line input capability on the user's request to add records to the file. I'm particularly curious about the paging concerns involved. What can I say...It's been a...

    MiamiAl15 pointsBadges:
  • AS400

    If i have a pf (pf1) R Rec account 10p00 name 10a dept 1a salary 5p00 k account After Updating, I given dept- A, S, D different account, different salary. NOW I AM TRYING TO ADD SALARY ON DEPT WISE {FOR EXAMPLE- IN SQL, SELECT SUM(SALARY) FROM PF1 WHERE DEPT='A'} BUT I AM TRYING IN RPGLE .. IT IS...

    anupsshelke420 pointsBadges:
  • How to get a total of amount field in RPGLE code

    I have a table which contain a several types of data for the same customer, I need to get the total amount for each type in RPGLE code.

    AymanAbbas190 pointsBadges:
  • How do you code footers in DDS Print File?

    I need to print a footer on every page of a report. Thought it would be simple like headers. If anyone has the answer let me know. Thx.

    Kdbwheels180 pointsBadges:
  • Clear Leading ZERO’S

    Hi, I am having a numeric field which is used in KLIST.I need to remove the leading zero's for my numeric field.How i can do this.

    22917515 pointsBadges:
  • CRTSQLRPGI

    I have two questions about an RPGLE program with embedded SQL statements: When compiling an RPGLE program with embedded SQL statements, how do you set the activation group? I am trying to run a program which ran when we were on version 5V4. Now that I am on version 6.1, the exact same program will...

    GHENDER190 pointsBadges:
  • how to prevent values

    how to prevent  these values &<>" in a field

    97834441841,380 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,380 pointsBadges:
  • USER INFORMATION

    HOW CAN WE GET THE USER DETAILS THROUGH RPGLE PROGRAM?

    421380 pointsBadges:
  • user profile

    how to get library list for perticuler user profile?

    421380 pointsBadges:
  • Error while using OVRDBF

    Hi I am using OVRDBF command in my cl program in order to apply a particular select criteria on a database file in order to pass it to the RPGLE code. The syntax I used is as below: OVRDBF     FILE(MYFILE) TOFILE(MYFILE) +                      MBR(MYFILE) OVRSCOPE(*JOB)...

    VivekSharma120 pointsBadges:
  • 2 Dimensional Array in RPGLE

    How do I define and use a 2 dimensional array in RPGLE?  I have to add up to 10 contracts from one file and order sequence numbers for every item on an order that belongs to a one of those contracts and then write each of those contract/sequences to it's own order. I am lost on the best way to...

    Biscuit12285 pointsBadges:
  • pass array to clle

    i created RPGLE,within that i defined compiled time array now i want to pass that array (at a time only one insex) to cllle but while i run this rpgle its give me run time error ..that  Error occurred while calling program or procedure *LIBL/practcl8 Message ID . . . . . . :   RNQ0211      ...

    Nikrajpapa230 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:
  • Commitment Control in RPGLE Program

    Hi, Is there any way that we can handle commitment control in RPGLE program i.e. if program dumps at some point then we rollback the updates done on other files in previous steps. Actually I am calling rpgle program from outside iSeries. If any error occurs on external interface then I have the way...

    VivekSharma120 pointsBadges:
  • accessing the CS_CvtAPI through an RPGLE program

    I am accessing the CS_CvtAPI through an RPGLE program to convert the spooled file to an RTF. The conversion is putting the following message in my joblog: Courier New 12.00-point substituted for font id 416. Message . . . . : Courier New 12.00-point substituted for font id 416. AS/400 font id 416...

    Vhook5 pointsBadges:
  • Suppress/trailing blanks in a string variable through CLLE

    Is there possibilities to suppress leading and trailing blanks in a string variable through CLLE??

    shyedajmal285 pointsBadges:
  • Qualified Data Structure with Multiple Occurrance

    How do I define a Qualified DS as a *Entry Parm with Multiple Occurrences?

    Toogifts5 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