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
111 Views Asked by PRITHISH SEN At
1
There are 1 best solutions below
Related Questions in IBM-MIDRANGE
- How can i use Java to call an existing RPG screen program?
- SQL access to RPG OPM database files
- PHP rollback on IBMi db2 doesn't work
- DB2 Concatenate rows
- How to configure IBM i Netserver share so that a new IFS file has its ccsid attribute set to a specified ccsid different from Netserver ccsid
- pyodbc rowcount return in negative
- Using a custom comparator for std::map on IBM i-Series
- IBM i (as400) CIM and ethernet interfaces
- Hikari connections and active AS400 jobs
- Syntax error in odbc.ini
- Create a IBM i Java Toolkit RecordFormat from an IBM i File
- CL: Path name contains embedded nulls (CPD018A)
- AS/400 End User - run keystrokes automatically
- Get Column Description from iSeries v7r1 export to Excel or Access
- Deploy IBM Client Access V7r1 Silently
Related Questions in JDEDWARDS
- Loop in RPG for addition of repeated values
- JD Edwards Enterprise One 9.1 Biztalk Adapter
- Can you use the JD Edwards Update command to change a field that is also part of the WHERE clause?
- JD Edwards EnterpriseOne - Any way to include Branch Plant in processInventoryItem Business Service
- Value "ErrorSync_one" at "ansr_A" of type java.lang.String cannot be converted to JSONObject
- Need help understanding why this query is producing these results
- Java empty stack exception - JD Edwards BI Publisher subtemplate
- JDE BSFN error while calling from java servlet
- Whats is JD Edwards? How is used JD Edwards?
- Client is using WCF that wants to communicate with this JDE (JD Edward) Web service
- JDE XE to 9.2 Upgrade
- EASYProcess eCommerce website is timing out and no logs are being created
- SOAP Literal WSDL request JDEdwards
- JDE BSFN throwing error when called from java services
- To get data for the last 5 days when date is stored as int in julian format
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)
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?
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"