AS400 coding

90 pts.
Tags:
AS/400
can anyone explain below coding for me in details? please...urgently...:(
IDDMAST        01
I                                          BREANCH       L3
I                                          CIFNO         L2
I                                          ACCTNO        L1
 
what does the L1,L2 and L3 mean for? 

Answer Wiki

Thanks. We'll let you know when a new response is added.

Those are input spec and they are using the old RPG II level breaks. This will cause new lines every time there is a change in the value for each level break.

Look for other code in the program referring to these level breaks for calcs like subtotals to be done. It should not be too hard to follow.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

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
  • gfprogrammer

    WOW this is OLD RPGII code.  The L1, L2, and L3 are called control breaks. They are defined in internal input specs. When a record is read and one of the fields is changed it turns on the L indicator.  There are 2 levels at this time.  1. The control which is used in position 7-8 on the C specs.  This is where you would do any subtotals ect.  2. The detail or record just read data.  The L indicatot is used just like any of the other indicators in the C specs.

    Note: When the data in ACCTNO field is changed L1 will turn on.

              When the data in CIFNO field is changed L1 and L2 will turn on.

               When the  data in BREANCH field is changed L1, L2m and L3 will turn on.

    250 pointsBadges:
    report
  • Splat
    You've already asked this question here.
    7,235 pointsBadges:
    report

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