× 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.



FYI:

Buck is right on this, and to further extend the cycle and it's possibilities,
here's an logical explanation (hope so ;-)

C L9 Exsr FirstLevelL9
C L8 Exsr FirstLevelL8
C L7 Exsr FirstLevelL7
C L6 Exsr FirstLevelL6
C L5 Exsr FirstLevelL5
C L4 Exsr FirstLevelL4
C L3 Exsr FirstLevelL3
C L2 Exsr FirstLevelL2
C L1 Exsr FirstLevelL1
C Exsr DetailRecord
CL1 Exsr TotalL1
CL2 Exsr TotalL2
CL3 Exsr TotalL3
CL4 Exsr TotalL4
CL5 Exsr TotalL5
CL6 Exsr TotalL6
CL7 Exsr TotalL7
CL8 Exsr TotalL8
CL9 Exsr TotalL9

Well.... the L0.... sorry never understood that one - and never used it ;-)

Pls.... no flames about my age ;-)

Leif
----- Original Message -----
From: "Buck" <kc2hiz@xxxxxxxxx>
Newsgroups: midrange.rpg400-l
To: <rpg400-l@xxxxxxxxxxxx>
Sent: 27. august 2007 21:03
Subject: Re: Control Level Indicators (L1-L9)


Srinivas Boggula wrote:

Can any one please guide me what is the exact use of control level
indicators.

The control level indicators are set on when the field value changes.
Say your data is

ANDHRA PRADESH
ANDHRA PRADESH
ANDHRA PRADESH
UTTAR PRADESH
UTTAR PRADESH

And you have L1 on STATE, then you will see these indicators:

ANDHRA PRADESH 01 L1
ANDHRA PRADESH 01
ANDHRA PRADESH 01
UTTAR PRADESH 01 L1
UTTAR PRADESH 01

See that the L1 indicator only comes on when STATE changes? If you use
'higher' level indicators like L2 and L3, when the higher level changes,
it sets all the lower ones on too. So when the L3 field changes, L2 and
L1 also are set on.

Other things you need to understand include the difference between
'detail time' and 'total time.' They are all related to each other, and
you will need to understand them all. The good news is that many
thousands of RPG programmers learnt this stuff all by themselves, so you
can too.

You can find out about control breaks in any RPG textbook as well as the
IBM RPG manual, which you can see for free at
http://www.iseries.ibm.com/infocenter

--buck




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.