Level 77 in COBOL/400

5 pts.
Tags:
COBOL
COBOL/400
Level 77
what is the significance of level 77 in COBOL/400

Answer Wiki

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

In the current version of COBOL is none. In the older versions, the compiler handled 77 level as a single value and the “01″ as possible subdivided field.

__________________________________________________________

Level 01 and Level 77 items are aligned on word boundaries. But I seem to remember (way back when) that Level 77 items could not be stomped on by accident. And I think nowdays that point is moot.

////////////////////////////////

Level Number 77 in COBOL/400.

1. The Level number 77 cannot be subdivided into other items. This is considered to be an elementary item. Also, it must begin in AREA A.

2. Also, Level Number 77 is used for LIKE Clause. For LIKE Clause, we can specify the level number from 1-49 or 77.

Sample Code: 01 FIELD1 PIC X(5) VALUE IS ‘ABC’.
77 FIELD2 LIKE FIELD1 VALUE ‘BCD’.

Hope this helps.

Discuss This Question:  

 
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

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