× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I didn't write this {just maintain it}.  It is from an old {thankfully 
obsolete} RPG II statement program that did line counting.  

I once had to add in a customer message on the first page.  Sounds simple, 
doesn't it ... It wasn't.  It took over a week & dozens of tests.  

All indicators {including Lx Mx & Hx} were used & it used the "Cycle", "Primary 
File", "Secondary Files" and "Matching logic".

Here is a small sample of the "Output" specs.

O        E   12   85 63 50                           
 O                                   58 'AS AT'       
  *                                                   
 O        E   13   85 63 50                           
 O                         ZDES      67               
  *                                                   
 O        E   14   85 63 50                           
 O                         RNAM1     42               
 O                       57         108 'SCHEDULE D'  
 O                      N57         105 'D'           
 O                      N57ZNBPAGZ  108               
  *                                                   
 O        E   15   85 63 50                           
 O                         RNAM2     42               

\Vincent

 -----Original Message-----
From:   rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]  
On Behalf Of Booth Martin
Sent:   February 28, 2006 12:04 PM
To:     RPG programming on the AS400 / iSeries
Subject:        Re: worst RPG ever seen?

How would you do this, at that time and that place?  I am curious.

Phil Kestenbaum wrote:
> Vincent is the winner!
> 
> -----Original Message-----
> From: rpg400-l-bounces@xxxxxxxxxxxx
> [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Forbes, Vincent
> Sent: Tuesday, February 28, 2006 11:19 AM
> To: RPG programming on the AS400 / iSeries
> Subject: RE: worst RPG ever seen?
> 
> A small sample from some very old code.  Almost 7000 line like this.
> 
> C           WBOOK1    COMP 0                        54      
> C      54             GOTO I5122                            
>  *                                                          
> C           ZNBLIN    COMP 45                   40  40HEADER
> C   40                SETON                     78          
> C   40 56             SETON                     795257      
> C   40                EXSR OUTRPT                           
> C   40 59 56          Z-ADD21        ZNBLIN                 
> C   40 59N56          Z-ADD18        ZNBLIN                 
> C   40N59             Z-ADD20        ZNBLIN                 
> C   40                ADD  1         ZNBPAG                 
> C   40N56             SETOF                     58          
> 
> \Vincent
> 
>  -----Original Message-----
> From:         rpg400-l-bounces+vincent.forbes=cibc.com@xxxxxxxxxxxx
> [mailto:rpg400-l-bounces+vincent.forbes=cibc.com@xxxxxxxxxxxx]  On
> Behalf Of Bob.Voltz@xxxxxxxxxx
> Sent: February 28, 2006 11:11 AM
> To:   RPG programming on the AS400 / iSeries
> Subject:      Re: worst RPG ever seen?
> 
> 
> EXSR       XYZ
> .
> .
> .
> .
> XYZ   BEGSR
>             ENDSR
> 
> 
> 
> 


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.