Can someone tell me how to add the values of a repeated item in RPG,consider I have the same employee record repeatedly in File with his allowance data,i want to sum up his allowance,then what should I do in RPG?
Loop in RPG for addition of repeated values
116 views Asked by PRITHISH SEN At
1
There are 1 answers
Related Questions in IBM-MIDRANGE
- Restoring a WRKLNK file
- DB2/400 SQL subqueries
- SQL - Select only records where field contains either a given string explicitly OR or a range of strings within which given string falls
- Using SQL to view AS400 Journal data - Entry_Data in particular
- IBM Rational - indentation available in Rational 9.6.0.6?
- How to get a list of programs that uses a particular command in AS400
- DB2: Query Memberfile of a Table with SQL
- Using the routine CSNBOWH on IBM I - MD5
- Doing an external webservice call from rpgle program
- Mandatory field even if not the first field
- Create command similar to WRKLIBPDM
- RPG - how do we return a parameter using C-style "Return <Value>" syntax
- Getting data from AS400/IBM i through ODBC to excel
- Unable to monitor message inside SELECT statement
- Error java.net.SocketException: Socket is closed when closing AS400 Secure RPC session
Related Questions in JDEDWARDS
- Why does oracle sql/dapper not recognize these numbers?
- Value "ErrorSync_one" at "ansr_A" of type java.lang.String cannot be converted to JSONObject
- Printing rows in a table for RTF using XML Publisher
- Selecting with INT value against STR field
- PHP Julian Date for JDE Oracle
- Need help understanding why this query is producing these results
- Should I use an SQL full outer join for this?
- How to pass external data to a Vaadin application
- BI publisher Bursting Issue
- Duplicate Variable Definition Inside Choose Block
- How to use <?choose:?> inside image url function in BI Publisher template
- Why doesn't this SQL work? [JD Edwards DB2]
- Is this the correct SQL for what I need? [JDE, DB2]
- Java empty stack exception - JD Edwards BI Publisher subtemplate
- DB2: Can you write a function or macro emedded in the SQL to simplify a complex query?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
if the file you are reading is Keyed by employee # or some such, you can load a "key". RPG400 looks like ....
Move *OFF *IN30
key SETLL Filename
*IN30 DOWEQ *OFF
KEY READE Filename *IN30
*IN30 *IFEQ *ON
"add your tot to a running accum"